]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
chore(dmsquash-live): remove support for ext3fs.img
authorJo Zzsi <jozzsicsataban@gmail.com>
Sun, 8 Feb 2026 03:02:02 +0000 (22:02 -0500)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sun, 8 Feb 2026 13:28:56 +0000 (08:28 -0500)
All dracut based live iso's use either squashfs.img (compressed live)
or rootfs.img (uncompressed live).

Remove support for ext3fs.img.

Follow-up to fe17f4e (from 2011) .

modules.d/70dmsquash-live/dmsquash-live-root.sh

index 7730ffe23a304ea884900937f56c6fc981fd3d45..afbdc1393ef1ac165eefe80d45f176f51a4d0ef2 100755 (executable)
@@ -342,8 +342,6 @@ if [ -e "$SQUASHED" ]; then
     if [ -d /run/initramfs/squashfs/LiveOS ]; then
         if [ -f /run/initramfs/squashfs/LiveOS/rootfs.img ]; then
             FSIMG="/run/initramfs/squashfs/LiveOS/rootfs.img"
-        elif [ -f /run/initramfs/squashfs/LiveOS/ext3fs.img ]; then
-            FSIMG="/run/initramfs/squashfs/LiveOS/ext3fs.img"
         fi
     elif [ -d /run/initramfs/squashfs/usr ] || [ -d /run/initramfs/squashfs/ostree ]; then
         FSIMG=$SQUASHED
@@ -359,8 +357,6 @@ else
     # we might have an embedded fs image to use as rootfs (uncompressed live)
     if [ -e "/run/initramfs/live/${live_dir}/rootfs.img" ]; then
         FSIMG="/run/initramfs/live/${live_dir}/rootfs.img"
-    elif [ -e "/run/initramfs/live/${live_dir}/ext3fs.img" ]; then
-        FSIMG="/run/initramfs/live/${live_dir}/ext3fs.img"
     fi
     if [ -n "$live_ram" ]; then
         echo 'Copying live image to RAM...' > /dev/kmsg