From 1c5b6bd7fa4e4dc258d1e20e363170faf06d4343 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 5 Feb 2013 18:39:18 -0500 Subject: [PATCH] set accept license --- .bin/cros-setup-chroot | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.39.5