Construct Rainbow's spool dir if it doesn't exist - #5033

Michael Stone michael at laptop.org
Wed Jan 2 18:40:09 EST 2008


---
 olpc-configure |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/olpc-configure b/olpc-configure
index 342be4d..1f68cf0 100755
--- a/olpc-configure
+++ b/olpc-configure
@@ -180,6 +180,10 @@ __EOF__
 
 	if [ -x /usr/sbin/rainbow-replay-spool ]; then
 		echo "olpc-configure: replaying rainbow spool..."
+		for dir in uid_pool gid_pool bundle_id_to_gid gid_to_data_dir uid_to_instance_dir uid_to_home_dir; do
+			mkdir -p "/security/1/$dir"
+			chmod 755 "/security/1/$dir"
+		done
 		/usr/sbin/rainbow-replay-spool
 	fi
 }
-- 
1.5.3.3




More information about the Devel mailing list