mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
Force mod_image_for_test to run inside chroot if outside
Review URL: http://codereview.chromium.org/1818001
This commit is contained in:
parent
0e8b0a71c2
commit
c5e880f7db
@ -13,6 +13,11 @@
|
||||
# Load functions and constants for chromeos-install
|
||||
. "$(dirname "$0")/chromeos-common.sh"
|
||||
|
||||
if [ ${INSIDE_CHROOT} -eq 0 ] ; then
|
||||
"$(dirname "$0")/enter_chroot.sh" ./mod_image_for_test.sh "$@"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
get_default_board
|
||||
|
||||
DEFINE_string board "$DEFAULT_BOARD" "Board for which the image was built"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user