1 |
Another bug that should be fixed in master. |
2 |
|
3 |
Probably apply to master cleanly. |
4 |
============================================== |
5 |
|
6 |
|
7 |
diff --git a/targets/support/chroot-functions.sh |
8 |
b/targets/support/chroot-functions.sh |
9 |
index 35ffbaa..d2074c0 100755 |
10 |
@@ -168,9 +168,10 @@ setup_pkgmgr(){ |
11 |
# We need to merge our package manager with USE="build" set in case it |
12 |
is |
13 |
# portage to avoid frying our /etc/portage/make.conf file. Otherwise, |
14 |
we could |
15 |
# just let emerge system could merge it. |
16 |
- # Use --update or portage won't reinstall the same version. |
17 |
+ # Use --update or portage won't reinstall the same version later. |
18 |
+ # Use --newuse to make sure it rebuilds with the "build" use flag. |
19 |
[ -e /etc/portage/make.conf ] && echo 'USE="${USE} build"' |
20 |
>> /etc/portage/make.conf |
21 |
- run_merge --oneshot --nodeps --update sys-apps/portage |
22 |
+ run_merge --oneshot --nodeps --update --newuse sys-apps/portage |
23 |
sed -i '/USE="${USE} build"/d' /etc/portage/make.conf |
24 |
} |
25 |
|
26 |
|
27 |
|
28 |
-- |
29 |
Brian Dolbec <dolsen@g.o> |