From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6617812835611181056 X-Received: by 2002:a2e:9597:: with SMTP id w23-v6mr1390941ljh.25.1540831509138; Mon, 29 Oct 2018 09:45:09 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:4a09:: with SMTP id x9-v6ls23914lja.18.gmail; Mon, 29 Oct 2018 09:45:08 -0700 (PDT) X-Google-Smtp-Source: AJdET5c/3c6IfNHwyQ2pN3UShYb6CxxfGnCo3Fk43pmh2gQTcWBLEkFH/9fc8f7x2dPND78xXylw X-Received: by 2002:a2e:5807:: with SMTP id m7-v6mr1398179ljb.9.1540831508676; Mon, 29 Oct 2018 09:45:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540831508; cv=none; d=google.com; s=arc-20160816; b=qLSAZVAfIlKRUnFTXOyZKwWS1SDlh5t6jT1IbWjwKiKpU1nk5kzpErOqQYr4+VJhEz dFYfDgzhQXdmXAH5JStZHPah731DD+j9UR54o19hNvXIDca63IgonDPFxg1aADxi+G98 cX8DbQncXaOgD2vI8GXWXIjiniNZofyLB1KTufeq0qUeEJYzd8q3LP2x9JTgL8iCDR+K lL2X4z2eS8U4N7i3qdjMKAdLQt3xBkT7h8bO98MmEp1FkrWX5Cg0DL+x7EQnazGWrqGJ PLzKfJJe5TNGBk66ljQMRSn9jupl+CiyZNMF3bZWbbbhmDXcFe7sZJ7ienGgmSvLjf/P j49w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=cFwJxeBI+8QhJm+MoymwSRglVGjBhH05/QfV8huH2d0=; b=Pl2egADsMJBTovf71p9/OgCm1NlrGR8g4sVMiQglR0YGWnWttT8sn6P49cpV5cgXMw VfgbvCgQAbZ8xkXiKY91MQH5epJPfst5X0IDLC3bWxCrTJ/ziYx2WaJO/IB3+xuZFiGt utQJB7Am+87DHJ96qN+ZbWP+JOygo3gIHga1vXJNHXyQ2m+jmlWetSllsqEhbWaVh3u9 gl18Jd5N7jmzyqJ6M5byrTzzieFxJCEiFzYMQQybluNEkngDV93vuIN6h10e6yiBt3m5 zEm9Bg9YG+efUf68Q6nywW7KUi9w/IDkXeN1d8FUspfrnoLlGBluG8RVmyG3xCSTvCzo x3tA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id u142-v6si416065lja.2.2018.10.29.09.45.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 09:45:08 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w9TGj7iX022910 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 29 Oct 2018 17:45:07 +0100 Received: from md1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTPS id w9TGj1nC008448 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 29 Oct 2018 17:45:07 +0100 Date: Mon, 29 Oct 2018 17:45:20 +0100 From: Henning Schild To: Cedric Hombourger Cc: Subject: Re: [PATCH 0/4] add support for OE's ROOTFS_*_COMMAND Message-ID: <20181029174520.1fd028fe@md1pvb1c.ad001.siemens.net> In-Reply-To: <20181029161303.7410-1-Cedric_Hombourger@mentor.com> References: <20181029161303.7410-1-Cedric_Hombourger@mentor.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: AnHnwA4Q+YVH Hey, could you please elaborate on why this is needed and what you want to do with it? I suspect there are already other ways of doing what you might want to do. One golden rule is that _everything_ inside the rootfs comes from a .deb package. If you need to execute scripts, go for post/pre inst etc. Henning Am Mon, 29 Oct 2018 17:12:59 +0100 schrieb Cedric Hombourger : > OpenEmbedded allows custom functions to be called at various stages of > the root file-system generation process. Add similar capabilities to > Isar. > > Cedric Hombourger (4): > isar-image-base: introduce and use isar-image class > isar-image: refactor do_rootfs() > base: add 'lib' folder of each layer to python's module search path > isar-image: add support for OE's ROOTFS_*_COMMAND > > doc/user_manual.md | 43 +++++++++++ > meta-isar/classes/isar-image.bbclass | 89 > ++++++++++++++++++++++ .../files => > conf/distro}/debian-configscript.sh | 0 .../files => > conf/distro}/raspbian-configscript.sh | 0 > meta-isar/recipes-core/images/isar-image-base.bb | 57 > +------------- meta/classes/base.bbclass | > 4 + meta/lib/oe/utils.py | 11 +++ 7 > files changed, 150 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%) create mode 100644 > meta/lib/oe/utils.py >