public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Baurzhan Ismagulov <ibr@radix50.net>
To: isar-users@googlegroups.com
Subject: Re: sudo-less build
Date: Fri, 23 Jun 2017 16:26:19 +0200	[thread overview]
Message-ID: <20170623142619.GA5527@yssyq.radix50.net> (raw)
In-Reply-To: <4a2cb0a0-abd4-f0c1-c6f2-fe63abf5537f@siemens.com>

On Fri, Jun 23, 2017 at 03:46:27PM +0200, Jan Kiszka wrote:
> Christian pointed out that OE achieves the sudo-less build via libpseudo:
> 
> https://www.yoctoproject.org/tools-resources/projects/pseudo
> http://git.yoctoproject.org/cgit/cgit.cgi/pseudo/
> 
> That seems to be packaged for Debian as well, and its usage sound rather
> straightforward. Would it be hard to exploit that for Isar?

Yes, we are aware of that. We could try it.

That said, we quickly tried
https://wiki.debian.org/Multistrap/Environment#fakeroot two years ago, and it
failed even with Secure Apt disabled.

Not sure why Secure Apt requires root, but fakeroot requires that e.g. device
nodes are created and consumed (e.g., for image generation) from within the
same fakeroot process; we'll have to think what to do with "standalone
creators" like buildchroot, which are used from other recipes with sudo (cp,
install, chroot, etc.).

I've created https://github.com/ilbers/isar/issues/11.

With kind regards,
Baurzhan.

      reply	other threads:[~2017-06-23 14:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-23 13:46 Jan Kiszka
2017-06-23 14:26 ` Baurzhan Ismagulov [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=20170623142619.GA5527@yssyq.radix50.net \
    --to=ibr@radix50.net \
    --cc=isar-users@googlegroups.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox