On Mon, 14 Feb 2005 17:06:26 -0700, Grant Likely <[EMAIL PROTECTED]> wrote: > On Mon, 14 Feb 2005 17:48:26 -0600, Brian Jackson <[EMAIL PROTECTED]> wrote: > > On Mon, 2005-02-14 at 12:07 -0700, Grant Likely wrote: > > > Good morning; > > > > > > I've been lurking on IRC and the mailing list for a little bit now but > > > I have not yet been able to piece together how gentoo-embedded is put > > > together. I have a number of questions that I am wondering about. > > > > > > 1. What is the intended flow for putting together a rootfs for a > > > target? ie. What are the steps required from the 1000ft viewpoint? > > > > http://dev.gentoo.org/~iggy/uclibc/gentoo-uclibc-HOWTO > > > > > 2. How should I set up your cross toolchain? Personally, I'm partial > > > to Dan Kegel's crosstool for building my toolchains, are they > > > sufficient. > > > > http://dev.gentoo.org/~vapier/CROSS-COMPILE-HOWTO > > > > > 3. Where do I get the gentoo-embedded portage tree? Is it integrated > > > with the main gentoo portage tree. > > > > it's in the main tree > > > > > > > > > please defer all questions till you read at least those 2 docs > >
I think I've got my head better wrapped around gentoo-embedded, but I have some new questions I would like to ask. As it stands right now, it seems that /etc/make.conf and the make.profile symlinks need to be explicitly modified to support cross compiling. (portage_const.py appears to hardcode both /etc/make.conf and /etc/make.profile locations). This means that you need to manully switch between configured for native emerges and emerges for the cross target. Is this true? If so, is anybody working on decoupling emerge so that it can use a totally seperate set of configuration files as specified by the environment or command line? It does not appear that there is any support for running emerge as non-root. Are there any plans to do so? The reason I ask these questions is that for my environment I want to be able to build a rootfs with limited root access. Ideally I would like to be able to run everything as a user and use fakeroot w/ mkfs.jffs2 to build the target image. What changes would I need to look into to get portage to support this model? Is this even feasable/desireable? Thanks, g. -- [email protected] mailing list
