From 67488b39862b3a1ce39e7954c16d339647b339b3 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Thu, 7 Feb 2013 19:09:34 -0800 Subject: [PATCH] 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 --- sdk_lib/make_chroot.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk_lib/make_chroot.sh b/sdk_lib/make_chroot.sh index 31c84be8d1..ba4430c424 100755 --- a/sdk_lib/make_chroot.sh +++ b/sdk_lib/make_chroot.sh @@ -505,6 +505,9 @@ fi # As a final pass, build all desired cross-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" \ "${TOOLCHAIN_ARGS[@]}"