cros_workon_make: Do not fail on first run.
cros_workon_make just after emerge (or build_packages) will cause an error:
sed: can't read /build/volteer/tmp/portage/chromeos-base/debugd-9999/temp/environment: No such file or directory
Skip patching the environment file when it doesn't exist.
TEST=FEATURES="test" emerge-volteer debugd && \
cros_workon_make --test --board=volteer debugd
# says WARN: Forcing reinitialization for the first time
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
Commit-Queue: Junichi Uekawa <email@example.com>
Tested-by: Junichi Uekawa <firstname.lastname@example.org>
1 file changed