X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=make-initramfs.sh.in;h=aa61811cdd2e7a2f6ff1b5bb86e50b7df38a8d82;hp=c739b65cdfdc3998f4af2dd4f20e4db8bdc0eb9a;hb=9c16028a2317a4e1ae5b0831a8a71c98c86852ae;hpb=bf19b4f0c4b0894924c1c69f3b87504f07c4404d diff --git a/make-initramfs.sh.in b/make-initramfs.sh.in index c739b65..aa61811 100755 --- a/make-initramfs.sh.in +++ b/make-initramfs.sh.in @@ -81,8 +81,10 @@ rm -f $koutput -a ! -name 'virtio_pci.ko' \ -a ! -name 'virtio_ring.ko' \ -a ! -name 'ext2.ko' \ - -a ! -name 'ext4.ko' \ + -a ! -name 'ext3.ko' \ + -a ! -name 'ext4*.ko' \ -a ! -name 'crc16.ko' \ + -a ! -name 'jbd.ko' \ -a ! -name 'jbd2.ko' \ -a ! -name 'fuse.ko' \ -a ! -name 'vfat.ko' \ @@ -144,6 +146,10 @@ __EOF__ @FEBOOTSTRAP_INSTALL@ initramfs init.new /init 0755 root.root rm init.new +# Just in case the kernel isn't looking for /init, make /sbin/init +# be our script, not the real init. +#@FEBOOTSTRAP_RUN@ initramfs -- ln -f /init /sbin/init + # Copy the daemon into the filesystem. @FEBOOTSTRAP_INSTALL@ initramfs @abs_builddir@/daemon/guestfsd /sbin/guestfsd 0755 root.root