From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6517147827419742208 X-Received: by 10.223.150.47 with SMTP id b44mr1238552wra.0.1518456456498; Mon, 12 Feb 2018 09:27:36 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.167.75 with SMTP id q72ls1160990wme.0.gmail; Mon, 12 Feb 2018 09:27:36 -0800 (PST) X-Google-Smtp-Source: AH8x2276HzycDHzm5Ex+lKf5VsMw3idjii3+eKrn0h4iqV8tmGxqWqWRlcLi4VxEGTB8GbDaXknX X-Received: by 10.28.30.68 with SMTP id e65mr506130wme.17.1518456456157; Mon, 12 Feb 2018 09:27:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518456456; cv=none; d=google.com; s=arc-20160816; b=Ctu1GctO3cMmihEfAsQRLcOg8fZtLh+dBAN+YsyZQRM2Qm5dCnTmSqxsHYqJ+UHw4r PO+WyAwOvl+3UKTNdd1V4GijHgKHIJK+RE3/NxH8onpw8M49s607dGgIyUmVy5/5YqCu ShczJgFCJmkh8UKJAvYc5gXRkbyf+MiSw/hh67CL6wGoIQr3d8yAkQ0zwdPZFe6eRtsl WZPYnuRNoz5ZjBOUPsTNiWSHBE8Eiu4eELqnNYkFkhaIFEykcTLqGDkyHUboc4XgdkkU 0O283uTz6mmUfg8qZlg0MTpxBxo0W76Ib/lGou28qd3V+ldwWweJzvRUWRpnUTVddub3 x2Sw== 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:to:from:date:arc-authentication-results; bh=tATRyZdjD2q3dpMwmJuYaiDtHpvMMkjuD2M3Xy/FgUE=; b=Ab+5QiQWOEGlqRBp/qczbgjQjkBAVNnwRpY5s43SeDIDAzBq9B4RTRJSphHPXs9ICy B4U5aVelm3DLY5kxVZ7Yb76CLCNhl5XI1oDNHIQdr/rbS6KPNh/PTPtDgoqwurQMkgUC +3Wy7cNYAJG3+sSEMSDacOIlz0owXzZhtdvY53rQbAFMvwjnYkUHnB/d0uwF6eixR+X7 LLI2rnIn8Cy1AiM3hodNf8Qlbbm8IHDcuq6hjAqhjveqr6vCCgqyPfwcACwGXZCo8obA xQA2j1Ctf++D7qR70jHtHVnCU7FigAFsXIPruomgJu3CgqRgqPB0F31U2dvzWEgPmwIQ S33w== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id y42si429099wry.5.2018.02.12.09.27.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Feb 2018 09:27:36 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w1CHRZZB008874 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 12 Feb 2018 18:27:35 +0100 Received: from mmd1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40] (may be forged)) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id w1CHRZgZ005036 for ; Mon, 12 Feb 2018 18:27:35 +0100 Date: Mon, 12 Feb 2018 18:27:37 +0100 From: Henning Schild To: Subject: Re: [PATCH 0/9] first wic integration Message-ID: <20180212182737.17fa8658@mmd1pvb1c.ad001.siemens.net> In-Reply-To: References: X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: dsLM/bbSUW2p This series of patches is working and does apply on current next, the mentioned open points are not new and therefore will be fixed in follow up patches. I am waiting from review comments. Henning Am Wed, 31 Jan 2018 10:41:51 +0100 schrieb Henning Schild : > This is the first official post of a series that aims to do two > things. 1. integrate wic into Isar so it does not need to be called > after bitbake > 2. get our copy of wic back to an unmodified version from OE > > Many people have been asking for the first, so i think i do not need > to motivate that change. Things this series already brings is control > over the partition sizes, that we did not have before. > The choice in working wks files is still limited. The plugins dealing > with bootloaders (isolinux, syslinux etc.) will probably need to be > forked (like the efigrub one). > > The second one is important so we can update wic in the future and > developers do not get confused. Having a fork instead of a copy, > without a very good reason, is not a good idea. I found that wic does > not need to be changed and plugins can be forked. > > Henning > > Henning Schild (9): > classes: image: introduce size measuring function, for before > do_*_image > images: new class wic-img for wic intregration > wic: add a bootimg-efi-isar plugin outside the wic tree > Revert "wic: Make the bootimg-efi plugin generate usable images" > Revert "wic: Introduce the `WicExecError` exception class" > Revert "wic: Work around mcopy error" > Revert "wic: Use sudo instead of pseudo" > Revert "wic: Remove sysroot support" > wic: now truly go for the wic version we claim to have > > .../scripts/lib/wic/canned-wks/sdimage-efi.wks | 2 +- > .../lib/wic/plugins/source/bootimg-efi-isar.py | 307 > +++++++++++++++++++++ > meta/classes/ext4-img.bbclass | 7 +- > meta/classes/image.bbclass | 19 ++ > meta/classes/wic-img.bbclass | 64 +++++ > scripts/lib/wic/canned-wks/qemux86-directdisk.wks | 2 +- > scripts/lib/wic/engine.py | 7 +- > scripts/lib/wic/filemap.py | 6 +- > scripts/lib/wic/help.py | 2 - > scripts/lib/wic/ksparser.py | 4 +- > scripts/lib/wic/partition.py | 197 > ++++++++----- scripts/lib/wic/pluginbase.py | > 11 +- scripts/lib/wic/plugins/imager/direct.py | 66 +++-- > scripts/lib/wic/plugins/source/bootimg-efi.py | 78 > +----- .../lib/wic/plugins/source/bootimg-partition.py | 6 +- > scripts/lib/wic/plugins/source/bootimg-pcbios.py | 68 ++--- > scripts/lib/wic/plugins/source/fsimage.py | 56 > ++++ .../lib/wic/plugins/source/isoimage-isohybrid.py | 28 +- > scripts/lib/wic/plugins/source/rawcopy.py | 2 +- > scripts/lib/wic/plugins/source/rootfs.py | 4 +- > scripts/lib/wic/utils/misc.py | 33 +-- > scripts/lib/wic/utils/runner.py | 74 ++++- > scripts/wic | 27 +- > scripts/wic_fakeroot | 37 +++ 24 files > changed, 846 insertions(+), 261 deletions(-) create mode 100644 > meta-isar/scripts/lib/wic/plugins/source/bootimg-efi-isar.py create > mode 100644 meta/classes/wic-img.bbclass create mode 100644 > scripts/lib/wic/plugins/source/fsimage.py create mode 100755 > scripts/wic_fakeroot >