bundle_firmware: new coreboot-utils host package.
BUG=chrome-os-partner:5673
TEST=emerge-lumpy chromeos-bootimage should use the utilities in
/usr/bin
Change-Id: I91eab47d6fbfb619fd6ba3d3bd23d6a3ae57310b
Reviewed-on: http://gerrit.chromium.org/gerrit/7877
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: Stefan Reinauer <reinauer@google.com>
diff --git a/host/lib/bundle_firmware.py b/host/lib/bundle_firmware.py
index 15f1fb8..16656ef 100644
--- a/host/lib/bundle_firmware.py
+++ b/host/lib/bundle_firmware.py
@@ -348,7 +348,7 @@
CmdError if a command fails.
"""
bootstub = os.path.join(self._tools.outdir, 'coreboot-full.rom')
- cbfstool = os.path.join(os.path.dirname(coreboot), "cbfstool")
+ cbfstool = "/usr/bin/cbfstool"
uboot_elf = uboot.replace(".bin", ".elf")
shutil.copyfile(coreboot, bootstub)
self._tools.Run(cbfstool, [bootstub, 'add-payload', uboot_elf,