Misc tweaks to the generated initramfs in the live image.
This commit is contained in:
parent
7601096f1a
commit
2517265510
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user