public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: "[ext] Claudius Heine" <claudius.heine.ext@siemens.com>,
	Ben Brenson <benbrenson89@googlemail.com>,
	isar-users <isar-users@googlegroups.com>
Subject: Re: Introducing chroot tasks
Date: Thu, 19 Oct 2017 11:08:12 +0200	[thread overview]
Message-ID: <e7d84c1c-cdfe-89cc-726a-1d7abc28b806@siemens.com> (raw)
In-Reply-To: <81c9592a-74df-25d8-70ac-978f6ef1694e@siemens.com>

On 2017-10-19 11:01, [ext] Claudius Heine wrote:
> Hi Ben,
> 
> On 10/19/2017 10:38 AM, 'Ben Brenson' via isar-users wrote:
>> 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?
> 
> Yes. Since proot solves some more problems than schroot.
> 
> Your implementation requires patching the bitbake code, so maybe we
> should try to get those changes upstream to bitbake?
> 
> Isar has currently has no own changes to upstream bitbake and I am not
> in favor of forking bitbake.

I think we should go for the most promising candidate of the chroot
solutions for upstream and, if that fails, fall back to VMs. Whenn all
our forces are joined on this topic now, we should be able to come to an
answer quickly.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux

  reply	other threads:[~2017-10-19  9:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-19  8:38 Ben Brenson
2017-10-19  9:01 ` Claudius Heine
2017-10-19  9:08   ` Jan Kiszka [this message]
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

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=e7d84c1c-cdfe-89cc-726a-1d7abc28b806@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=benbrenson89@googlemail.com \
    --cc=claudius.heine.ext@siemens.com \
    --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