X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fpatches%2F39_persistence_with_forensic.patch;fp=debian%2Fpatches%2F39_persistence_with_forensic.patch;h=0000000000000000000000000000000000000000;hb=26c670d1211c57b5b9c0317a7506f4f25765b238;hp=e83ccb299e02dca32fd504909030547ed130d29c;hpb=14f658f90367f29d20e4fed7ad3a228994057e58;p=live-boot-grml.git diff --git a/debian/patches/39_persistence_with_forensic.patch b/debian/patches/39_persistence_with_forensic.patch deleted file mode 100644 index e83ccb2..0000000 --- a/debian/patches/39_persistence_with_forensic.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/components/0020-read-only -+++ b/components/0020-read-only -@@ -53,4 +53,20 @@ - ;; - esac - done -+ -+ if grep -qe persistence /proc/cmdline -+ then -+ printf " * Persistence mode enabled, searching for persistency related devices to unlock\n" >/dev/console -+ -+ for label in custom-ov home-rw home-sn live-rw live-sn persistence -+ do -+ if blkid -t LABEL="$label" | grep -q '.' -+ then -+ device=$(blkid -t LABEL="$label" | awk -F: '{print $1}') -+ printf " - Setting device %-9s with label '%s' to write mode for persistence mode: " "$device" "$label" >/dev/console -+ blockdev --setrw $device && printf "done\n" >/dev/console || printf "failed\n" >/dev/console -+ fi -+ done -+ fi -+ - }