Misc tweaks to the generated initramfs in the live image.

This commit is contained in:
Juan RP 2013-05-19 12:38:26 +02:00
parent 7601096f1a
commit 2517265510

View File

@ -151,9 +151,8 @@ generate_initramfs() {
$XBPS_INSTALL_CMD -r $ROOTFS/kernel_temp -y \ $XBPS_INSTALL_CMD -r $ROOTFS/kernel_temp -y \
base-system void-mklive >>$LOGFILE 2>&1 base-system void-mklive >>$LOGFILE 2>&1
chroot $ROOTFS/kernel_temp /usr/bin/dracut --no-hostonly \ chroot $ROOTFS/kernel_temp /usr/bin/dracut --no-hostonly --${COMPRESSTYPE} \
--add "drm dmsquash-live vmklive" --omit "caps" \ --add "drm dmsquash-live vmklive" --omit "btrfs resume caps" \
--add-drivers "xfs vfat ext2 ext3 ext4 btrfs" --${COMPRESSTYPE} \
"/boot/initrd.lz" $KERNELVERSION >>$LOGFILE 2>&1 "/boot/initrd.lz" $KERNELVERSION >>$LOGFILE 2>&1
mv $ROOTFS/kernel_temp/boot/initrd.lz $BOOT_DIR mv $ROOTFS/kernel_temp/boot/initrd.lz $BOOT_DIR