From: Mike Frysinger Date: Tue, 5 Feb 2013 23:39:18 +0000 (-0500) Subject: set accept license X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1c5b6bd7fa4e4dc258d1e20e363170faf06d4343;p=home.git set accept license --- diff --git a/.bin/cros-setup-chroot b/.bin/cros-setup-chroot index c8fe7aa..0b34ba2 100755 --- a/.bin/cros-setup-chroot +++ b/.bin/cros-setup-chroot @@ -20,8 +20,11 @@ cat ~/.profile.d/PS1.sh 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\" > '"${chr}/etc/make.conf.user" +sudo sh -c "cat > '${chr}/etc/make.conf.user'" <<-\EOF + FEATURES="${FEATURES} noauto" + EMERGE_DEFAULT_OPTS="--color y" + ACCEPT_LICENSE="${ACCEPT_LICENSE} Google-TOS" +EOF 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