diff options
Diffstat (limited to 'app-misc/livecd-tools/files/livecd-tools-1.0.35-umounts.patch')
-rw-r--r-- | app-misc/livecd-tools/files/livecd-tools-1.0.35-umounts.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-misc/livecd-tools/files/livecd-tools-1.0.35-umounts.patch b/app-misc/livecd-tools/files/livecd-tools-1.0.35-umounts.patch new file mode 100644 index 000000000000..efd779918d04 --- /dev/null +++ b/app-misc/livecd-tools/files/livecd-tools-1.0.35-umounts.patch @@ -0,0 +1,20 @@ +Index: livecd-functions.sh +=================================================================== +--- livecd-functions.sh (revision 126) ++++ livecd-functions.sh (working copy) +@@ -497,11 +497,13 @@ + case "${x}" in + cdroot) + CDBOOT="yes" +- export CDBOOT ++ RC_NO_UMOUNTS="^(/|/dev|/dev/pts|/lib/rcscripts/init.d|/proc|/proc/.*|/sys|/mnt/livecd|/newroot)$" ++ export CDBOOT RC_NO_UMOUNTS + ;; + cdroot\=*) + CDBOOT="yes" +- export CDBOOT ++ RC_NO_UMOUNTS="^(/|/dev|/dev/pts|/lib/rcscripts/init.d|/proc|/proc/.*|/sys|/mnt/livecd|/newroot)$" ++ export CDBOOT RC_NO_UMOUNTS + ;; + console\=*) + local live_console |