hack(make_chroot): hack to get scripts working

einfo and friends are needed and chrome scripts expect them to be in /etc/init.d/functions.sh

Change-Id: I3ca36892d73cdbb80d9a843e863ab5063f24eeb4
This commit is contained in:
Brandon Philips 2013-02-07 19:09:34 -08:00
parent 69e94f001e
commit 67488b3986

View File

@ -505,6 +505,9 @@ fi
# As a final pass, build all desired cross-toolchains. # As a final pass, build all desired cross-toolchains.
info "Updating toolchains" info "Updating toolchains"
# TODO: Hack! Link in functions.sh
enter_chroot sudo cp /lib64/rc/sh/functions.sh /etc/init.d/functions.sh
enter_chroot sudo -E "${CHROOT_TRUNK_DIR}/chromite/bin/cros_setup_toolchains" \ enter_chroot sudo -E "${CHROOT_TRUNK_DIR}/chromite/bin/cros_setup_toolchains" \
"${TOOLCHAIN_ARGS[@]}" "${TOOLCHAIN_ARGS[@]}"