From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6617812835611181056 X-Received: by 2002:a25:d803:: with SMTP id p3-v6mr8672791ybg.99.1540832115441; Mon, 29 Oct 2018 09:55:15 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a81:a246:: with SMTP id z67-v6ls5352692ywg.9.gmail; Mon, 29 Oct 2018 09:55:15 -0700 (PDT) X-Google-Smtp-Source: AJdET5fLRZ93gb98mMLPumnVaUDZkUXf5dC9XpD5tap3sNxOj0pXWRtPsOlQhM1pJK8os2ojWE79 X-Received: by 2002:a81:68d5:: with SMTP id d204-v6mr8631092ywc.8.1540832115062; Mon, 29 Oct 2018 09:55:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540832115; cv=none; d=google.com; s=arc-20160816; b=iT92S9u0osXgIEbim9NA+A9rCirxfONl1xOdPU+uoGT+b9mm/m+XdmLWCiM0JloclE V45zxDTMw5v3PCPXFNGo1BgsZXC1a8URE7W84ND3jPKPihSWDcbViZb6xwj8o4b0HVJ+ ISwnRw/u+FmOIx7vIreU1nChCf5A2thuEZOQH9pEHdpI1eymzIDfQlbtvOm/txeV05iD s0Cfr/a8LQ10YQfp98LjX9jg1CIqORxQm3APYLrvzOqYOukNFVwx8tzDQWYi23UasMMx sQ3Ez9ucEt7mNei7gTDcGb5Wr5dsCy+kZO3h3/a+pHY3hfmdIUL/QYfRZo+Ql2x7943o VZag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=Ukbb/K5fikrxIhaVntVupr6f+Pru7++4OnAKHlv3ZhA=; b=QKB/GK9hDQVBDUZD5s1+GmN265aljGmK2201MRtyDUY6Im7TaAz4sAHuzl1hI8+ZNn /dNSxvvlBDF3f4vWKhE3D0aCdfqlKTlnBRLXm3/j1d4IheIObZGVprLcq3ebQWabFMMY 5Wnc0r11UuOQUpwe5LeeGn77ZLe604t/ZhTwM4nkWAKNbeXP0pFtXVsrgl4RHFjctuo4 2437rbzapdVHumCzuHFNLivL+2f8HDYE6V8rKpQUqKBRlhEhR7GoD8pmwCzOr4vU0rHo Y5JHSUmpluiliM3wd8d4UJxY0j7oita2z+ySP8vIs7Dv5QZWw+R4ZjB1X7tn4wE0N2Kj IkVw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of cedric_hombourger@mentor.com designates 192.94.38.131 as permitted sender) smtp.mailfrom=Cedric_Hombourger@mentor.com Return-Path: Received: from relay1.mentorg.com (relay1.mentorg.com. [192.94.38.131]) by gmr-mx.google.com with ESMTPS id b71-v6si996089ywb.3.2018.10.29.09.55.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 09:55:15 -0700 (PDT) Received-SPF: pass (google.com: domain of cedric_hombourger@mentor.com designates 192.94.38.131 as permitted sender) client-ip=192.94.38.131; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of cedric_hombourger@mentor.com designates 192.94.38.131 as permitted sender) smtp.mailfrom=Cedric_Hombourger@mentor.com Received: from nat-ies.mentorg.com ([192.94.31.2] helo=svr-ies-mbx-01.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1gHAos-0002iS-4X from Cedric_Hombourger@mentor.com ; Mon, 29 Oct 2018 09:55:14 -0700 Received: from svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) by svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Mon, 29 Oct 2018 16:55:10 +0000 Received: from svr-ies-mbx-02.mgc.mentorg.com ([fe80::a01f:51c9:5b6c:e0c]) by svr-ies-mbx-02.mgc.mentorg.com ([fe80::a01f:51c9:5b6c:e0c%22]) with mapi id 15.00.1320.000; Mon, 29 Oct 2018 16:55:10 +0000 From: "Hombourger, Cedric" To: Henning Schild CC: "isar-users@googlegroups.com" Subject: Re: [PATCH 0/4] add support for OE's ROOTFS_*_COMMAND Thread-Topic: [PATCH 0/4] add support for OE's ROOTFS_*_COMMAND Thread-Index: AQHUb6JbX2Z3TUmJC0SCPK6pN1r0/qU2bkkAgAACwEg= Date: Mon, 29 Oct 2018 16:55:10 +0000 Message-ID: References: <20181029161303.7410-1-Cedric_Hombourger@mentor.com>,<20181029174520.1fd028fe@md1pvb1c.ad001.siemens.net> In-Reply-To: <20181029174520.1fd028fe@md1pvb1c.ad001.siemens.net> Accept-Language: en-US, en-IE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TUID: 7Z+/tlZqWAHJ Sure thing. This will allow us to generate license/package manifests like Y= octo does amongst other things (eg rootfs optimization functions). In other= words system wide tweaks. The former is the subject of an upcoming patch s= eries. Sent from a mobile > On 29 Oct 2018, at 17:45, Henning Schild wro= te: >=20 > Hey, >=20 > 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. >=20 > 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. >=20 > Henning >=20 > Am Mon, 29 Oct 2018 17:12:59 +0100 > schrieb Cedric Hombourger : >=20 >> OpenEmbedded allows custom functions to be called at various stages of >> the root file-system generation process. Add similar capabilities to >> Isar. >>=20 >> 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 >>=20 >> doc/user_manual.md | 43 +++++++++++ >> meta-isar/classes/isar-image.bbclass | 89 >> ++++++++++++++++++++++ .../files =3D> >> conf/distro}/debian-configscript.sh | 0 .../files =3D> >> 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 =3D> >> conf/distro}/debian-configscript.sh (100%) rename >> meta-isar/{recipes-core/images/files =3D> >> conf/distro}/raspbian-configscript.sh (100%) create mode 100644 >> meta/lib/oe/utils.py >>=20 >=20