[gentoo-user] Building and Installing with gentoo to non-gentoo Linux

2008-08-13 Thread Yoav Luft
Hi,
I have small device running linux. I've set up crossdev and compiled a
few binaries for it and tested that they don't break, including
recompile of the original kernel. I wanted to use emerge to build
binaries for my device, but I don't want portage on it, only to build
the binaries and copy them. I've build python, but I don't know what
files should I copy and to where, exactly. There's nothing about in
the embedded handbook, the handbook assumes I would build and mount a
gentoo like system for my device.



Re: [gentoo-user] Building and Installing with gentoo to non-gentoo Linux

2008-08-13 Thread Simon
You can tell portage to build binary packages, and then decompress those 
packages to get all the files you need specifically for that package.  You can 
also build a whole gentoo system and then remove /usr/portage (about 1Gb), this 
will leave you with something very close to a LSF (linux from scratch) system 
but with few minor gentoo files.


In both cases, maintenance will be your main problem (upgrades mostly) and 
unless you don't mind having a system that is hard/impossible to upgrade, I 
would look into that also!


Simon

Yoav Luft wrote:

Hi,
I have small device running linux. I've set up crossdev and compiled a
few binaries for it and tested that they don't break, including
recompile of the original kernel. I wanted to use emerge to build
binaries for my device, but I don't want portage on it, only to build
the binaries and copy them. I've build python, but I don't know what
files should I copy and to where, exactly. There's nothing about in
the embedded handbook, the handbook assumes I would build and mount a
gentoo like system for my device.