[SCM] live-boot branch, debian-next, updated. debian/3.0_a33-1-8-g9cec19c

Ben Armstrong synrg at debian.org
Wed Jun 27 10:35:23 UTC 2012


The following commit has been merged in the debian-next branch:
commit 9cec19c534cc2876c9bb2ed0eb990eb5a7bd1c9f
Author: Ben Armstrong <synrg at debian.org>
Date:   Wed Jun 27 07:23:04 2012 -0300

    Fix creation of /var/log/live in correct location.

diff --git a/scripts/boot/mountroot.sh b/scripts/boot/mountroot.sh
index 5383747..69f6f0a 100755
--- a/scripts/boot/mountroot.sh
+++ b/scripts/boot/mountroot.sh
@@ -217,5 +217,5 @@ mountroot ()
 	exec 1>&6 6>&-
 	exec 2>&7 7>&-
 	kill ${tailpid}
-	[ -w "${rootmnt}/var/log/" ] && mkdir -p /var/log/live && cp boot.log "${rootmnt}/var/log/live" 2>/dev/null
+	[ -w "${rootmnt}/var/log/" ] && mkdir -p "${rootmnt}/var/log/live" && cp boot.log "${rootmnt}/var/log/live" 2>/dev/null
 }

-- 
live-boot



More information about the debian-live-changes mailing list