From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7003689951757860864 X-Received: by 2002:ac2:5b9e:: with SMTP id o30mr8736413lfn.400.1631538323330; Mon, 13 Sep 2021 06:05:23 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3b88:: with SMTP id g8ls71084lfv.1.gmail; Mon, 13 Sep 2021 06:05:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzw7BZqg9JW9lM5FBsHOKgE5I2kfZC3VqebrD3PnA3jJYrGxtaL6O/afD82VSTwBL3GX4mP X-Received: by 2002:a05:6512:3f9:: with SMTP id n25mr8789187lfq.231.1631538322218; Mon, 13 Sep 2021 06:05:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631538322; cv=none; d=google.com; s=arc-20160816; b=rTfvYfefcmeQRDgBh/qcWSzH8HlbjhUh/PCybb57YNwbKLpwBB8H1rkZrahJa0JFOa B+YfD3EY4NEgEOi2FrOXpCRGjtuhkcOco4IUnoL5MyNKIqfIl5/eP5n/sY7mBm1rh3yc zTidad+O+ckV/CisAMVP5mmyJnJmlDoh85XSRdOduJpPumpavX0JjkG8SStQbVe9OFeA SZ672awhcXWKuFiFXj+abBM768N4+8i6GjeSrRJ5OrnXkPwmVTo6dB/otVborp6O66En /q5+KnV2aRiZF+LfM157p7VknbT6EfHwgjhh4JbV+aIqip4ktxLO9OyZGItZwPdaFnJx bPGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject; bh=EsB0MI1IfuXbdxynzutYkZJrfnkDxQcvkWB8IsLoE8w=; b=kuJAp1cJUSnAWHXADDQSJ/KcbB1nzXHzPcxfk6gkw7US6l13GqJCc3padCqtsFxFZB aeHu/z4AdQVttjvEKkrcNq25QyjDkAKE0hDLZXMluEDpfZru4gMT6gzv/sOigw46CZ4I fvgEkHRkdrjO7RcSEdOIX0DE4u+bbzbWJItwWTlfTdiuSzmTYJCV9rY/iLKw9oKT49I3 mom8YOm9U8s5a9hNpk/mNaTmiui9goUCB1OWw2nNIsvmVxy7nTgXkKl//P1OEOdr/46G qWw9fgdOVh77U3yIiYqjq8WbsMISKo+3LwzGlk8b3dE5MnlqWFp/Kz9nkOnWOu8bztpU 9evA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id f40si641296lfv.10.2021.09.13.06.05.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Sep 2021 06:05:22 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [192.168.67.164] (mm-240-58-214-37.mgts.dynamic.pppoe.byfly.by [37.214.58.240] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 18DD5IWc009199 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Sep 2021 15:05:19 +0200 Subject: Re: [PATCH v2 0/7] re-fork wic pcbios and efi plugins To: Henning Schild , isar-users@googlegroups.com Cc: Florian Bezdeka , Vijai Kumar K , jan.kiszka@siemens.com References: <20210903125355.12279-1-henning.schild@siemens.com> From: Anton Mikanovich Message-ID: Date: Mon, 13 Sep 2021 16:05:13 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210903125355.12279-1-henning.schild@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-TUID: 3aQ5rbN9TfUf 03.09.2021 15:53, Henning Schild wrote: > changes since v1: > - efi plugin forked as well > - systemd-boot support in efi plugin enabled > - common functionality in utility library > - test case for system-boot > - "cp -a" moved to "find exec cp" because of ubuntu > - changed wks files to exclude boot from root and mount it > > The forked plugins have gotten out of sync with the last wic version > bumps. And the original fork was not exactly minimal or made for easy > maintenance. > > This series does a re-fork of the two plugins with the aim to come up > with something readable, minimal and maintainable. > > There used to be a special case for grub-efi where the actual kernel and > initrd would remain in the root partition, which kind of allowed kernel > updates with apt-get. Now all three bootloaders (systemd-boot now works > as well) place bootloader, config and boot artifacts in a > boot-partition. > > Kernel updates with apt-get are now consistantly "broken". That > consistency very likely is not too bad. A generic solution for this > feature (if wanted) will need to be found. Covering not just these three > bootloaders but possibly also u-boot and efibootguard. > > Henning Schild (7): > wic: reset our plugin forks to OE upstream for re-forking > wic: add utility library for common bits of isar plugins > wic: apply the actual fork changes to our pcbios plugin fork > wic: clean up wic class in terms of isar variables > wic: apply the actual fork changes to our efi plugin fork > wic: mount /boot and exlude it from root for efi > meta-isar: use "systemd-boot" for one test target > > RECIPE-API-CHANGELOG.md | 9 + > meta-isar/conf/machine/qemuamd64.conf | 3 + > .../scripts/lib/wic/canned-wks/hikey.wks | 4 +- > .../lib/wic/canned-wks/sdimage-efi-sd.wks | 9 + > .../lib/wic/canned-wks/sdimage-efi.wks | 4 +- > meta/classes/wic-img.bbclass | 6 +- > .../scripts/lib/wic/plugins/isarpluginbase.py | 39 ++++ > .../wic/plugins/source/bootimg-efi-isar.py | 200 ++++++++++++++---- > .../wic/plugins/source/bootimg-pcbios-isar.py | 139 ++++++------ > 9 files changed, 290 insertions(+), 123 deletions(-) > create mode 100644 meta-isar/scripts/lib/wic/canned-wks/sdimage-efi-sd.wks > create mode 100644 meta/scripts/lib/wic/plugins/isarpluginbase.py > Applied to next, thanks. -- Anton Mikanovich Promwad Ltd. External service provider of ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn, Germany +49 (89) 122 67 24-0 Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov