mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 04:56:58 +02:00
Use rbind for ChromeOS source directory
I use a mount at src/build/images to stop image builds from repeatedly filling up my SSD. The chroot needs to respect this. TEST=cros_sdk BUG=none Change-Id: I5c7a26c3b4f263bd683d3a897e6edccb83187bda Reviewed-on: https://gerrit.chromium.org/gerrit/47178 Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Michael Spang <spang@chromium.org> Tested-by: Michael Spang <spang@chromium.org>
This commit is contained in:
parent
0c0fea7b4d
commit
a7627f70d9
@ -221,7 +221,7 @@ setup_env() {
|
||||
fi
|
||||
fi
|
||||
|
||||
setup_mount "${FLAGS_trunk}" "--bind" "${CHROOT_TRUNK_DIR}"
|
||||
setup_mount "${FLAGS_trunk}" "--rbind" "${CHROOT_TRUNK_DIR}"
|
||||
|
||||
debug "Setting up referenced repositories if required."
|
||||
REFERENCE_DIR=$(git config --file \
|
||||
|
Loading…
Reference in New Issue
Block a user