mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-11 21:52:07 +01:00
Use delta_generator from chroot instead of from update_engine directory.
BUG=chromium-os:8185
TEST=Verify delta_generator is in path after emerging hard-host-depends.
Generate image using delta_generator from chroot.
Change-Id: I03f6260960f472d4ebfc8305945da3cbfc67ff6e
Review URL: http://codereview.chromium.org/4170003
This commit is contained in:
parent
af35e5c5f0
commit
db37501dbd
@ -168,8 +168,8 @@ if [ "$DELTA" -eq "$FLAGS_TRUE" -o "$FLAGS_old_style" -eq "$FLAGS_FALSE" ]; then
|
||||
echo "Generating a delta update"
|
||||
|
||||
# Sanity check that the real generator exists:
|
||||
GENERATOR="$(dirname "$0")/../platform/update_engine/delta_generator"
|
||||
[ -x "$GENERATOR" ] || die "$GENERATOR doesn't exist, or isn't executable"
|
||||
GENERATOR="$(which delta_generator)"
|
||||
[ -x "$GENERATOR" ] || die "can't find delta_generator"
|
||||
|
||||
trap cleanup INT TERM EXIT
|
||||
if [ "$DELTA" -eq "$FLAGS_TRUE" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user