Use dracut module dmsquash-live instead of squash-live
This commit is contained in:
parent
604bd38bff
commit
0a029f67a7
@ -10,6 +10,7 @@ chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${KERNEL_EXTRAVER}
|
||||
# make initramfs
|
||||
|
||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||
-a dmsquash-live -o squash-live \
|
||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||
--nomdadmconf --nolvmconf \
|
||||
/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
||||
|
@ -3,6 +3,7 @@
|
||||
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${KERNEL_EXTRAVER}
|
||||
|
||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||
-a dmsquash-live -o squash-live \
|
||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||
--nomdadmconf --nolvmconf \
|
||||
/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
||||
|
@ -2,6 +2,7 @@
|
||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${K}
|
||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||
-a dmsquash-live -o squash-live \
|
||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||
--nomdadmconf --nolvmconf \
|
||||
/boot/initramfs-${KERNEL_MAJVER}${K}.img.gz \
|
||||
|
@ -6,6 +6,7 @@
|
||||
# make initramfs
|
||||
|
||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||
-a dmsquash-live -o squash-live \
|
||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||
--nomdadmconf --nolvmconf \
|
||||
/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
||||
|
@ -10,6 +10,7 @@
|
||||
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${KERNEL_EXTRAVER}
|
||||
|
||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||
-a dmsquash-live -o squash-live \
|
||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||
--nomdadmconf --nolvmconf \
|
||||
/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
||||
|
@ -11,6 +11,7 @@ ISOID=
|
||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${K}
|
||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||
-a dmsquash-live -o squash-live \
|
||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||
--nomdadmconf --nolvmconf \
|
||||
/boot/initramfs-${KERNEL_MAJVER}${K}.img.gz \
|
||||
|
@ -11,6 +11,7 @@ ISOID=
|
||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${K}
|
||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||
-a dmsquash-live -o squash-live \
|
||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||
--nomdadmconf --nolvmconf \
|
||||
/boot/initramfs-${KERNEL_MAJVER}${K}.img.gz \
|
||||
|
@ -11,6 +11,7 @@ ISOID=
|
||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${K}
|
||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||
-a dmsquash-live -o squash-live \
|
||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||
--nomdadmconf --nolvmconf \
|
||||
/boot/initramfs-${KERNEL_MAJVER}${K}.img.gz \
|
||||
|
Loading…
Reference in New Issue
Block a user