summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xappliance/make.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/appliance/make.sh.in b/appliance/make.sh.in
index 9aa1e68c..ab95da8e 100755
--- a/appliance/make.sh.in
+++ b/appliance/make.sh.in
@@ -41,6 +41,11 @@ if [ "@DIST@" = "REDHAT" ]; then
@FEBOOTSTRAP@ $packages -u @UPDATES@ @REPO@ initramfs @MIRROR@
+ # Create modules.dep. This is only used in the normal appliance
+ # (not supermin).
+ kversion=$(basename initramfs/lib/modules/*)
+ @FEBOOTSTRAP_RUN@ initramfs -- /sbin/depmod -a $kversion
+
# /sysroot is where the guest root filesystem will be mounted.
@FEBOOTSTRAP_RUN@ initramfs -- mkdir -p --mode=0777 /sysroot