From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6517147827419742208 X-Received: by 10.28.156.21 with SMTP id f21mr606869wme.10.1518459697175; Mon, 12 Feb 2018 10:21:37 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.116.12 with SMTP id p12ls1172417wmc.2.gmail; Mon, 12 Feb 2018 10:21:36 -0800 (PST) X-Google-Smtp-Source: AH8x224ocatOwr5eueuc4HCE5tGeaIYkIRSrtYQip0ZMy6jbJbarv0czC0Hfp33ltil3pDQr6GsL X-Received: by 10.28.111.148 with SMTP id c20mr564286wmi.7.1518459696665; Mon, 12 Feb 2018 10:21:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518459696; cv=none; d=google.com; s=arc-20160816; b=pj7BtwTGAygi2KgIQUHhPIv9+MmU7uYrbpe8iFRP2XHeeBI8DXJsrBQpKQPcg3hE7x +p0r8H4kMlMrjKf19AtDP3Wm+7JId5qAvCHcG0U0xI6Dh5ghOfJG4KI6w26COlginazd DLGLF48s2i87oVC8s1cAJDIV3kExQ3Fl7Z/13efnyRlrchsOMUv777gP2bRi3twKys8L me0sZw6JPTAmkpZKTmuph9srYZ+U91d9uS5kbaIe0WFoYscRcGMXx/xP2XK0N9PRc1BG Ga5AkadPIDwtskhRuuLjeV9gXifjXXhex/OZshB56kl58iBAfh8NAfz4yme3G6rki6Lm yUSA== 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=Qdt8V98eV28sv4gymvhQ7WAuCfH3g4DzURAS34MMTcU=; b=wNnG/xRX05nZMxUjK2iW7DEfU08L21Z8/QFsVMtrPST6lQM60DaKMYoha/Z/I/Zj0e sAyK/nPru76I6zjlUpp4bIUthmeBLiW+qwG1XqGF0pyhteTV+6wgBPFPegMysOIGinQr Pv7vt1GgctHqF7h4/gW97RijnYO9c6U+5OQ/aPSi4VsDtupX0Bcz+7B7m0r1yxcQF6/f 6wjALd7q2QgRLcwcd7MDBcS9M7UEUPqVm3yQLu8/WjC5KPQTUmNCFfKex/M6IxTWRQqZ UVQT0UtRwDRUuo3P9d/hnDgYMlysaz6z+6erFaS/ZbpqpBeXL+A28xVdPgaBGmG35Un5 BjLQ== 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 y42si434717wry.5.2018.02.12.10.21.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Feb 2018 10:21:36 -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 w1CILVBV002591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 12 Feb 2018 19:21:33 +0100 Subject: Re: [PATCH 0/9] first wic integration To: Henning Schild , isar-users@googlegroups.com References: <20180212182737.17fa8658@mmd1pvb1c.ad001.siemens.net> From: Alexander Smirnov Message-ID: Date: Mon, 12 Feb 2018 21:21:26 +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: <20180212182737.17fa8658@mmd1pvb1c.ad001.siemens.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: gqdpMzTWGKDZ 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? 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 >> > -- 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