I am having problems trying to rebuild a slave disk with ROOT=/mnt/gentoo.

While it is _sort_ of working, it does something very unexpected. It
rebuilds 154 packages on the _host_ system.

Oddly, it does notice that I have different CFLAGS set in
/etc/portage/make.conf and rebuilds the host system packages
correctly. But why does it rebuild them at all?

Here is a sample of the emerge output:

[ebuild   R    ] sys-apps/systemd-241-r1 to /mnt/gentoo/
[ebuild   R    ] sys-process/procps-3.3.15-r1 to /mnt/gentoo/
[ebuild   R    ] sys-apps/gentoo-systemd-integration-7 to /mnt/gentoo/
[ebuild   R    ] virtual/service-manager-0 to /mnt/gentoo/
[ebuild   R    ] sys-apps/attr-2.4.47-r2
[ebuild   R    ] sys-devel/patch-2.7.6-r3
[ebuild   R    ] sys-apps/systemd-241-r1
[ebuild   R    ] sys-apps/gentoo-systemd-integration-7

Why the heck is the _host_ sys-apps/systemd being recompiled?

Here is my command:

export ROOT="/mnt/gentoo"
export DISTDIR="/mnt/gentoo/usr/portage/distfiles"
export PKGDIR="/mnt/gentoo/usr/portage/packages"
export PORTAGE_CONFIGROOT="/mnt/gentoo/"
export PORTAGE_TMPDIR="/var/tmp"
export PORTDIR="/mnt/gentoo/usr/portage"
export EMERGE_LOG_DIR="/mnt/gentoo/var/log"

emerge --root=/mnt/gentoo --root-deps --color n --ask -e @world

- Matthew

Reply via email to