1 |
commit: f0603f17b262357c94c49a5f84056bd73dec3434 |
2 |
Author: Matthew Brewer <tomboy64 <AT> sina <DOT> cn> |
3 |
AuthorDate: Wed May 25 11:46:08 2016 +0000 |
4 |
Commit: M. B. <tomboy64 <AT> sina <DOT> cn> |
5 |
CommitDate: Wed May 25 12:03:59 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/user/tbc.git/commit/?id=f0603f17 |
7 |
|
8 |
add chroot-here.sh to tools (dangerous!) |
9 |
|
10 |
tools/chroot-here.sh | 12 ++++++------ |
11 |
1 file changed, 6 insertions(+), 6 deletions(-) |
12 |
|
13 |
diff --git a/tools/chroot-here.sh b/tools/chroot-here.sh |
14 |
index b8721b3..408fef4 100755 |
15 |
--- a/tools/chroot-here.sh |
16 |
+++ b/tools/chroot-here.sh |
17 |
@@ -199,12 +199,12 @@ cp -v /etc/resolv.conf etc/ || quit "Couldn't copy resolv.conf" |
18 |
if [[ ${ARCH_FULL} != x86 && ${ARCH} != amd64 ]]; then |
19 |
cp -v "${QEMU_BIN}" ".$(dirname "${QEMU_BIN}")" || quit "Couldn't copy qemu binary." |
20 |
fi |
21 |
- cat <<EOF >> etc/portage/make.conf || quit "Couldn't write to etc/portage/make.conf." |
22 |
-MAKEOPTS="-j5" |
23 |
-EMERGE_DEFAULT_OPTS="--verbose --autounmask-write --nospinner --keep-going -j5 --load-average=5 --verbose-conflict" |
24 |
-PYTHON_SINGLE_TARGET="python3_4" |
25 |
-PYTHON_TARGETS="python2_7 python3_3 python3_4 python3_5 pypy pypy2" |
26 |
-EOF |
27 |
+ cat <<-EOF >> etc/portage/make.conf || quit "Couldn't write to etc/portage/make.conf." |
28 |
+ MAKEOPTS="-j5" |
29 |
+ EMERGE_DEFAULT_OPTS="--verbose --autounmask-write --nospinner --keep-going -j5 --load-average=5 --verbose-conflict" |
30 |
+ PYTHON_SINGLE_TARGET="python3_4" |
31 |
+ PYTHON_TARGETS="python2_7 python3_3 python3_4 python3_5 pypy pypy2" |
32 |
+ EOF |
33 |
if [[ ${ARCH_FULL} == x86 ]]; then |
34 |
PS1="chroot${PS1}" linux32 chroot ./ /bin/bash --login || quit "Chrooting failed." |
35 |
else |