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; Fri, 03 Jul 2026 17:08:52 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f59.google.com (mail-wm1-f59.google.com [209.85.128.59]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 663F8pEw017191 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 3 Jul 2026 17:08:51 +0200 Received: by mail-wm1-f59.google.com with SMTP id 5b1f17b1804b1-493bfc3b84asf3561995e9.0 for ; Fri, 03 Jul 2026 08:08:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1783091326; cv=pass; d=google.com; s=arc-20260327; b=U/+csHxM6hUXP6lmfvMZtnD3h1YsWjRN2UACbkTtHYP7sAv8Pj+HWvbswzFcqBqmF1 +eg6SF8c8PemWXpsgym00Eh2giPMxSeLvxZ7O0yIBaB+iRYchjL7ARsFa1TJymiRPXNl LxE/INNTJ+0cJ9f6Cz2/Tzk5BH51jBEIR0shiWi2nFIyozEH+Z+muKj2/sTHbNPWMnAX zHqpMCSUfmmpn7R1x9so97u4IC3MFqu+NYXS1oG8phqTolpmilU5xZMUxTFYzyinQltm Y/VUBuoXxkl1d85HqlEcYrV2/CZ8DMzcSFzNbWCph1SNKteRYyaZ+UimAc3yw1Cr2WIm 9mOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; 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=ZMCNVZBl4FXrhX3e8ZSEavIu4Dpgs3AF2si+7Qt1JJ0=; fh=k9J706e3bAcAQ8Y/WcUmiJoHe8m6XBbE2p0cFbz4bUQ=; b=FZE+GtzfypD92pNn6zWHBo3Bia9t/Wh2hrLb6jVXqikB2q0aSK/W/o9dtJNhfOfpSs fvVshQGYNRfs5IlJ3HxpaziDvBndHleqgWDj35486THZkftcxtwgBV1T7WSjDIpeTC3s RhmBq1viwv3lvP0AYOrZvOY1b8Kv51rJ6fCv1tTV/EyRbyDCW8aK2W9j9XG3IP1RPhvI 8ZJ2mFm5VfPKVNZzQMr7K48WbSmhHd1hDEfI0J1HcNLss2CiOKj9EdWP5LE+dixo9K4Q 4muE5Rj48FAjHRuI61TA7RZFKDh70DCzGLV2Af7DhNk0wK9QjH5toDP7UzAyOTzLwjfF yTrA==; 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=1783091326; x=1783696126; 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=ZMCNVZBl4FXrhX3e8ZSEavIu4Dpgs3AF2si+7Qt1JJ0=; b=qH16ljM5s4nk8IZfUwLS6QA6tO7+gLMAAQJaZ+H+fC5zT9NJYvR4QUOziHYYW+Ml2r jYz7XbTAejGOjhAGTldvzk098qBtcNOtEt5WkTcsQ/DNkK8d3ZfGAFD8GdSTX+b7KENH 0F7WFVw3chiT1zA4QnvSDS7Y8iX765+xvNOi3EdC0C3AP33RMJiCfJW8uDHm8oOPYBvr o8IsikbWMFEnfk3R8adnVu/YI29rV3Z/gghG7K3o0KZnMHNAwcCPzqB01QG2avMA+Hl6 OL4rDqccVUVkatqUArqa9VouwdntdkguJ27dg+vTRAtxA4rNCVPUHYMrfaAbOCvnC4ae SpeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783091326; x=1783696126; 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=ZMCNVZBl4FXrhX3e8ZSEavIu4Dpgs3AF2si+7Qt1JJ0=; b=ADe0k+zegq5haqii60S/NLyLBeUqpvZdPd8S7MrW3ZFM9ArMVIcpqoXv9KUh02LJDf bpEeF82GHuVkwYSNaCQSegISd52gyWntdUbfs9egeGjMxWcSo6ECc81yf3+JXGEL7H7o Z+pp6YbG8zl5vGRVUOPS68IIpZyYdLw8o3wPDbMFLdpokBU0P4QcUa6rY86CyyhaoPbf 2DRVjhr7nPNbtTOYl8b4z4Lf1xgI617ua1awKOOqJdeIo0xCPXs6f28ht44EH1FTPyZr lmqvL/wYgNj/3easUTgLBIJaXsTINgw4wxrZwnKa4F+iq9SOpncYZDpcWhVbvKEMk3W7 /xKA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AFNElJ8Sjb96+Oci4NHLxgmF0qMPRvDHKQi2RbkXRDjIZtLepoyNbOzrydsvYTjzH+9MfB8E/Y17@ilbers.de X-Gm-Message-State: AOJu0Yy0WEMrHWuv/YsMlucLC9jeNYcS3LJwk8IznUmODzs6OWMnMl5F +Uyp6dlefdu0so9hOx1p/5O+lmHbnpox5pCQ8lcVKLLhXkacORCg8zAb X-Received: by 2002:a05:600d:15a:10b0:493:b56b:c45c with SMTP id 5b1f17b1804b1-493d0f3c9femr2304345e9.30.1783091325812; Fri, 03 Jul 2026 08:08:45 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AX0PUUcpxzvpFiyD5xMquwWT6Xl9d6sRZW4MNKzdrjhmbtInYQ==" Received: by 2002:a05:600c:524b:b0:492:329f:bbac with SMTP id 5b1f17b1804b1-493bfaedf18ls27644515e9.0.-pod-prod-03-eu; Fri, 03 Jul 2026 08:08:43 -0700 (PDT) X-Received: by 2002:a05:600c:6d9a:b0:493:bc31:b2ae with SMTP id 5b1f17b1804b1-493d0f1030dmr2297855e9.10.1783091323563; Fri, 03 Jul 2026 08:08:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1783091323; cv=none; d=google.com; s=arc-20260327; b=ZnY7HkYCk/1cTpO0sy/mRVR/CNmQ8ZIXlTFLjWCG4XWpxW5GA0/W0jsAbpibEc6XsX RFaEPgp4fnzqMISV7QfxsUBWJzf5fHZfZaU/ifzRldNG1J+TPYhf+Rx7db+aX/RcC5ef sOSD8i5I4i26QmERLvh3BSO1R1xhfq4tHZapQee+cNrrUfm5JJYJrI+mb7uluxQMQbvQ oS5xV1RUZk80C6ioW64HdWm/7EPqfBvPWIEbpksfXTeXXhG6APIeYIx2Jxj3OY/olgnD sFCQ1Ch/v93IGmJ3LOMv+ShcERYBXEFA784tRFwcdL2avgUf7ZKEKMhUASv8VtzMYhjy mg1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=Df0zB1Q1x1mXUIWbKNx39E5CzTzQey9u+ge0a2C6v8s=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=nkKj0uwe1bGKPhTosOn5eoTq4FWbz7Z36DR7yCMSIyuv9odftzrLq9KY1AqoJHmSn4 51GgBssEd6a//Uc2Gwo2kshPVkxFVcvKnqcBEwBakZ0haigSKhK5jxQQL3r/AlCUeZSd j7VV8EOLRyP6iP6iAeUpmfNqvykDqExoWi43wSs47Q/YDmY99Fl5Pft2rjdldFMPrEIh OdO4HIBlNOgAkvRkjnH3keuu45Z+sNkEJKOgTIMXajDMkPkcKtYxAZ7D6KkEBZYP/Uuj EF1TUrImqSbgkUBvJ2reYIeg+5XAFgTduSFoEuNs0os3jow64oXaVQgpMUaZJgWBWLgQ kxgA==; 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-493be4f1aefsi1338075e9.0.2026.07.03.08.08.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Jul 2026 08:08:43 -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 663F8gDR017164 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 3 Jul 2026 17:08:42 +0200 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v12 0/3] Move kernel artifacts deployment from image recipe Date: Fri, 3 Jul 2026 18:08:32 +0300 Message-Id: <20260703150835.2490688-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: B2yxID3T5LVs Image task "do_copy_boot_files" is used to deploy kernel 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 v11: - Fix commit messages wording. - Simplify variables obtain on task creation. 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/20260703150835.2490688-1-amikan%40ilbers.de.