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
|
# make initramfs
|
||||||
|
|
||||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||||
|
-a dmsquash-live -o squash-live \
|
||||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||||
--nomdadmconf --nolvmconf \
|
--nomdadmconf --nolvmconf \
|
||||||
/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
||||||
|
@ -3,10 +3,11 @@
|
|||||||
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${KERNEL_EXTRAVER}
|
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${KERNEL_EXTRAVER}
|
||||||
|
|
||||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
-a dmsquash-live -o squash-live \
|
||||||
--nomdadmconf --nolvmconf \
|
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||||
/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
--nomdadmconf --nolvmconf \
|
||||||
${KERNEL_MAJVER}${KERNEL_EXTRAVER}
|
/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
||||||
|
${KERNEL_MAJVER}${KERNEL_EXTRAVER}
|
||||||
|
|
||||||
# add buildinfo
|
# add buildinfo
|
||||||
buildinfo="`cat $MOUNTDIR/etc/openmamba-release` ${PLATFORM}"
|
buildinfo="`cat $MOUNTDIR/etc/openmamba-release` ${PLATFORM}"
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||||
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${K}
|
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${K}
|
||||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||||
|
-a dmsquash-live -o squash-live \
|
||||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||||
--nomdadmconf --nolvmconf \
|
--nomdadmconf --nolvmconf \
|
||||||
/boot/initramfs-${KERNEL_MAJVER}${K}.img.gz \
|
/boot/initramfs-${KERNEL_MAJVER}${K}.img.gz \
|
||||||
|
@ -6,10 +6,11 @@
|
|||||||
# make initramfs
|
# make initramfs
|
||||||
|
|
||||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
-a dmsquash-live -o squash-live \
|
||||||
--nomdadmconf --nolvmconf \
|
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||||
/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
--nomdadmconf --nolvmconf \
|
||||||
${KERNEL_MAJVER}${KERNEL_EXTRAVER}
|
/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
||||||
|
${KERNEL_MAJVER}${KERNEL_EXTRAVER}
|
||||||
|
|
||||||
# configure extlinux boot loader
|
# configure extlinux boot loader
|
||||||
cat > $MOUNTDIR/boot/extlinux.conf << _EOF
|
cat > $MOUNTDIR/boot/extlinux.conf << _EOF
|
||||||
|
@ -10,10 +10,11 @@
|
|||||||
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${KERNEL_EXTRAVER}
|
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${KERNEL_EXTRAVER}
|
||||||
|
|
||||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
-a dmsquash-live -o squash-live \
|
||||||
--nomdadmconf --nolvmconf \
|
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||||
/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
--nomdadmconf --nolvmconf \
|
||||||
${KERNEL_MAJVER}${KERNEL_EXTRAVER}
|
/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
||||||
|
${KERNEL_MAJVER}${KERNEL_EXTRAVER}
|
||||||
|
|
||||||
# Note: isolinux requires 8.3 filenames
|
# Note: isolinux requires 8.3 filenames
|
||||||
cp $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
cp $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img.gz \
|
||||||
|
@ -11,6 +11,7 @@ ISOID=
|
|||||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||||
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${K}
|
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${K}
|
||||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||||
|
-a dmsquash-live -o squash-live \
|
||||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||||
--nomdadmconf --nolvmconf \
|
--nomdadmconf --nolvmconf \
|
||||||
/boot/initramfs-${KERNEL_MAJVER}${K}.img.gz \
|
/boot/initramfs-${KERNEL_MAJVER}${K}.img.gz \
|
||||||
|
@ -11,6 +11,7 @@ ISOID=
|
|||||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||||
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${K}
|
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${K}
|
||||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||||
|
-a dmsquash-live -o squash-live \
|
||||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||||
--nomdadmconf --nolvmconf \
|
--nomdadmconf --nolvmconf \
|
||||||
/boot/initramfs-${KERNEL_MAJVER}${K}.img.gz \
|
/boot/initramfs-${KERNEL_MAJVER}${K}.img.gz \
|
||||||
|
@ -11,6 +11,7 @@ ISOID=
|
|||||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||||
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${K}
|
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}${K}
|
||||||
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
LANG=${LANGUAGE}_${COUNTRY} chroot $MOUNTDIR dracut \
|
||||||
|
-a dmsquash-live -o squash-live \
|
||||||
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
--filesystems "autofs4 ext3 ext4 overlay squashfs isofs reiserfs" \
|
||||||
--nomdadmconf --nolvmconf \
|
--nomdadmconf --nolvmconf \
|
||||||
/boot/initramfs-${KERNEL_MAJVER}${K}.img.gz \
|
/boot/initramfs-${KERNEL_MAJVER}${K}.img.gz \
|
||||||
|
Loading…
Reference in New Issue
Block a user