summaryrefslogtreecommitdiffstats
path: root/images/Makefile
diff options
context:
space:
mode:
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)