* sudo-less build
@ 2017-06-23 13:46 Jan Kiszka
2017-06-23 14:26 ` Baurzhan Ismagulov
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2017-06-23 13:46 UTC (permalink / raw)
To: isar-users; +Cc: Christian Storm
Hi all,
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?
Jan
--
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: sudo-less build
2017-06-23 13:46 sudo-less build Jan Kiszka
@ 2017-06-23 14:26 ` Baurzhan Ismagulov
0 siblings, 0 replies; 2+ messages in thread
From: Baurzhan Ismagulov @ 2017-06-23 14:26 UTC (permalink / raw)
To: isar-users
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-23 14:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-23 13:46 sudo-less build Jan Kiszka
2017-06-23 14:26 ` Baurzhan Ismagulov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox