From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6659325660443443200 X-Received: by 2002:a50:8881:: with SMTP id d1mr2784081edd.0.1551183875956; Tue, 26 Feb 2019 04:24:35 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:9fad:: with SMTP id c42ls2350969edf.1.gmail; Tue, 26 Feb 2019 04:24:35 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib1lc9O4qpLh9UHrpcH4khRM6OSj728pMwZ0QEMzVkYG9MUBfzGtGcARPqgt0aN5tivGWJK X-Received: by 2002:a50:ca07:: with SMTP id d7mr2783699edi.4.1551183875552; Tue, 26 Feb 2019 04:24:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551183875; cv=none; d=google.com; s=arc-20160816; b=L0v3ZDYCOD2Y7Jf39kveIguzVSFiuFc3Tt/wHqzzL/WOPLg6QFgsRZ9xYQuL0DNkDu H58z4LUAoE7U3nqJHAIhNkXsbZ7Ta3+fcQUYKfYRCDM7j3V9QnP4s1+qwBBli5HJ4A4+ afiBrVv+lg04WmcGEWqh95aWi0GuQY3dz+Mlbc30fuU1fo8bCwl0t5vg7N4y3T6Gbuuw cWj0ZTFvhVgnHB5lr0G8lyW3dvHj2S9JbbiS/TsWEkMcsjeLEEYCjIA+YGLd63h3LZ/y uXamNIdQbJrjCgfPfuGEMdhp1TNn+QcigcZ/mttPyCVtwLaFjYilviEfzsGdCGtrvQDN 8ZBA== 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=+rekI7Tfdvgp5sZSsye0aVpVLg25+M5UChhf4ToxPgw=; b=i0zt/TCm96sXkDm8oUMAdn2ACsaBNsktvOCC9ejf2UNRaUIz4ENpAKvIvZNQK2hwUT 2xlW7u0Z1dBE8KPeDL4GExfjt/GZGbhrSaDyqLVRl9f0b69X/K2cEup3fM48Jo0c27xO C77i6yngVkuDSUsJmgL6WMbz0k/MCrCHhxcpsMjKEWUdcNFgRnh5A/xwKrro0DtKQTXs aOj51lccPnOef+jHZ2/ZPfwdUjB1JjVuCWFCP3A2amTRScix799BheQyAsyBnbpf1sKJ xsUvdsjDUVLIVef/JpCXtwcwICXudy7Guooz8B7Dqh8iNUSzX13So+RODwuZcUCJI4Ft VfdA== 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 gu13si699359ejb.0.2019.02.26.04.24.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Feb 2019 04:24:35 -0800 (PST) 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 1gybmi-0007Pn-Im from Cedric_Hombourger@mentor.com ; Tue, 26 Feb 2019 04:24:32 -0800 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; Tue, 26 Feb 2019 12:24:29 +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; Tue, 26 Feb 2019 12:24:29 +0000 From: "Hombourger, Cedric" To: Henning Schild , "[ext] Jan Kiszka" CC: isar-users , Andreas Reichel Subject: Re: [PATCH 1/1] meta/ext4-img: refactor to fit current image creation methods Thread-Topic: [PATCH 1/1] meta/ext4-img: refactor to fit current image creation methods Thread-Index: AQHUzcpPdiRNxt6ua0yNaRXNJ5tpO6Xx/XQAgAADCOo= Date: Tue, 26 Feb 2019 12:24:29 +0000 Message-ID: <1551183868632.90805@mentor.com> References: <20190218130429.9881-1-claudius.heine.ext@siemens.com> <20190218130429.9881-2-claudius.heine.ext@siemens.com> <20190219102555.1ce22459@md1za8fc.ad001.siemens.net> <6c0e6ea1-bd68-4ded-b6a0-2da66249cce5@googlegroups.com> <288c9e66-f92c-a23f-9e20-0363b9346abb@siemens.com>,<20190226131218.7ebbdf3e@md1za8fc.ad001.siemens.net> In-Reply-To: <20190226131218.7ebbdf3e@md1za8fc.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 x-originating-ip: [137.202.0.90] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TUID: EKSRgNyG+aQe This is the approach we used for another project :)=0A= We have a wic-extract-parts script but I did not find this approach satisfa= ctory =0A= =0A= ________________________________________=0A= From: Henning Schild =0A= Sent: Tuesday, February 26, 2019 1:12 PM=0A= To: [ext] Jan Kiszka=0A= Cc: Hombourger, Cedric; isar-users; Andreas Reichel=0A= Subject: Re: [PATCH 1/1] meta/ext4-img: refactor to fit current image creat= ion methods=0A= =0A= Am Tue, 26 Feb 2019 12:56:20 +0100=0A= schrieb "[ext] Jan Kiszka" :=0A= =0A= > On 26.02.19 12:35, cedric_hombourger@mentor.com wrote:=0A= > > Hi Henning,=0A= > >=0A= > > One use-case on our side is the generation of SWUpdate image. Our=0A= > > helper class uses do_ext4_image to generate the file-system image=0A= > > we later embed into the .swu file=0A= >=0A= > Andreas, how do you address that scenario for upstream SWUpdate=0A= > support?=0A= =0A= I guess a valid way would be to have a task after do_wic which will=0A= extract all raw partitions if enabled. It is kind of stupid but if we=0A= can not change wic we better build around and reuse instead of=0A= reimplement.=0A= =0A= Henning=0A= =0A= > Jan=0A= >=0A= =0A=