]> git.wh0rd.org Git - home.git/commitdiff
cros-setup-chroot: add sbin to PATH
authorMike Frysinger <vapier@gentoo.org>
Thu, 18 Apr 2013 22:37:47 +0000 (18:37 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 18 Apr 2013 22:37:47 +0000 (18:37 -0400)
.bin/cros-setup-chroot

index a5563cf11e0ac5dc65fac958e5c03438d1ac5ec4..ba5cbcd60969e97b7a25b9ade44b635e2f5b1d3d 100755 (executable)
@@ -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"