chroot VM build

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

chroot VM build

Max Leske
 
Hi Ben,

On 21 May 2017, at 15:02, [hidden email] wrote:


The builds were performed in two separate chroot jails so they did not
influence each other. The system is a Debian Jessie, 64 bits.


Side question - I'm curious how you go about doing a chroot build.  In
another thread you could you post some more info on this?

cheers -ben


We don't always use chroot but we currently do to build the VM as the build
- may download stuff from the internet
- requires installation of 32 bit compat libs
and we don't want to junk up the system with any of that. Hence, we have a script that creates the chroot for us and prepares all the build dependencies (script attached below). Then we do $ chroot <chroot name> and start compilation (the attached script will create a couple of helper scripts to do that).

Does that answer your question?

Cheers,
Max



create-pharo-chroot.sh (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: chroot VM build

Ben Coman
 
thanks Max, that was exactly what I was interested in.  
cheers -ben

On Sun, May 21, 2017 at 9:12 PM, Max Leske <[hidden email]> wrote:
 
Hi Ben,

On 21 May 2017, at 15:02, [hidden email] wrote:


The builds were performed in two separate chroot jails so they did not
influence each other. The system is a Debian Jessie, 64 bits.


Side question - I'm curious how you go about doing a chroot build.  In
another thread you could you post some more info on this?

cheers -ben


We don't always use chroot but we currently do to build the VM as the build
- may download stuff from the internet
- requires installation of 32 bit compat libs
and we don't want to junk up the system with any of that. Hence, we have a script that creates the chroot for us and prepares all the build dependencies (script attached below). Then we do $ chroot <chroot name> and start compilation (the attached script will create a couple of helper scripts to do that).

Does that answer your question?

Cheers,
Max