[SCM] Debian Live initramfs hook branch, master, updated. 1.156.1-1-2-g5a1813b
Daniel Baumann
daniel at debian.org
Tue Feb 24 13:36:35 UTC 2009
The following commit has been merged in the master branch:
commit 5a1813b05e363398ae287056b0e19ca44cf11d87
Author: Rene Mayrhofer <rene at mayrhofer.eu.org>
Date: Tue Feb 24 14:32:12 2009 +0100
Checking if /var/log is writable before trying to copy live.log to the newly mounted root filesystem (Closes: #516914).
When using the "exposedroot skipunion" options, then /var/log may not be writable at this time, resulting in an error message during bootup.
diff --git a/scripts/live b/scripts/live
index df104ef..933eb00 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1585,5 +1585,5 @@ mountroot ()
exec 1>&6 6>&-
exec 2>&7 7>&-
kill ${tailpid}
- cp live.log "${rootmnt}/var/log/"
+ [ -w "${rootmnt}/var/log/" ] && cp live.log "${rootmnt}/var/log/" 2>/dev/null
}
--
Debian Live initramfs hook
More information about the debian-live-changes
mailing list