1 |
I am having problems trying to rebuild a slave disk with ROOT=/mnt/gentoo. |
2 |
|
3 |
While it is _sort_ of working, it does something very unexpected. It |
4 |
rebuilds 154 packages on the _host_ system. |
5 |
|
6 |
Oddly, it does notice that I have different CFLAGS set in |
7 |
/etc/portage/make.conf and rebuilds the host system packages |
8 |
correctly. But why does it rebuild them at all? |
9 |
|
10 |
Here is a sample of the emerge output: |
11 |
|
12 |
[ebuild R ] sys-apps/systemd-241-r1 to /mnt/gentoo/ |
13 |
[ebuild R ] sys-process/procps-3.3.15-r1 to /mnt/gentoo/ |
14 |
[ebuild R ] sys-apps/gentoo-systemd-integration-7 to /mnt/gentoo/ |
15 |
[ebuild R ] virtual/service-manager-0 to /mnt/gentoo/ |
16 |
[ebuild R ] sys-apps/attr-2.4.47-r2 |
17 |
[ebuild R ] sys-devel/patch-2.7.6-r3 |
18 |
[ebuild R ] sys-apps/systemd-241-r1 |
19 |
[ebuild R ] sys-apps/gentoo-systemd-integration-7 |
20 |
|
21 |
Why the heck is the _host_ sys-apps/systemd being recompiled? |
22 |
|
23 |
Here is my command: |
24 |
|
25 |
export ROOT="/mnt/gentoo" |
26 |
export DISTDIR="/mnt/gentoo/usr/portage/distfiles" |
27 |
export PKGDIR="/mnt/gentoo/usr/portage/packages" |
28 |
export PORTAGE_CONFIGROOT="/mnt/gentoo/" |
29 |
export PORTAGE_TMPDIR="/var/tmp" |
30 |
export PORTDIR="/mnt/gentoo/usr/portage" |
31 |
export EMERGE_LOG_DIR="/mnt/gentoo/var/log" |
32 |
|
33 |
emerge --root=/mnt/gentoo --root-deps --color n --ask -e @world |
34 |
|
35 |
- Matthew |