Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34AC3606A31C for ; Mon, 30 Nov 2026 09:57:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=buildroot.org header.i=@buildroot.org header.a=rsa-sha256 header.s=default header.b=KpSW9AO7; dkim=fail reason="signature verification failed" (2048-bit key) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=COorv+5k Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 157C1605DE; Mon, 30 Nov 2026 09:57:18 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 2kI3AUJgJ7qL; Mon, 30 Nov 2026 09:57:17 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org 042F560660 Authentication-Results: smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796032637; b=lG80qSA2yUm6XgXjEPAT2Sf1GO4abaIQhHNU6QowfgIEX/5cBXYpVTHqKbwz91GceLxc 42NQ4cPpMwOWePCdK9Zlg/7NfFw0Vms2HMmkUkMVZc4QBEzUELRQAusCgHMe/fTv+2xc8 svyF7vyVQmKd7rSCSgcuw6jijCUBsOkS++YZIQ34ORm//MaIU+NkR0X1wnYczhrjwC311 lLLLq4u5+ZLgShVGPHb95wX3jWa7e/tzt0PpOcjoKh8HW6cOMn36YLEqMfDLQfPvOs5Qc uiJ9BGjTNIny16RkheiYJTYZOaMnoTyrZ0/oHpBbh/Lpeis4pYEnqk7v5z5Q146Vzwg== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796032637; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:From:To:Date:Message-ID:X-Mailer:MIME-Version: X-CMAE-Envelope:Subject:X-BeenThere:X-Mailman-Version:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help: List-Subscribe:Cc:Content-Type:Content-Transfer-Encoding:Errors-To: Sender; bh=djzC74rhRgYJyFrp8nc3VD/NFFTDPezW5XbVhbKWfw8=; b=SOuel/OF+TI7mEYSGXaGfBQiEOiBoR+ec8noZG8LXeI3AafEw/DsOMWz8NjGR/faNqEt 4EYmy6pjbraiOc4lfVw4VZhfGewIHb54t2ISylT0EVu8RNir9EhQ0WEqGdwvPN8O0wLFE i0gCS0yYYC98e06y8DQbMo9QuLKPjIJxYq7kTSLRFxSu928GozfE1CUTXqzJfWBEJ5r4Z A741gePhaJi9N2wAr+XnEdVLD1UNpBb/wBgDfgAADuzlYBjU0YTyBakdQnHXpcXd3Rucs 6x20hhmS7kmyseiPKWPN2zGC6AeqluLrFso0quBNfOcIHoX+TLaa1u7jhm99oXGP/dA== ARC-Authentication-Results: i=1; smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org; s=default; t=1796032637; bh=djzC74rhRgYJyFrp8nc3VD/NFFTDPezW5XbVhbKWfw8=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=KpSW9AO7XGpzMYnraCwlYsmmBWBDdthppbRL4YFwnzJutxfONg2tg95duozW91nSz TgkMM5f+N+TLPwth0sa9mO01ZQuZjqb/wDXmikmO+4zf7aoYdEXb2j14SxVNx2FxOJ q/a22YnY7QXp+x/Hp13hSF0C2tkHEev+TFqe59zZhDj+cw+FfBCJR7OsYGo5TQReOC 2aDw+NAOXOd0H2GLgxfFPmNYRJiUtMUwUfjkqyntFBAmfr45dttSTn9s94iMdphAL0 RDSmCwXqWfsy4ZbzjZD2d8aWW4M6o9y3WAziJlglUjVU6Y/orjeYnKNv6S6wwlAI5C GZlxQRVcWbrFw== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 042F560660; Mon, 30 Nov 2026 09:57:17 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists1.osuosl.org (Postfix) with ESMTP id 2B8EF712 for ; Mon, 30 Nov 2026 09:57:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 1C50940072 for ; Mon, 30 Nov 2026 09:57:13 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id cZ1JdDcOIHte for ; Mon, 30 Nov 2026 09:57:11 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp2.osuosl.org 5466C40064 Authentication-Results: smtp2.osuosl.org; arc=none smtp.remote-ip=62.149.156.41 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=62.149.156.41; helo=smtpcmd0641.aruba.it; envelope-from=giulio.benetti@benettiengineering.com; receiver= Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=benettiengineering.com Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=COorv+5k Received: from smtpcmd0641.aruba.it (smtpcmd0641.aruba.it [62.149.156.41]) by smtp2.osuosl.org (Postfix) with ESMTPS id 5466C40064 for ; Mon, 30 Nov 2026 09:57:08 +0000 (UTC) Received: from localhost.localdomain ([95.249.253.35]) by Aruba SMTP with ESMTPSA id Xy86xHaIcghIEXy87xTjJx; Mon, 30 Nov 2026 10:57:06 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1796032626; bh=0VUxaol3zmA9aOviimvvmqYKKlnu8VPtGnwFlzfJA2M=; h=From:To:Subject:Date:MIME-Version; b=COorv+5kkXpZZh3qLaKGkgIVAuQ8AIb+8kYimV/fymLMcOkZm7/CAM0Jf7RNaj33d teZoKdGflgypvaKWB3C+qCAlM93QIX8HF4NMEhbjOgMoLmR2++59O/W7HNmb4+ro/i o/OTsZK4+G6GbIzyTXpO3/ItmMI92CQTGoMp11slnNxq/ntu+YJq1U8d2palvoKsaL PnSf7iLA29AqpugBjnmcuQy5PFQOyHfeTcIuxLN06C3UyKF4HvTpawQS5Flab3Id5N ut2uh4jgj357Ktm6IsNc5SXGZGbKgilKYrDcYhZM6OAHLAbdMSg7LxWuYjh0tWIc8i vMo0pdIcV+20g== From: Giulio Benetti To: buildroot@buildroot.org Date: Mon, 30 Nov 2026 10:56:16 +0100 Message-ID: <20261130095702.2521737-1-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.47.3 X-Archived-By: MIME-Version: 1.0 X-CMAE-Envelope: MS4xfC5R4OxUSD6j9b/DclHCddfAgm+OcthsFtU3L/VaOcaJVB9wrEmjeflvvJygwHZthOcGczH8VywJi2+MAvvyRGypaTVQomcBYUJIxUu45cBj4t1nzCS6 hdYLMO8uh62CKZyZQuCxzwSlK11KXJTTXLL1CF+iY09bJvvJ6AeV5EPrFyCJ3Qa4pgKoPOVeYOT88WK/beUnRamLSU28TSQR27y+baMRoPxoQdmaZRLsmO1N 5FtjEXIU8Zk2m0ZJP4iDDalcvpl7daZNuJhb6zG8Vx8tAygIQZEhZXi+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RgM4Nh5euvFqsuWocuojdY5BjDn1Kudjzcs7ubVJf6cIWYKJ69lvHA== Subject: [Buildroot] [PATCH 00/46] utils/check-package: add checks for genimage*.cfg files X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Vincent=20Stehl=C3=A9?= , Bryan Brattlof , Ricardo Martincoski , Jiaxun Yang , Marcin Niestroj , Francois Dugast , Thomas Petazzoni , Heiko Thiery , Dario Binacchi , Sergey Matyukevich , =?UTF-8?q?Vincent=20Stehl=C3=A9?= , Ludovic Desroches , Francois Perrad , Jagan Teki , Thomas Bonnefille , Jamie Gibbons , Michael Trimarchi , Kilian Zinnecker , Joel Stanley , David Lechner , Alistair Francis , Eugen Hristev , Julien Olivain , Damien Le Moal , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Romain Naour , Kory Maincent , Leo Yu-Chi Liang , Simon Doppler , Michael Walle , Dick Olsson , Giulio Benetti Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "buildroot" X-Spam-Status: No, score=-11.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hello, this series adds check-package support for the genimage*.cfg files, as Arnout requested[1], based on the "The genimage.cfg file" section of the manual. Patch 1 adds the checks with their unit tests, and lists the existing files that do not comply in .checkpackageignore. Each of the following patches fixes a single board (or runtime test), and drops its entries from .checkpackageignore. At the end of the series no genimage*.cfg file is left there. Patches 2 to 46 have to be applied in order, since they all modify .checkpackageignore. The generated images are not supposed to change. I've verified it by running genimage 19 with stub input files before and after the series: the 43 disk images are the same, except for the random GUIDs and the related CRCs. The other 3 files (aspeed ast2500-evb and ast2600-evb, licheepi_nano) describe flash images, so there only the content of the files has been compared, ignoring white spaces and comments. No board has been boot tested. Some notes: - the GPT partitions lacking partition-type-uuid are set to L, since this is what genimage uses by default. This is not the most accurate type for bootloader, FAT and root partitions, but a better one would modify the images, so it can be done later board by board - board/pc/genimage-efi.cfg now uses root-x86, because this is the shortcut of the GUID that was already there - the shortcut table comes from genimage 19, while Buildroot has version 20 - genimage.cfg.in and genimage.cfg.template* are not checked, since they contain placeholders [1]: https://lore.kernel.org/buildroot/276de7b8-12a8-055a-7c62-f33befd82f5f@mind.be/ Best regards Giulio Benetti Giulio Benetti (46): utils/check-package: add checks for genimage*.cfg files board/aarch64-efi: fix genimage-efi.cfg coding style board/amarula/vyasa: fix genimage.cfg coding style board/andes/ae350: fix genimage_sdcard.cfg coding style board/arm/fvp-ebbr: fix genimage.cfg coding style board/aspeed/ast2500-evb: fix genimage.cfg coding style board/aspeed/ast2600-evb: fix genimage.cfg coding style board/avnet/rzboard_v2l: fix style and set partition-type-uuid board/beagleboard/beagleplay: fix genimage.cfg coding style board/beagleboard/beaglev_fire: fix style and set partition-type-uuid board/bsh/imx8mn-bsh-smm-s2-pro: set partition-type-uuid in genimage.cfg board/canaan/k210-soc: fix genimage.cfg coding style board/compulab/iot-gate-imx8-ebbr: fix genimage.cfg coding style board/coolpi/coolpi-4b: fix style and set partition-type-uuid board/grinn/liteboard: fix genimage.cfg coding style board/khadas/vim3: fix genimage.cfg coding style board/kontron/bl-imx8mm: set partition-type-uuid in genimage.cfg board/kontron/smarc-sal28: set partition-type-uuid in genimage.cfg board/lego/ev3: fix genimage.cfg coding style board/loongarch64-efi: fix genimage-efi.cfg coding style board/mender/x86_64: fix genimage-efi.cfg coding style board/microchip/mpfs_icicle: fix style and set partition-type-uuid board/microchip/sama7g5ek: fix genimage.cfg coding style board/minnowboard: fix genimage.cfg coding style board/octavo/osd32mp1-brk: set partition-type-uuid in genimage.cfg board/octavo/osd32mp1-red: set partition-type-uuid in genimage.cfg board/olimex/stmp1_olinuxino: set partition-type-uuid in genimage.cfg board/orangepi/common: set partition-type-uuid in genimage.cfg board/orangepi/orangepi-5-plus: fix genimage.cfg coding style board/pc: fix genimage-efi.cfg coding style board/pine64/rockpro64-ebbr: fix genimage.cfg coding style board/pine64/rockpro64: fix style and set partition-type-uuid board/pine64/star64: fix style and set partition-type-uuid board/qemu/aarch64-ebbr: fix genimage.cfg coding style board/qemu/aarch64-sbsa: fix genimage.cfg coding style board/qemu/arm-ebbr: fix genimage.cfg coding style board/qemu/loongarch64-virt-efi: fix genimage.cfg coding style board/qemu/riscv64-virt-efi: fix genimage.cfg coding style board/radxa/rock5b: fix genimage.cfg coding style board/seeed/stm32mp157c-odyssey: set partition-type-uuid in genimage.cfg board/sifive/common: fix genimage_sdcard.cfg coding style board/sipeed/licheepi_nano: fix genimage.cfg coding style board/ti/am574x-idk: fix genimage.cfg coding style board/visionfive2: fix genimage.cfg coding style support/testing: test_grub: fix genimage-aarch64-efi.cfg coding style support/testing: test_xen: fix genimage.cfg coding style board/aarch64-efi/genimage-efi.cfg | 1 + board/amarula/vyasa/genimage.cfg | 2 +- board/andes/ae350/genimage_sdcard.cfg | 1 + board/arm/fvp-ebbr/genimage.cfg | 2 +- board/aspeed/ast2500-evb/genimage.cfg | 3 +- board/aspeed/ast2600-evb/genimage.cfg | 1 + board/avnet/rzboard_v2l/genimage.cfg | 3 + board/beagleboard/beagleplay/genimage.cfg | 56 +- board/beagleboard/beaglev_fire/genimage.cfg | 8 +- board/bsh/imx8mn-bsh-smm-s2-pro/genimage.cfg | 1 + board/canaan/k210-soc/genimage.cfg | 1 + .../compulab/iot-gate-imx8-ebbr/genimage.cfg | 2 +- board/coolpi/coolpi-4b/genimage.cfg | 3 + board/grinn/liteboard/genimage.cfg | 4 +- board/khadas/vim3/genimage.cfg | 2 +- board/kontron/bl-imx8mm/genimage.cfg | 1 + board/kontron/smarc-sal28/genimage.cfg | 1 + board/lego/ev3/genimage.cfg | 3 +- board/loongarch64-efi/genimage-efi.cfg | 1 + board/mender/x86_64/genimage-efi.cfg | 6 +- board/microchip/mpfs_icicle/genimage.cfg | 7 +- board/microchip/sama7g5ek/genimage.cfg | 1 + board/minnowboard/genimage.cfg | 1 + board/octavo/osd32mp1-brk/genimage.cfg | 4 + board/octavo/osd32mp1-red/genimage.cfg | 4 + board/olimex/stmp1_olinuxino/genimage.cfg | 4 + board/orangepi/common/genimage.cfg | 1 + board/orangepi/orangepi-5-plus/genimage.cfg | 2 +- board/pc/genimage-efi.cfg | 2 +- board/pine64/rockpro64-ebbr/genimage.cfg | 4 +- board/pine64/rockpro64/genimage.cfg | 4 +- board/pine64/star64/genimage.cfg | 35 +- board/qemu/aarch64-ebbr/genimage.cfg | 2 +- board/qemu/aarch64-sbsa/genimage.cfg | 2 +- board/qemu/arm-ebbr/genimage.cfg | 2 +- board/qemu/loongarch64-virt-efi/genimage.cfg | 1 + board/qemu/riscv64-virt-efi/genimage.cfg | 2 +- board/radxa/rock5b/genimage.cfg | 2 +- board/seeed/stm32mp157c-odyssey/genimage.cfg | 4 + board/sifive/common/genimage_sdcard.cfg | 2 +- board/sipeed/licheepi_nano/genimage.cfg | 5 +- board/ti/am574x-idk/genimage.cfg | 2 +- board/visionfive2/genimage.cfg | 2 +- .../boot/test_grub/genimage-aarch64-efi.cfg | 4 +- .../package/test_xen/aarch64/genimage.cfg | 2 +- .../tests/package/test_xen/arm/genimage.cfg | 2 +- utils/check-package | 7 + utils/checkpackagelib/lib_genimage.py | 407 ++++++++++++ utils/checkpackagelib/test_lib_genimage.py | 623 ++++++++++++++++++ 49 files changed, 1163 insertions(+), 79 deletions(-) create mode 100644 utils/checkpackagelib/lib_genimage.py create mode 100644 utils/checkpackagelib/test_lib_genimage.py -- 2.47.3 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot