mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-11 05:31:39 +01:00
Do not delete src_image if --notest_mod is set.
TEST=From an already built image dir, ran archive_build with --notest_mod set and verified the image had chromiumos_base_image.bin and chromiumos_image.bin. Review URL: http://codereview.chromium.org/2111015
This commit is contained in:
parent
5fa0950681
commit
bfabd932e9
@ -149,8 +149,10 @@ then
|
|||||||
"--factory_install"
|
"--factory_install"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove the developer build.
|
# Remove the developer build if test image is also built.
|
||||||
rm -f ${SRC_IMAGE}
|
if [ $FLAGS_test_mod -eq $FLAGS_TRUE ] ; then
|
||||||
|
rm -f ${SRC_IMAGE}
|
||||||
|
fi
|
||||||
|
|
||||||
# Zip the build
|
# Zip the build
|
||||||
echo "Compressing and archiving build..."
|
echo "Compressing and archiving build..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user