From: Baurzhan Ismagulov <ibr@radix50.net>
To: isar-users@googlegroups.com
Subject: Re: fakechroot
Date: Fri, 13 Sep 2019 11:33:17 +0200 [thread overview]
Message-ID: <20190913093317.GL6062@yssyq.m.ilbers.de> (raw)
In-Reply-To: <8db6f5f1-8a36-768c-1b5d-0a0a3df866fb@siemens.com>
On Fri, Sep 13, 2019 at 11:08:21AM +0200, Quirin Gylstorff wrote:
> This was only an initial test but with fakechroot and fakeroot it should be
> possible to have a non-priviledged debootstrap and chroot process.
>
> - Initial Creating with debootstrap did work. e.g.:
> fakechroot fakeroot debootstrap buster amd64
> - what also work was using chroot to enter the create rootfs.
> fakechroot chroot amd64
Thanks for sharing. That could be a welcome change.
1. How does fakechroot fakeroot perform privileged operations like chown,
mknod, accessing other's files, mounting, etc.?
We need that information to be consistent across multiple commands in
multiple recipes (bootstrap, customize, install stuff, deploy, etc.).
Wrapping one command is probably possible with any tool -- but currently I
don't see how they could do what we need.
Regarding keeping the information across multiple commands, Yocto's pseudo
should allegedly be able to do that (not sure whether it keeps the state in
a daemon or a file). Evaluating that was our next step (very low prio ATM)
-- maybe that could be interesting for you as well.
2. fakechroot fakeroot is reported to work with foreign-arch chroots. Have you
tried that?
With kind regards,
Baurzhan.
next prev parent reply other threads:[~2019-09-13 9:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-13 8:00 fakechroot Quirin Gylstorff
2019-09-13 8:14 ` fakechroot Baurzhan Ismagulov
[not found] ` <8db6f5f1-8a36-768c-1b5d-0a0a3df866fb@siemens.com>
2019-09-13 9:33 ` Baurzhan Ismagulov [this message]
2019-09-13 9:41 ` fakechroot Jan Kiszka
2019-09-13 9:51 ` fakechroot Baurzhan Ismagulov
2019-09-17 9:14 ` fakechroot Henning Schild
2019-09-17 9:52 ` fakechroot Jan Kiszka
2019-09-13 10:57 ` fakechroot Quirin Gylstorff
2019-09-13 12:11 ` fakechroot Baurzhan Ismagulov
2019-09-16 8:38 ` fakechroot Quirin Gylstorff
2019-09-17 9:22 ` fakechroot Henning Schild
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=20190913093317.GL6062@yssyq.m.ilbers.de \
--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