diff options
author | Daniel Drake <dsd@laptop.org> | 2012-09-29 15:52:07 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2012-09-29 15:52:07 (GMT) |
commit | 6ffef43c84f3216b42239fc3b3f72aa8c2bb6914 (patch) | |
tree | a33cc8df84a1230e2dc794a2ce19ddf827d6da75 /modules/base/kspost.05.mount_shared.nochroot.sh | |
parent | e41aaec60d874cbd32ab4a4f39891ae4c18b37b7 (diff) |
Create build_shared directory early
Promote the shared directory to a core directory and create it early,
meaning that it can be used from all stages, including prepare.
Diffstat (limited to 'modules/base/kspost.05.mount_shared.nochroot.sh')
-rw-r--r-- | modules/base/kspost.05.mount_shared.nochroot.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/base/kspost.05.mount_shared.nochroot.sh b/modules/base/kspost.05.mount_shared.nochroot.sh index cad30f4..012b86e 100644 --- a/modules/base/kspost.05.mount_shared.nochroot.sh +++ b/modules/base/kspost.05.mount_shared.nochroot.sh @@ -3,9 +3,7 @@ . $OOB__shlib -# create a "shared" intermediates directory which is also available at -# /build_shared from inside the image -mkdir -p $intermediatesdir/shared +# share the intermediates/shared directory at /build_shared inside the +# image build environment. echo "mkdir -p \$INSTALL_ROOT/build_shared" -echo "mount --bind $intermediatesdir/shared \$INSTALL_ROOT/build_shared" - +echo "mount --bind $shareddir \$INSTALL_ROOT/build_shared" |