public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* Introducing chroot tasks
@ 2017-10-19  8:38 Ben Brenson
  2017-10-19  9:01 ` Claudius Heine
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Ben Brenson @ 2017-10-19  8:38 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 964 bytes --]

Hi,

I want to submit some patches for defining and running chroot tasks within 
bitbake recipes.
The following short example should show what I mean:

Exampe recipe.bb:

do_foo() {
    # Do something within chroot
}
do_foo[chroot] = "1"
do_foo[id] = "${BUILDCHROOT_ID}"
addtask do_foo after ... before ... 


By setting the chroot flag the task automatically will be executed within 
the chroot specified by the id flag.
My isar (https://github.com/benbrenson/isar) fork already supports this 
feature, by using schroot.

This will give much more flexibility and modularity to Isar. You will be 
able to append/prepend things to those tasks
between layers easily.

I have already seen, that there is another and better approach than schroot 
-> proot.
I saw Alexander has already experimented with this feature, which seems to 
work.

So before posting some patches here, maybe changing this feature to proot 
first would a better first-step?


Regards,
Benedikt

[-- Attachment #1.2: Type: text/html, Size: 1091 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Introducing chroot tasks
@ 2017-10-25  7:49 Benedikt Niedermayr
  0 siblings, 0 replies; 10+ messages in thread
From: Benedikt Niedermayr @ 2017-10-25  7:49 UTC (permalink / raw)
  To: isar-users

Hello,

i have now a running example with non-root chroot tasks as well as 
non-root multistrap build at https://github.com/benbrenson/isar.

The feature is implemented on the "proot" branch.

I have tested successfully a complete build! So it seems, proot is a 
serious solution.

So I will try to integrate that into upstream and send you some patches.


Regards,

Benedikt


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-10-25  7:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-19  8:38 Introducing chroot tasks Ben Brenson
2017-10-19  9:01 ` Claudius Heine
2017-10-19  9:08   ` Jan Kiszka
2017-10-19  9:15   ` Henning Schild
2017-10-19 10:24     ` Ben Brenson
2017-10-19 12:00       ` Claudius Heine
2017-10-20  8:51         ` Ben Brenson
2017-10-19  9:11 ` Henning Schild
2017-10-19  9:12 ` Henning Schild
2017-10-25  7:49 Benedikt Niedermayr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox