From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6517147827419742208 X-Received: by 10.25.153.136 with SMTP id b130mr2406161lfe.31.1517392983484; Wed, 31 Jan 2018 02:03:03 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.123.4 with SMTP id w4ls690999lfc.6.gmail; Wed, 31 Jan 2018 02:03:02 -0800 (PST) X-Google-Smtp-Source: AH8x2247dVtmahz7lPFhX38zSpgwzlttcta4TftkYhcGKW7kRJ4ricidpLaePZi8eJI9CKvhZknt X-Received: by 10.46.77.193 with SMTP id c62mr576898ljd.32.1517392982376; Wed, 31 Jan 2018 02:03:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517392982; cv=none; d=google.com; s=arc-20160816; b=0OSVDqh1qv+fGYh4X+MoJHDB0OcXWFh57sHoWLgqKU2kTmqpYA3Da7B87AbMKsuva+ Mikc/jbBQMyXlJxxWzZfiFqZbZw4DiCN2/DkaHVmAHyHLSQd1cjDzPKZ5UrJ7N4HQhnz PDzaVTKR6ehxz877ZhsTj1jLhcVZDrLoxjFz3OQpPnMt/YbTlP2Ag2PiTMMS4yy44hP6 RuzEeGTX5QNZq0lWWApEpGVC8dV2AfE40sQM0Vf1uqlq7f/E0JxK73VTLIbYn+7cQ9D8 qSen11R9waqHAQKVvItbErKN4ym1cNV2rewR6mWrFmJBKhI8VKH9BftwjImMOLJwzq3E ovNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results; bh=NUv4QEfFuXidXojRCzMb7QznFL0D7rURaQH/JZI5r9w=; b=snKkB5XfI+78CCIogTUEuFQ/k0j/sKPOJBSjObn3O+327LhU/g+9TEDnYhwfQKxZHC S7QTYTja0+dQe1wFViV4RBT9Y6rFKgAWnGdH96ndzCz1kFd8KyRQ8oZSVOIbEFPERRBJ AYBSeSToc524u8j9O6lFzSfyw0CFuAggH33VyaejzCjNW4Aib1/oGzrOcmQbCmWctnRr QtYMIXAem2UrS1RF44mVJPLkorxvpdDWG9o8asq7yqaND5OXi9L0Payc1HsuEFRBhET6 BqTFbU/hg1yY7F+4lzvmmQi4m04MD3RemL/085tojoJmEZoIPrKYTYDy38bZ6BV0aC3u uplg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id n69si681869lje.4.2018.01.31.02.03.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jan 2018 02:03:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from [10.0.2.15] ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w0VA2wfR007880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 31 Jan 2018 11:03:00 +0100 Subject: Re: [PATCH 0/9] first wic integration To: Henning Schild , isar-users@googlegroups.com References: From: Alexander Smirnov Message-ID: Date: Wed, 31 Jan 2018 13:02:53 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: V+MLstq5cA8M On 01/31/2018 12:41 PM, Henning Schild wrote: > 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. > Are there any changes in user interface? Am I right that old commands still work? Alex > 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 > -- With best regards, Alexander Smirnov ilbers GmbH Baierbrunner Str. 28c D-81379 Munich +49 (89) 122 67 24-0 http://ilbers.de/ Commercial register Munich, HRB 214197 General manager: Baurzhan Ismagulov