From: Mike Frysinger Date: Tue, 3 Apr 2012 15:45:24 +0000 (-0400) Subject: setup more stuff X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5cf3bcaeeb4fe6deccafd5c44c884f611449cd7e;p=home.git setup more stuff --- diff --git a/.bin/cros-setup-chroot b/.bin/cros-setup-chroot index 323d98f..b5d6849 100755 --- a/.bin/cros-setup-chroot +++ b/.bin/cros-setup-chroot @@ -8,7 +8,11 @@ sed \ -e '/^unbind/s:^:#:' \ ~/.nanorc > ${chome}/.nanorc cp ~/.gdbinit ${chome}/ -cat ~/.profile.d/aliases.sh > ${chome}/.bashrc +( +cat ~/.profile.d/aliases.sh +grep ^export ~/.bashrc +echo "export USE='-cros-debug'" +) > ${chome}/.bashrc sudo mkdir -p ${chr}/etc/profile.d ${chr}/etc/portage/package.{mask,unmask,use,keywords} ( cat ~/.profile.d/PS1.sh @@ -16,7 +20,7 @@ sed -e '1{/PS1=/d}' ${chr}/etc/profile.d/chromiumos-niceties.sh ) > ${chome}/.ps1.sh sudo sh -c 'echo export LANG=en_US.UTF8 > '"${chr}/etc/profile.d/LANG.sh" sudo sh -c 'echo FEATURES=\"\$FEATURES noauto\" > '"${chr}/etc/make.conf.user" -sudo sh -c 'echo EMERGE_DEFAULT_OPTS=\"--color y --getbinpkg\" > '"${chr}/etc/make.conf.user" +sudo sh -c 'echo EMERGE_DEFAULT_OPTS=\"--color y\" > '"${chr}/etc/make.conf.user" sudo sh -c 'echo -g > '"${chr}/etc/ps1_append" sudo mv ${chome}/.ps1.sh ${chr}/etc/profile.d/chromiumos-niceties.sh for f in .nanorc .gdbinit .gitconfig ; do