X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=appliance%2Fmake.sh.in;h=ab95da8edbf8f8ab60410d5a87c73d937897bd7a;hb=a84f1360499309e2d2ecb661adc6917539b5eef4;hp=9aa1e68c907b2c56e7c1eae60eb4cf0e9d81a7ef;hpb=aca024e9766268e6a09a8aeedee562d10910ca6d;p=libguestfs.git diff --git a/appliance/make.sh.in b/appliance/make.sh.in index 9aa1e68..ab95da8 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