[ostree] parallel: Ensure we have some crucial subdirectories of /var



commit 95e7775c2dda6ec880e0b82eca10e2841f88c227
Author: Colin Walters <walters verbum org>
Date:   Thu Nov 10 08:32:55 2011 -0500

    parallel: Ensure we have some crucial subdirectories of /var
    
    Also move sysroot creation up a step - each commit is kind of
    expensive at present.

 parallel-debian/gnomeos-make-image.sh |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/parallel-debian/gnomeos-make-image.sh b/parallel-debian/gnomeos-make-image.sh
index 101734f..a307349 100755
--- a/parallel-debian/gnomeos-make-image.sh
+++ b/parallel-debian/gnomeos-make-image.sh
@@ -104,7 +104,7 @@ if ! test -d ${OBJ}; then
 
     mkdir ostree
 
-    mkdir -m 0755 ostree/var
+    mkdir -p -m 0755 ostree/var/{log,run}
 
     mkdir ostree/repo
 
@@ -114,7 +114,7 @@ if ! test -d ${OBJ}; then
 
     mkdir ostree/worktree
     cd ostree/worktree
-    mkdir -m 0755 $INITRD_MOVE_MOUNTS $TOPROOT_BIND_MOUNTS $OSTREE_BIND_MOUNTS $READONLY_BIND_MOUNTS $MOVE_MOUNTS
+    mkdir -m 0755 $INITRD_MOVE_MOUNTS $TOPROOT_BIND_MOUNTS $OSTREE_BIND_MOUNTS $READONLY_BIND_MOUNTS $MOVE_MOUNTS sysroot
     chmod a=rwxt tmp
     $OSTREE --repo=../repo commit -b gnomeos-filesystem -s "Base filesystem layout"
     BRANCHES="$BRANCHES gnomeos-filesystem"
@@ -168,10 +168,6 @@ if ! test -d ${OBJ}; then
     rm worktree/debian-setup.sh
     cd worktree;
     $OSTREE --repo=../repo commit -b gnomeos -s "Run debian-setup.sh"
-    
-    # This is the name for the real rootfs, not the chroot
-    mkdir sysroot;
-    $OSTREE --repo=../repo commit -b gnomeos -s "Add sysroot"
     cd ..
     rm -rf worktree
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]