From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7003689951757860864 X-Received: by 2002:a2e:97cf:: with SMTP id m15mr9148463ljj.243.1630904720658; Sun, 05 Sep 2021 22:05:20 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3ba:: with SMTP id v26ls258209lfp.3.gmail; Sun, 05 Sep 2021 22:05:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytY0nXxK7iu5ChBTeyQ0gRRi7UV6bnrnK0vtmnRrRLlsuwxsoopdcvDSKEORInVEtQG18f X-Received: by 2002:a05:6512:20f:: with SMTP id a15mr7897284lfo.537.1630904719424; Sun, 05 Sep 2021 22:05:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630904719; cv=none; d=google.com; s=arc-20160816; b=Xia6fx6Ra4raQ7nNqQreUBxZbw/qiN6b9EoXVJnKsdE5N6SUDwLuyUEz97GATV4Okp r3islBs2tyHld4FETGYlDR20SlJc5av0QQsOWbu4+CA7f8JQclWRDvqo/xTSeLCmXMOV 10ErdZ0LRFgPTYPcj8O5gR59WwOWB7tRKw3CTZvzc4160tqE6ajerBCiCfB2Oq4jTCkS lS8cL2CQVU/8vGXO9RZQLCxPOKHqwbj1tBYl8bNRyQkYxAp5Hagm172aO234c4bCF1E0 N1Eec5qhP1fUJpcz4Tr7yI5uCYbSGZQJrdMhb2idVL5OzvEI+zeoslLFCYGgRPxlQGGq f+Ew== 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:cc:to:subject; bh=BShzajQko39D6byyEtKlsVM0DvZGPCpkj3U8qXz51wk=; b=fKfuqVbLJHBP5Fbs11SRF3ffwrRHZ8nFBdAadBV/Wx1M2lEX8VexAE1XwulH+XOjua 9j49kfI47YXEFWQ38XAe1YuD0MUxhrApP7BppW9vsQeaAEdP4SWksJchUroeqHRCYGsG XICCeG5oM7DQBAUPWjFnDCEyPZAgiwUljKjqQRvtdGAnLafd4i1FOGMVz1pWz3X29HqR WZi10vS8Mw0hob220iBgs1iVK/BPCqLIp2ETRtZtPMwQlwswiV1uPWiHIzfI1hV/GVI7 8OxkX5ymfHwyq++1utucEfa6d1gNbhoIXdLR6VsQUY05fHF0lGjQVPfYsf9gCLc/fd2M YMFw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id i12si363984lfc.10.2021.09.05.22.05.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Sep 2021 22:05:19 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 18655IDQ016222 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 6 Sep 2021 07:05:18 +0200 Received: from [139.22.33.80] ([139.22.33.80]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 18655HrB029050; Mon, 6 Sep 2021 07:05:18 +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 References: <20210903125355.12279-1-henning.schild@siemens.com> From: Jan Kiszka Message-ID: <02091f27-08ca-a3ab-504e-ff1e15bff2cd@siemens.com> Date: Mon, 6 Sep 2021 07:05:17 +0200 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 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: 8uxTQ/Ilfh2F On 03.09.21 14: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. > I already pointed this out to Baurzhan: We should create some developer doc somewhere that list the update procedures for forked elements. Which files come from upstream? Which are supposed to be vanilla? Which contain changes and should be revisited when upstream is updated? With such a file, both maintainers and contributors can check what to do when the want to update affected files / components or see patches touching them. Maybe start that file with covering wic and its plugins? > 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. I assume that this only applies to efi and pcbios images, not u-boot-script or anything else that manages kernel updates more or less properly already. Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux