From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 09 Jun 2026 10:44:39 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f55.google.com (mail-wm1-f55.google.com [209.85.128.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 6598idIU003589 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 9 Jun 2026 10:44:39 +0200 Received: by mail-wm1-f55.google.com with SMTP id 5b1f17b1804b1-490bfd70b0fsf53771245e9.0 for ; Tue, 09 Jun 2026 01:44:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1780994674; cv=pass; d=google.com; s=arc-20240605; b=LnKqqTOOUhacSiGAgJAEIm6jZQhWxxQR76DkfbaXvbxmD1BPQFrj2yoEN7n+vxGG7p HQ3zhVFcjL9ctEBvnAH35LTYZ3qydr6KTs9/0YuQPNxrTYsEQs3CzQnHmaKN2pziFlVl l4WltN/E4c7s6SUrJB2NBQ8VwOH9RJmnVy2IBEZ6bt2rbRzy+TwhHmJt46I/HmOZhW6n AexFX20I5UeToM0DId5eARIhOuaErZpwd2I8GMMJzknSfBcBZqZV3/WHPtQ/js8+AL4t HEzNQbEIpkGPxlDCAY5gL7WLIhVgDMapiD/nXCrXjWpAiCVjib9dJ98oGMRgmSZ3SSEq s0zg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=tQ6PVsLssp8d5wBmXVPObZkqKHMW9Y3fQT09OzBGzqE=; fh=/dmAm3JNs0SLmk1TzWvNUWeuhFbcE0g8aOXWvXHtqB8=; b=TuR6qB0KHev6nRC/K8QT6qmcdOg62IY07UUi+7E3V/UmeJ8LLFjphqTFFWN/ySiQKD wip8NvlCqt4aakuIYTJXagbGA2n6QghmiJvqf4QaAf8q86owDc3+mR63a7zGxJwCWbPx yiQDpxjDToXOlj/I0WdWDlAYTMvetINGy8d9gHfroKy4xzmjyglTHerTMR3z5DgDGPym S006ORGPEj7jPKFjaO2kR8+K1J+F31TXmaztvUp2qafXtmCmPX5is5ApSAQGIADYHXUA IyhCJNq499ws9pDqdE4ROm0GC/ZAGUX5joY4rQtx7U0AE/wEmcMnw8D905lrvHenRAIi CMqg==; darn=ilbers.de ARC-Authentication-Results: i=2; 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1780994674; x=1781599474; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=tQ6PVsLssp8d5wBmXVPObZkqKHMW9Y3fQT09OzBGzqE=; b=lLds8WrqzqhvIyt830TUJqEzr2A4t1oEmEeSIFuBD3jBDUI3kVm1iTdTfplQCOPZ1n U/QRDJT3ty4ZP6i6OuY5a4RxParDMezvpwQM1Eprto4yuQXSYM41tKf3yiGnn4VShx8v 77TNc5GPS1y4WAkpiLIy9OlznqF2Mr5U5INQ+KFKsXSAP7DKqMVWppPmwpWwX8cEtWFB mzQDLa1V+LQ1za1jAzI6ZfvCq5J0Elomq477XkILqFkzi4d8w5JBv3uwoPp4OwW5l/WT oYv4wxR4y/+883dhMnLivS6OIcf1LTjmmc+TADsoMVRUsj7NcUrduO/zIro7K7MbMwxb QOmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780994674; x=1781599474; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=tQ6PVsLssp8d5wBmXVPObZkqKHMW9Y3fQT09OzBGzqE=; b=gL8rsUDhtEcX+x3HfciLes0NZZO72Et1pUBSOD3yonpBfMSHA1+bjBsMp4sL1hKznJ MNHdJcqq1jrOjwWrWuBrTBG4XLCmaIoqoMSnyhpj288sR4uy1BQS236LJ4p92aCMxa0h j44rA8/duqH5Ye0XG2Jgy3+KMn5frMaHNsGb2SyLi/TCkOT6HV5uacj0uzsXCOUtKwFL F7WQ3XNRN4RTBQdzF0HHsMnaU/g+Cszth/qlaLTwjgJQ2Q7WerwpVY+RIz0LkEF6uUxw LhC0T7ySlG6gMy3EpWTpCLMUlZOGNc1u0fSD/Ev6vn7zIaMB3vVLJarLbXWjlNGYoGiD lC3g== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AFNElJ9cOSQq6V3oqQJafqSlPRsCs8H1cFyAKsMk/w7B/0a7J2jWCFfS9WKGrH+rcyiV7nsPCiXZ@ilbers.de X-Gm-Message-State: AOJu0YxIw7rvduhZWSQyc9VZPG4mfy64yhsltu9/PWZFGpYbzsOh4ZR1 1cduWaJ/1F9J2y//eSJ4bHthFe8cquXibloJbNW0v2pP2aJsmEZwhUKQ X-Received: by 2002:a05:600c:528f:b0:490:c7dd:de3e with SMTP id 5b1f17b1804b1-490c7dddf1fmr231380335e9.31.1780994673620; Tue, 09 Jun 2026 01:44:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AX0PUUfPFWWW/I9glh7qprDwjG3/tFAq/Csg2s7MulAD01iDOw==" Received: by 2002:a05:600c:4590:b0:486:fa9e:92eb with SMTP id 5b1f17b1804b1-490bca726bcls50334285e9.2.-pod-prod-02-eu; Tue, 09 Jun 2026 01:44:30 -0700 (PDT) X-Received: by 2002:a05:600c:3107:b0:490:9588:bdb6 with SMTP id 5b1f17b1804b1-490c264cc2emr323409425e9.33.1780994670640; Tue, 09 Jun 2026 01:44:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780994670; cv=none; d=google.com; s=arc-20240605; b=kZXLJO+24So+XSsz2aWf2DJ9aRRoYcuYcoo4WsMzq9F1IzX8SBfzipjX1yds0cL7Id Zb0k6ozl7u++Tk9IfmRvwoTj4mTKEZb4um4RKq8ic7C4EJXosEVNXmAuk0/8q/UHFIN6 vubBxowkatc2BxL08P46s+1zY+5PfFy8WWVnqN8kMAZoU6bMrPSqUClS/YTsRdSTuXbF vBKdpNTuY/l1OR2QLucmjSrSWXa3jOaU0Ra2DtVxjXuzP4EP0VgBMCxM9cybnhDeNyHR UO1c5lInwmt77w8YcFJyX3kp10I6Y5UJbhgE992EiCnziT35gqIZ+2lQPEzv6LxqvX3V TjJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=2DM3tzxdaz/JhbCTVx1YxAks1rV/6jSLXlExmj46zjs=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=Dyzk6lr90HWGzkzChFTqIqn0/29xuX0NYoJaizNc2CNlN+LZqtmAVd62gFFhX6pz+M eppUZtieBsVlg3QL4FWPE5kGCUacbUC8e2NIqn1JhT7OXPk2VayNhWCbQJEuYIMPLmOV NxNxHxX/N/3NBNgfgOtvyDbzP3/I9eh1eSuhzjr0drct6FiM22nHKzpnfz7IkLtvTdpY YpOGzZBI8W7VhAy0zbEJvzzB9/j+Mz1ZViUMnoqZQlHgddltGpNPWwJpvbTOSATF46mI UakIh6jG9fU2hNwJZ6F7/80FjS2kJEIZOtIJmscDnyed7IYyAeDRV0kdlYFySENMoqIl EGoA==; dara=google.com 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 Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-490bc3e1f3bsi3883505e9.2.2026.06.09.01.44.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2026 01:44:30 -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; Received: from user-B660.promwad.corp ([159.148.83.123]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 6598iTgG003564 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 9 Jun 2026 10:44:29 +0200 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v11 0/3] Move kernel artifacts deployment from image recipe Date: Tue, 9 Jun 2026 11:44:19 +0300 Message-Id: <20260609084422.3948645-1-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: amikan@ilbers.de X-Original-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 Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: FRUTBdEyFODK Image task "do_copy_boot_files" is used to deploy kernel, initrd and devicetree binaries to deploy directory. When different images for the same target are built (e.g., "-base" and "-debug") in parallel, this causes issues with DTB deployment since they have no any image_name-specific stuff in the path, unlike kernel and initrd. Here we move DTB deployment to the kernel recipe (for both distro and custom kernel recipes), where DTBs and kernel image are extracted from the kernel package. For the distro kernels it means we install its deb into the schroot to obtain the real artifacts from the filesystem. To keep the same artifacts path as before "do_copy_boot_files" task is now searching for the artifacts and create per-image symlinks. In case any naming conflicts (like dtbs with the same name from different kernels) the latest built dtb will be pointing by the symlink, while both will be deployed to different subdirs without conflicting and stay untouched. This symlink creation is done in the same way as artifacts conficts are handled by Yocto. The case when different distros (e.g., bullseye/bookworm) are using the same name for DTB binaries is covered by the patch 2. It also covers the case when image uses different kernel suffix (e.g., "realtime" option for the kernel in some downstreams). Related topics on maillist: https://groups.google.com/g/isar-users/c/ht3YmKZcJlM https://groups.google.com/g/isar-users/c/4BRDM02xC40 https://groups.google.com/g/isar-users/c/qAnjahjjfsw https://groups.google.com/g/isar-users/c/ZMD4XY4dKWQ https://groups.google.com/g/isar-users/c/PSGU_AcdPZ8 https://groups.google.com/g/isar-users/c/Va0Ue-ISYeA https://groups.google.com/g/isar-users/c/ixzytHYnTmI Changes since v10: - Rebase on next. - Use the same deploy dir with per-kernel subdirs. - Allow using different kernels for one machine. - Restore paths for downstreams in Yocto way (symlinks). Changes since v9: - Base on v6. - Rebase on next. - Move also kernel deployment from image recipe. Changes since v8: - Rebase on next. - Document how this approach differs from OpenEmbedded. Changes since v7: - Fix SOB. Changes since v6: - Fix isoimage-isohybrid-isar WIC plugin. - Split testcases. - Update wording. Changes since v4: - Rebase on next. - Squash latest patch to first one. - Fix deploy paths in initrd tests. Changes since v3: - Rebase on next. - Fix target deploy dir path for installer. Changes since v2: - Patch 1: Consider also kernel suffix. - Patch 2: Use separate testcase for possible dtb clashes. - Minor cosmetic fixes. Changes since v1: - Separate `dtb-files` recipe used instead of linux one - Included older "[PATCH] Fix do_copy_boot_files error" into the series ( https://groups.google.com/g/isar-users/c/Va0Ue-ISYeA ) Anton Mikanovich (3): meta: Fix do_copy_boot_files error for different distros of same machine meta: Move kernel artifacts deployment from image recipe CI: Check kernel artifacts deployment RECIPE-API-CHANGELOG.md | 28 +++++++++++ .../installer-add-rootfs.bbclass | 2 +- meta/classes-recipe/image.bbclass | 39 ++++++++-------- meta/classes-recipe/linux-deploy.bbclass | 46 +++++++++++++++++++ meta/classes-recipe/linux-kernel.bbclass | 3 ++ meta/conf/bitbake.conf | 2 +- meta/recipes-kernel/linux/files/getkernel.sh | 40 ++++++++++++++++ meta/recipes-kernel/linux/files/rules.tmpl | 12 +++++ meta/recipes-kernel/linux/linux-distro.bb | 27 +++++++++++ testsuite/citest.py | 30 ++++++++---- 10 files changed, 199 insertions(+), 30 deletions(-) create mode 100644 meta/classes-recipe/linux-deploy.bbclass create mode 100755 meta/recipes-kernel/linux/files/getkernel.sh create mode 100644 meta/recipes-kernel/linux/files/rules.tmpl -- 2.34.1 -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260609084422.3948645-1-amikan%40ilbers.de.