Ned Ludd schrieb: > On Wed, 2007-10-17 at 22:17 +0200, Marc Blumentritt wrote: >> Hi, >> >> I use ROOT and PORTAGE_CONFIGROOT to install an embedded system. But >> when I want to install certain packages, they pull in dependencies in my >> build system. An example is attached below >> (ROOT="/mediamachine/devroot"). Is this normal and why is this happening? > > > All dependencies must be meet on the host system. If they are not you > will get alot of bogus stuff pulled into your ROOT. > > This is why for ages I've been suggesting to people to first merge on / > then later using the -K option to sub merge into a new ROOT= so that > only the RDEPEND's will end up in $ROOT.
What's the best approach, if I want to use different CFLAGS (especially march)? Use PORTAGE_CONFIGROOT (and -b) for building packages and then use ROOT and PORTAGE_CONFIGROOT (and -K) for merging with the embedded system? What about non-compilation stuff (e.g. passwd/shadow/group modifications or creation of dirs)? Is this done correctly if pre-built binary packages are used? Regards Marc -- [EMAIL PROTECTED] mailing list
