[SCM] live-boot branch, tmp-persistent-custom, updated. debian/3.0_a25-1-54-g57bedcf

Tails developers amnesia at boum.org
Fri Mar 23 12:09:08 UTC 2012


The following commit has been merged in the tmp-persistent-custom branch:
commit d44bef1c65eb14d28e7aaaa74174793e1fc122de
Author: Tails developers <amnesia at boum.org>
Date:   Thu Mar 22 19:44:24 2012 +0100

    Also create parents when creating union/linkfiles source directories.
    
    Otherwise the it breaks with "source=a/b" if "a" doesn't exist etc.

diff --git a/scripts/live-helpers b/scripts/live-helpers
index 0ab36b9..13a8cec 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -1436,7 +1436,7 @@ activate_custom_mounts ()
 			then
 				# unions and don't need to be bootstrapped
 				# linkfiles dirs can't be bootstrapped in a sensible way
-				mkdir "${source}"
+				mkdir -p "${source}"
 				chown --reference "${dest}" "${source}"
 				chmod --reference "${dest}" "${source}"
 			else

-- 
live-boot



More information about the debian-live-changes mailing list