summaryrefslogtreecommitdiffstats
path: root/images/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-09 10:45:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-09 10:45:56 +0000
commitb4222fa105800fd7ad0c75d92fbe00c558f2cee3 (patch)
treea84c435d2389a8b3e34f6e62d8a5d6d23219e9e1 /images/Makefile
parent5250450dd9f863938bd6d7bc0643099e796d138b (diff)
downloaddrakx-backup-do-not-use-b4222fa105800fd7ad0c75d92fbe00c558f2cee3.tar
drakx-backup-do-not-use-b4222fa105800fd7ad0c75d92fbe00c558f2cee3.tar.gz
drakx-backup-do-not-use-b4222fa105800fd7ad0c75d92fbe00c558f2cee3.tar.bz2
drakx-backup-do-not-use-b4222fa105800fd7ad0c75d92fbe00c558f2cee3.tar.xz
drakx-backup-do-not-use-b4222fa105800fd7ad0c75d92fbe00c558f2cee3.zip
- update_kernel: now require install rpms or rpm files as arguments
(this allow specifying precisely which installed kernels are used) nb: - RPMS/ is not used anymore, pkgs given an command line are installed directly in all.kernels/ - RPMS/.main is replaced by all.kernels/.list which keeps the ordering of kernels given to update_kernel
Diffstat (limited to 'images/Makefile')
-rw-r--r--images/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/images/Makefile b/images/Makefile
index 0bd56c910..668a0c58f 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -2,6 +2,7 @@ include ../Makefile.config
VERSION=1.13
PRODUCT=drakx-installer-images
+KERNELS=$(shell rpm -qf /lib/modules/2.*)
IMAGES_DEST = $(ROOTDEST)/install/images
@@ -16,7 +17,7 @@ images: all.kernels
cd images ; md5sum *.{img,iso}* > MD5SUM
all.kernels: update_kernel ../kernel/list_modules.pm
- ./update_kernel
+ ./update_kernel $(KERNELS)
tar:
rm -rf $(PRODUCT)*.tar* $(PRODUCT)-$(VERSION)