mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-24 12:01:59 +01:00
build_image: fix --factory output file name
BUG=chromium-os:19868
TEST=build_image --factory # see output as chromiumos_factory_image.bin
build_image --test # see output as chromiumos_test_image.bin
Change-Id: Ice1aa576cfe297db0900e6c42de8d362aa94729a
Reviewed-on: http://gerrit.chromium.org/gerrit/6993
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
This commit is contained in:
parent
2fe928ec7a
commit
f7f8cd871f
@ -238,7 +238,10 @@ if [ ${FLAGS_withdev} -eq ${FLAGS_TRUE} ]; then
|
||||
fi
|
||||
|
||||
# Create a test or factory test image if desired
|
||||
if [ ${FLAGS_test} -eq ${FLAGS_TRUE} ]; then
|
||||
if [ ${FLAGS_factory} -eq ${FLAGS_TRUE} ]; then
|
||||
copy_image "$DEVELOPER_IMG" "$FACTORY_IMG"
|
||||
mod_image_for_test "${FACTORY_IMG}"
|
||||
elif [ ${FLAGS_test} -eq ${FLAGS_TRUE} ]; then
|
||||
copy_image "$DEVELOPER_IMG" "$TEST_IMG"
|
||||
mod_image_for_test "${TEST_IMG}"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user