Merge branch 'debian': Imported 3.0~b6-1 from Debian Live
[live-boot-grml.git] / debian / patches / 38_do_not_check_for_forensic_in_readonly_mode.patch
1 Description: readonly: do not check for "forensic" boot option
2
3 Author: Michael Prokop <mika@grml.org>
4
5 We use the "readonly" boot option in the forensic boot menu entry,
6 so nothing will change from user's PoV.
7
8 The "forensic" string might match in a different context though
9 and the "readonly" boot option was removed by intention to not
10 block write access to the devices.
11
12 --- live-boot-3.0~a27.orig/scripts/live-premount/readonly
13 +++ live-boot-3.0~a27/scripts/live-premount/readonly
14 @@ -22,7 +22,7 @@ esac
15  
16  # make sure all harddisk devices are read-only
17  # this is important for forensic investigations
18 -if grep -qe forensic -qe readonly /proc/cmdline
19 +if grep -qe readonly /proc/cmdline
20  then
21         for device in /dev/hd* /dev/sd* /dev/vd*
22         do