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

Re: howto improve speed of lh build with more RAM

try using parallel mksquashfs..it utilizes both or all CPU's while squashifying the image..!

2010/3/26 Daniel Baumann <daniel@debian.org>
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/

To UNSUBSCRIBE, email to debian-live-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4BAC3ED0.6020200@debian.org" target="_blank">http://lists.debian.org/4BAC3ED0.6020200@debian.org

Harshad Joshi

Reply to: