mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-09 01:18:35 +03:00
parallel: Ensure we have some crucial subdirectories of /var
Also move sysroot creation up a step - each commit is kind of expensive at present.
This commit is contained in:
parent
f9303c3633
commit
95e7775c2d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user