Many questions to live-build
Hello folks,
I am running live-build for several targets (debian-live, kali linux and some
other). I read into the manual, but there are some questions, the manual could
not solve. Maybe you can help.
What I want to do is the following:
I want to download and create a chroot for several architectures. It is
important for me, that I can do this step-by-step.
The command "lb build" does everything in one step, and I cannot control the
single steps.
It should do in this way:
Step 1:
The first step should download and unpack all the packages and creating the
chroot. Then it should stop!
Step 2:
I want to dive into the chroot and want to do some changes. This works already
with the chroot command. When I have finished all my settings and changes I
want to do Step 3.
Step 3:
My changed chroot should now be built and it should now an ISO beeing created.
Ok, now to my questions:
1. Which commands must I use for Step 1, that the chroot is build and then
stops?
2. Which command must I use for Step 2, to create the bootable ISO?
3. I am running live-build in an amd64-environment. But I want to build the
livefile not only for amd64, but for i386 and arm as well. The command
lb clean --purge makes my system clean, and the switch -a arm or -a i386 tells
what architecture it has to be built. Can I build for any archjitecture on the
same machine?
4. I am using apt-cacher-ng, to prevent from repeating downloads at each
build. Is there a way, to use the same live-build folder for different
architectures (i.e. by forcing the chroot into subfolders)
Thank you very much for reading this and for your help!
Best regards
Hans
Reply to: