X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fpatches%2F12_uuid_support.patch;h=67f05c471552f119088b648a934e00e1549e9306;hb=b484d6d03914c83c25feaca343d3d651a389d7f6;hp=34cee3d3630deecab35ebe60e34e5bee9d6c7ac0;hpb=8cd0e7a9e961e73abe47b0d5c11d3c3a9cbdf802;p=live-boot-grml.git diff --git a/debian/patches/12_uuid_support.patch b/debian/patches/12_uuid_support.patch index 34cee3d..67f05c4 100644 --- a/debian/patches/12_uuid_support.patch +++ b/debian/patches/12_uuid_support.patch @@ -12,33 +12,9 @@ ## DP: * no bootid.txt + ignore_bootid=... => boots @DPATCH@ ---- a/scripts/live -+++ b/scripts/live -@@ -63,6 +63,11 @@ - export ACCESS - ;; - -+ bootid=*) -+ BOOTID="${ARGUMENT#bootid=}" -+ export BOOTID -+ ;; -+ - console=*) - DEFCONSOLE="${ARGUMENT#*=}" - export DEFCONSOLE -@@ -144,6 +149,11 @@ - export FROMISO - ;; - -+ ignore_bootid) -+ IGNORE_BOOTID="Yes" -+ export IGNORE_BOOTID -+ ;; -+ - ignore_uuid) - IGNORE_UUID="Yes" - export IGNORE_UUID -@@ -410,6 +420,42 @@ +--- a/scripts/boot/9990-misc-helpers.sh ++++ b/scripts/boot/9990-misc-helpers.sh +@@ -52,6 +52,42 @@ return 1 } @@ -81,7 +57,7 @@ matches_uuid () { if [ "${IGNORE_UUID}" ] || [ ! -e /conf/uuid.conf ] -@@ -1655,7 +1701,7 @@ +@@ -1350,7 +1386,7 @@ fi if is_live_path ${mountpoint} && \ @@ -90,7 +66,7 @@ then echo ${mountpoint} return 0 -@@ -1769,19 +1815,6 @@ +@@ -1446,19 +1482,6 @@ return 0 fi done @@ -110,3 +86,29 @@ fi done +--- a/scripts/boot/9990-cmdline-old ++++ b/scripts/boot/9990-cmdline-old +@@ -18,6 +18,11 @@ + BOOTIF="${x#BOOTIF=}" + ;; + ++ bootid=*) ++ BOOTID="${_PARAMETER#bootid=}" ++ export BOOTID ++ ;; ++ + dhcp) + # Force dhcp even while netbooting + # Use for debugging in case somebody works on fixing dhclient +@@ -79,6 +84,11 @@ + export FROMISO + ;; + ++ ignore_bootid) ++ IGNORE_BOOTID="Yes" ++ export IGNORE_BOOTID ++ ;; ++ + ignore_uuid) + IGNORE_UUID="true" + export IGNORE_UUID