From c879294087d1f55b5992ff194bae9d0ded78c31a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 22 Nov 2004 14:15:24 +0000 Subject: - no more kernel/all.modules, things are in kernel/all.kernels - cleanup what we keep in kernel/all.kernels: only vmlinuz, modules.dep, *.mar, all_modules.tar, modules.cz - replace all_modules.list + modules with all_modules.tar - kernel/all.modules/modules.cz-VERSION are now in kernel/all.kernels/VERSION/modules.cz - allow having a normal in isolinux, but don't use it for floppy images (for this, add kernel/all.kernels/.main-BOOT) - add many modules kernel/list_modules.pm in unused categories since we don't take all modules from kernel, only those listed (needed to have a not too big modules.cz for normal kernel) - complete rewrite of update_kernel (now written in perl) --- perl-install/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'perl-install/Makefile') diff --git a/perl-install/Makefile b/perl-install/Makefile index 3937dde90..d5a9b8402 100644 --- a/perl-install/Makefile +++ b/perl-install/Makefile @@ -197,8 +197,9 @@ endif clean-rpmsrate $(MEDIA_INFO_DEST)/rpmsrate $(MAIN_RPMS_DIR) - cp -f ../kernel/{modules.description,all.modules/modules.cz*} $(DEST)/lib/ - ls $(DEST)/lib | sed -n 's/modules.cz-//p' > $(STAGE2_DEST)/mdkinst.kernels + cp -f ../kernel/modules.description $(DEST)/lib/ + for i in `ls ../kernel/all.kernels`; do cp -f ../kernel/all.kernels/$$i/modules.cz $(DEST)/lib/modules.cz-$$i; done + ls ../kernel/all.kernels | grep '^2' > $(STAGE2_DEST)/mdkinst.kernels $(MAKE) -C share/po install SUDO= NAME=libDrakX LOCALEDIR=$(DEST)/usr/share/locale_special @@ -207,7 +208,7 @@ endif ifeq (y,$(USE_PCMCIA)) cp -a /etc/pcmcia $(DEST)/etc - ../tools/patch_pcmcia_config.pl $(DEST)/etc/pcmcia/config ../kernel/all.modules/`cat ../kernel/all.kernels/.main`/modules.dep + ../tools/patch_pcmcia_config.pl $(DEST)/etc/pcmcia/config ../kernel/all.kernels/`cat ../kernel/all.kernels/.main`/modules.dep endif cp -f $(STAGE1)/init-stage2 $(DEST)/usr/bin/init -- cgit v1.2.1