[prev in list] [next in list] [prev in thread] [next in thread] 

List:       musl
Subject:    Re: [musl] super_chroot - replacement for chroot for building dists
From:       Rob Landley <rob () landley ! net>
Date:       2013-08-05 5:45:19
Message-ID: 1375681519.8422.10 () driftwood
[Download RAW message or body]

On 07/31/2013 07:37:41 PM, Rich Felker wrote:
> Attached is a very simplified proof-of-concept for a tool that will
> allow building musl-based dists without the need for root privileges.
> It needs Linux 3.8 or newer (with user namespaces), but nothing else,
> and should work whether compiled against musl or glibc. I'm hoping
> this will be able to be adopted by some (most) of the musl-based dists
> as an alternative to the current enter_chroot approach, so that it
> becomes possible to build on systems where root access is not
> available or where policy would prohibit use of root for building.

Aboriginal doesn't use root. It cross compiles as a normal user,  
packages as a normal user, and then launches qemu or kvm as a normal  
user. (The previous iteration used user mode linux before qemu was  
viable; this only supported x86 targets.)

FYI,

Rob
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic