From: Mike Frysinger Date: Thu, 18 Apr 2013 22:37:47 +0000 (-0400) Subject: cros-setup-chroot: add sbin to PATH X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=40cca8751ef85c50131cc6bb263ce1f32f7ee4d5;p=home.git cros-setup-chroot: add sbin to PATH --- 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"