[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chroot setup howto



On Tuesday 01 February 2005 19:06, Quantum Scientific wrote:

> > the root file system is created by using debootstrap (downloads a minimal
> > packages for sarge, creates the root FS, installes the kernel etc.). then
> > i removed manually packages which sarge sees as a "must" but i don't".
>
> This will not be EmDebian, and debootstrap seems to be Woody, but another
> poster recommends changing the script fo Sarge?  Sounds like you've
> hand-modified your system to be embedded, which seems fine if done
> carefully.
you are right, it would not be EmDebian.

man debootstrap

you can set the "suite" (i.e. woody, sarge, sid) you want.

but keep in mind that debootstrap was created for the inention to make an 
embedded system. it download packages which are not needed for an embedded 
system (exim4 - the whole mail suite - logrotate, at, cron ...). 

you can specify with commandline parameters (--include, --exclude) which 
packages should be DLed and installed (be carefull for breaking 
dependencies). 

instead of selecting the desired packages via commandline you can do that by 
changing the scripts for sarge in /usr/lib/debootstrap/sarge (this was the 
recommandation of a reader).

btw, you can do that for any debian supported architecure (see man page 
again).

Problem: the image are quite big (around 100MB) if you want to have a runing 
apt/dpk/dselect enivronment.

if you install busybox static and remove apt/dpkg/dselect and all libararies 
which depend on it you reduce it further. but you will not have a working 
package system (with dependecies fixing).

i can live with that.

mfg Max

-- 
Max Hofer
APUS Software G.m.b.H.
A-8074 Raaba, Bahnhofstraße 1/1
T| +43 316 401629 11
F| +43 316 401629 9
W| www.apus.co.at
E| max.hofer@apus.co.atb



Reply to: