From: Laszlo Gombos Date: Sun, 1 Jan 2023 03:39:17 +0000 (+0000) Subject: fix(dmsquash-live): live:/dev/* X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93339444361303c15e26b6ff5cea6ef99ad0b3e0;p=thirdparty%2Fdracut.git fix(dmsquash-live): live:/dev/* fix a bug introduced in 71cfa2e22 make sure root is set correctly for both of the following cases - "root=live:/dev/*" - "rd.live.image root=/dev/*" --- diff --git a/modules.d/90dmsquash-live/parse-dmsquash-live.sh b/modules.d/90dmsquash-live/parse-dmsquash-live.sh index 1a316a225..de910b31d 100755 --- a/modules.d/90dmsquash-live/parse-dmsquash-live.sh +++ b/modules.d/90dmsquash-live/parse-dmsquash-live.sh @@ -34,6 +34,7 @@ case "$liveroot" in rootok=1 ;; live:/dev/*) + root="live:${root#live:}" rootok=1 ;; live:/*.[Ii][Mm][Gg] | /*.[Ii][Mm][Gg])