public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Claudius Heine <claudius.heine.ext@siemens.com>
To: "[ext] Jan Kiszka" <jan.kiszka@siemens.com>,
	isar-users <isar-users@googlegroups.com>
Subject: Re: Incremental target images
Date: Mon, 27 Aug 2018 09:25:43 +0200	[thread overview]
Message-ID: <1db1ee65-3af9-8789-7c0f-169c452597b5@siemens.com> (raw)
In-Reply-To: <a19b3d36-8318-cde6-778b-1af7b78f6ea6@siemens.com>

Hi Jan,

On 2018-08-27 08:41, [ext] Jan Kiszka wrote:
> Hi all,
> 
> I was wondering if / how we could model the increasingly common case of 
> building very similar target images more efficiently.
> 
> A devel image, e.g., likely consists of almost the same base package set 
> as the release image. It may only add further packages and maybe replace 
> very few (like customization packages). When building both, we could 
> save time - specifically when doing cross - by bootstrapping the 
> baseline only once. We already do that for the debootstrap step, but not 
> yet for further packages.
> 
> What do you think? And how could that be modeled from user perspective?

That is not very easy.

A complex way this could be done by having a `common image` recipe that 
depends on other image recipes to deploy their required package list, 
then figure out the common dependencies of all of them and build the 
custom image. Then those other image recipes depend of the `common 
image` recipe in turn to create it, copy it and base their own 
customizations on top.

 From a user perspective they would have to add their image recipes into 
a global variable or bbappend, so that is available in the `common 
image` recipe. The rest could be done in the image classes.

Cheers,
Claudius

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de

  reply	other threads:[~2018-08-27  7:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-27  6:41 Jan Kiszka
2018-08-27  7:25 ` Claudius Heine [this message]
2018-08-27  7:44   ` Claudius Heine
2018-08-27  8:29     ` Jan Kiszka
2018-08-27  8:52       ` Claudius Heine
2018-08-27 13:48       ` chombourger

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=1db1ee65-3af9-8789-7c0f-169c452597b5@siemens.com \
    --to=claudius.heine.ext@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.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