mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rob Landley <rob@landley.net>
To: musl@lists.openwall.com
Cc: musl@lists.openwall.com
Subject: Re: super_chroot - replacement for chroot for building dists
Date: Mon, 05 Aug 2013 00:45:19 -0500	[thread overview]
Message-ID: <1375681519.8422.10@driftwood> (raw)
In-Reply-To: <20130801003741.GA20075@brightrain.aerifal.cx> (from dalias@aerifal.cx on Wed Jul 31 19:37:41 2013)

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

      reply	other threads:[~2013-08-05  5:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01  0:37 Rich Felker
2013-08-05  5:45 ` Rob Landley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375681519.8422.10@driftwood \
    --to=rob@landley.net \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).