public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Cedric Hombourger <Cedric_Hombourger@mentor.com>,
	isar-users@googlegroups.com, Baurzhan Ismagulov <ibr@ilbers.de>
Subject: Re: [PATCH v2 0/2] introduce isar-image class
Date: Wed, 31 Oct 2018 07:39:11 +0100	[thread overview]
Message-ID: <57847f7a-9b85-65ef-b11e-8952bf532e0f@siemens.com> (raw)
In-Reply-To: <20181031061025.28840-1-Cedric_Hombourger@mentor.com>

On 31.10.18 07:10, Cedric Hombourger wrote:
> Reduce the previous patch series to only include the first two patches.
> The changes will allow users to easily create their own image recipes.
> Documentation was updated with instructions.
> 
> The second patch refactors do_rootfs() into smaller functions to reduce
> its complexity (one function == one purpose/goal). It was also changed
> to become a Python function so it may be extended by other classes with
> Python code.
> 
> Patches introducing ROOTFS_*_COMMAND are on hold. I will investigate use
> of e.g. IMAGE_TRANSIENT_PACKAGES to implement some of the features we are
> currently carrying in our own project layers.
> 
> Cedric Hombourger (2):
>    isar-image-base: introduce and use isar-image class
>    isar-image: refactor do_rootfs()
> 
>   doc/user_manual.md                                 | 33 ++++++++++
>   meta-isar/classes/isar-image.bbclass               | 72 ++++++++++++++++++++++
>   .../files => conf/distro}/debian-configscript.sh   |  0
>   .../files => conf/distro}/raspbian-configscript.sh |  0
>   meta-isar/recipes-core/images/isar-image-base.bb   | 57 +----------------
>   5 files changed, 108 insertions(+), 54 deletions(-)
>   create mode 100644 meta-isar/classes/isar-image.bbclass
>   rename meta-isar/{recipes-core/images/files => conf/distro}/debian-configscript.sh (100%)
>   rename meta-isar/{recipes-core/images/files => conf/distro}/raspbian-configscript.sh (100%)
> 

Before we move things in meta-isar around: I'd like to first of all get rid of 
the dependency on meta-isar for building typical images. Everything that is not 
of demonstration purpose (specific boards, example recipes etc.) should go to 
the core layer (meta). Therefore, we should not introduce further generic 
classes to meta-isar.

One background: I already ran into conflict with machine conf files in meta-isar 
that I wanted to replace with own configs in a downstream layer. While config 
overloading is possible, it's not as obvious as bbappend, nor does it work well 
in the presence of kas. So the better approach is avoiding it in the first place 
- e.g. by not pulling meta-isar.

Jan

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

  parent reply	other threads:[~2018-10-31  6:39 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-29 16:12 [PATCH 0/4] add support for OE's ROOTFS_*_COMMAND Cedric Hombourger
2018-10-29 16:13 ` [PATCH 1/4] isar-image-base: introduce and use isar-image class Cedric Hombourger
2018-11-09 13:42   ` Baurzhan Ismagulov
2018-10-29 16:13 ` [PATCH 2/4] isar-image: refactor do_rootfs() Cedric Hombourger
2018-11-29 15:06   ` Jan Kiszka
2018-10-29 16:13 ` [PATCH 3/4] base: add 'lib' folder of each layer to python's module search path Cedric Hombourger
2018-10-29 16:13 ` [PATCH 4/4] isar-image: add support for OE's ROOTFS_*_COMMAND Cedric Hombourger
2018-10-29 16:45 ` [PATCH 0/4] " Henning Schild
2018-10-29 16:55   ` Hombourger, Cedric
2018-10-30  9:25     ` Henning Schild
2018-10-30 11:02       ` Hombourger, Cedric
2018-10-30 12:41         ` Henning Schild
2018-10-30 12:45           ` Hombourger, Cedric
2018-10-31  6:10           ` [PATCH v2 0/2] introduce isar-image class Cedric Hombourger
2018-10-31  6:10             ` [PATCH v2 1/2] isar-image-base: introduce and use " Cedric Hombourger
2018-10-31  6:10             ` [PATCH v2 2/2] isar-image: refactor do_rootfs() Cedric Hombourger
2018-10-31  6:39             ` Jan Kiszka [this message]
2018-10-31  6:51               ` [PATCH v2 0/2] introduce isar-image class chombourger
2018-11-01 11:43                 ` Maxim Yu. Osipov
2018-11-09 13:26                 ` Baurzhan Ismagulov
2018-11-01 10:13               ` [PATCH v3 1/2] isar-image-base: introduce and use " Cedric Hombourger
2018-11-01 10:13                 ` [PATCH v3 2/2] isar-image: refactor do_rootfs() Cedric Hombourger
2018-11-07 13:20                   ` Jan Kiszka
2018-11-08  7:59                     ` Hombourger, Cedric
2018-11-08  8:28                       ` Jan Kiszka
2018-11-07 18:45                   ` Henning Schild
2018-11-07 19:46                     ` Cedric Hombourger
2018-11-07 20:16                       ` Cedric Hombourger
2018-11-08  6:52                         ` Jan Kiszka
2018-11-08  8:13                         ` Henning Schild
2018-11-07 13:07                 ` [PATCH v3 1/2] isar-image-base: introduce and use isar-image class Maxim Yu. Osipov

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=57847f7a-9b85-65ef-b11e-8952bf532e0f@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=Cedric_Hombourger@mentor.com \
    --cc=ibr@ilbers.de \
    --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