mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
Ensure user has a chromium checkout before running chrome_set_ver.
Since the chrome sources have been removed from the default manifest, leaving only a remnant inside chromium/src, we need to verify that they actually have the chromium/src.git project checked out. BUG=None TEST=Local Change-Id: I09f871034bb0d2664485a5ca6429204ebee67a19 Reviewed-on: https://gerrit.chromium.org/gerrit/33646 Reviewed-by: Zdenek Behan <zbehan@chromium.org> Reviewed-by: Jon Kliegman <kliegs@chromium.org> Commit-Ready: Ryan Cui <rcui@chromium.org> Tested-by: Ryan Cui <rcui@chromium.org>
This commit is contained in:
parent
2f9a82df4c
commit
e49d487245
@ -296,8 +296,9 @@ chrome_to_live () {
|
||||
# Switch to using repo manifest checkout of chromium src.
|
||||
# Run chrome_set_ver to set DEPS
|
||||
|
||||
# No chromium directory checked out in this repo; probably a minilayout.
|
||||
if [ ! -d "${CHROOT_TRUNK_DIR}/chromium" ]; then
|
||||
# No chromium/src.git project checked out, meaning user not using
|
||||
# gerrit_source.xml
|
||||
if [ ! -d "${CHROOT_TRUNK_DIR}/chromium/src/.git" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user