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

Re: howto improve speed of lh build with more RAM



On 03/25/2010 10:59 PM, Jonas Stein wrote:
Now i need something like
lh config --build-dir /var/local/deblive/build

cd /var/local/deblive/build
lh config && lh build

How is that done?

debootstrap lenny lenny http://ftp.debian.org/debian
chroot lenny
apt-get install live-helper squashfs-tools syslinux ...
lh config --chroot-build false && lh build

note that the initial chroot can be re-used, but it needs to be made sure, that 1. it's always updated before building an image, and 2. that it matches the target distribution (e.g. building lenny from a lenny chroot, or sid from a sid chroot; otherwise you'll have not the matching auxiliary packages and the image will not boot (squashfs version mismatch, for one)).

--
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/


Reply to: