From 40cca8751ef85c50131cc6bb263ce1f32f7ee4d5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 18 Apr 2013 18:37:47 -0400 Subject: [PATCH] cros-setup-chroot: add sbin to PATH --- .bin/cros-setup-chroot | 1 + 1 file changed, 1 insertion(+) diff --git a/.bin/cros-setup-chroot b/.bin/cros-setup-chroot index a5563cf..ba5cbcd 100755 --- a/.bin/cros-setup-chroot +++ b/.bin/cros-setup-chroot @@ -21,6 +21,7 @@ sed -e '1{/PS1=/d}' ${chr}/etc/profile.d/chromiumos-niceties.sh 2>/dev/null || \ echo 'PS1="(cr) ${PS1}"' ) > ${chome}/.ps1.sh sudo sh -c 'echo export LANG=en_US.UTF8 > '"${chr}/etc/profile.d/LANG.sh" +sudo sh -c 'echo PATH+=:/sbin:/usr/sbin:/usr/local/sbin > '"${chr}/etc/profile.d/sbin.sh" sudo sh -c "cat > '${chr}/etc/make.conf.user'" <<-\EOF FEATURES="${FEATURES} noauto" EMERGE_DEFAULT_OPTS="--color y" -- 2.39.5