From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6517147827419742208 X-Received: by 10.46.9.80 with SMTP id 77mr806430ljj.11.1518460213396; Mon, 12 Feb 2018 10:30:13 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.221.210 with SMTP id w79ls314485lfi.12.gmail; Mon, 12 Feb 2018 10:30:12 -0800 (PST) X-Google-Smtp-Source: AH8x227p9AmQMJN+aOpsiv+gZdfkRJLJFMTkxf8Jjp22u84+BX3nLKVWNBVeLutC2Mf9FBUCj3oC X-Received: by 10.25.233.24 with SMTP id g24mr897560lfh.29.1518460212706; Mon, 12 Feb 2018 10:30:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518460212; cv=none; d=google.com; s=arc-20160816; b=Z3LaU/gZB/4e/qgTKHsm+ZYIdWLfBnDDE8eG1L6SnAlXUPjA99x94qL+dxE1MDw4nt UrHLNia63FtMldsBgHYX6YDDSnY9pSqPS3xWJJeZmrk0NTwYThNIrfhh+eFgetZDwO2o QXtWkqCp+7vxC3mJq/o990B4MLh5Yf1Yo3hHwIoe3z69RSmrgCQiJyhBe9Ss5Emj28AP vaYNzrClj9COq5CoW29x0MOvmnmYjQ12E0wrKKU8PWUUs9+oD3q6kiq+T8SEyLwgWNJt vFc09kEYJXJWoJe0FcUiZbO6PYnYaulsMuhgk4jpypv4vEpZGz7mtiipVDaYiyY98V2E wqqA== 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:arc-authentication-results; bh=6PoxeNfrOTRqExJma4bICqR7rSy6CLLemzVDxkw+QaM=; b=ERnnLcEW7/LK3jfomONxczqKSsxDDpABp0JEh9UDnmsxpzgDmEicy2NoaSEQVbT03V ukDVXMqI/Bxm8k4W+ahGcI9X7j8Z2CMJO5K+8M8f2vCgr5dpUCz1FjijFncy7upkCupT UBF8NcvM9h1oXtNT692zHZTXJhwDe2DgYY+C49SjLO8LmkfTfKuaWyawRgLd5dj2z9NA n2dCO4pyLdUrrXr4DUoKGVbkHGcvPP7aFw+Uy4XmwYR6ID5DnMVjE33T6Vl5en9OWmYM wPNcnAaH9s8VnpevtzaJ4T/5GfciIcI2tYwm4PkLqc+ULxfZ0lL7U4XguskTUSQoll/Y +fVg== 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 u10si504891lju.0.2018.02.12.10.30.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Feb 2018 10:30:12 -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 mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w1CIUBDf029659 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 12 Feb 2018 19:30:11 +0100 Received: from mmd1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40] (may be forged)) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w1CIUBHh028702; Mon, 12 Feb 2018 19:30:11 +0100 Date: Mon, 12 Feb 2018 19:30:13 +0100 From: Henning Schild To: Alexander Smirnov Cc: Subject: Re: [PATCH 0/9] first wic integration Message-ID: <20180212193013.5ce68744@mmd1pvb1c.ad001.siemens.net> In-Reply-To: References: <20180212182737.17fa8658@mmd1pvb1c.ad001.siemens.net> 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: oVPVPSxFjgal Am Mon, 12 Feb 2018 21:21:26 +0300 schrieb Alexander Smirnov : > On 02/12/2018 08:27 PM, Henning Schild wrote: > > 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. > > I need at least one test for this series to be sure that CI checks > wic image every time Isar is updated. Could you propose the machine > to switch to wic? It is all tested on qemuamd64. Henning > Alex > > > > > 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 > > >