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; Mon, 29 Jun 2026 17:21:51 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f61.google.com (mail-lf1-f61.google.com [209.85.167.61]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 65TFLn8J025882 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 29 Jun 2026 17:21:50 +0200 Received: by mail-lf1-f61.google.com with SMTP id 2adb3069b0e04-5aeb711dff7sf429460e87.3 for ; Mon, 29 Jun 2026 08:21:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1782746504; cv=pass; d=google.com; s=arc-20260327; b=gCXwUVWPLtSz8En94rW2WRaEVBoBwLqHyyhtGMa1NaknxAY/TjPl8vze6mP8uhrh7L bvppoZabSTSsULdSN5O12UdZfEXHt1KTkSHaPwHNc/VTfsbGa5ta+VGqxtP8Qj2WNaEh RZDHsglGPJw2EAoG5luvtOlXxATPb9/GlD7Qm5dV/ISnXbKj1z44oMI0ZS4DiR4ajPGO 88q25jqg2DwNi7j4Mrlqfx5XD3Mp9z1yw8cJoPR3VjsaCJqlkS9N7Pi5xC9QLcwPArEJ 6kEkEaYAz+TmXB68qeMsOcEzi1kTIhlJ2johVlT9IIR8R091n4sqwSu6ABr5XbBNm/gX AqEA== 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:in-reply-to:cc:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:dkim-signature; bh=pnMMISfgafHqI9pjwHJ0p6kXgbalFMhOAgf6wPKR1zk=; fh=0SMT9w0Xv+RCpPtIxY589ZdnhU60RSD+AnIaC1OK+Sw=; b=ooADPL13EmpsKB8NjLla+D6qC05eS/cf8CVZNa7bs2A50eRX4pqwk7HzwLVtWND3WP uw7ZTayAk+Cu2KplswKllg1ef5U3Lyd8AQVYIqibAXi+23QepYXaVpjMpvjauuQfxmJE xICFFsCTL1n57ay7nJdGSAa6CqDatHg0evcXlztX0ZshGbkY6O1UhQcdtaulT+U6QmHS 1xRF3DEtgtqQEe417okzNCoKFzqU0dI3PecaRXs8yd8eurMmgMSxa7Y2yA9e3YYnOHaD cyzGEHzFyAriA+w5kMg93YB3ATWz2S3LA0rbGn37Y0L13ubRh0ep1tO0q7z8zdl7SzT3 QkAQ==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1782746504; x=1783351304; 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:in-reply-to:cc:from:content-language:references :to:subject:user-agent:mime-version:date:message-id:sender:from:to :cc:subject:date:message-id:reply-to; bh=pnMMISfgafHqI9pjwHJ0p6kXgbalFMhOAgf6wPKR1zk=; b=kwZqUj4stNskE8eEFN5cthSQv6DaJ25cDIU+VUPHlu8krfuAqPRELeSynHGTn64F1B fH5OuSKMVCnm4jbcaNa4T+R8acn6OKFC/VerOIVnPiVd63EI/mfXzjTrTaLdT+Q3cOaa AGi4o3yS7RWaJsQWvoJUh3R9wIkFmLiOOrDfhJt4tCZ/yW0yLsKOVOrz4QGhDaRiowui MDLXx2VqsHn/KxTzD9OE6IgA85L7fj2Eu+hdTfTMxfXSo2RbiUttJHnyrDW1zJXLC0YB kwcuLb/0rWCzjojVwwRmu+xPfFzDXTCMK6a43bp+Od9XEZsR3+OYAo/QcMjZz01IPE9M Y1gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782746504; x=1783351304; 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:in-reply-to:cc :from:content-language:references:to:subject:user-agent:mime-version :date:message-id:x-beenthere:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=pnMMISfgafHqI9pjwHJ0p6kXgbalFMhOAgf6wPKR1zk=; b=XIB/NckuAoYvDumtjmSnLdXFE9DT/8mjA19MBSbLyQaPdzJS3AHO4B6aIP1fQYVLhH s8uoEBxK9DeyoMNNNmGlgOMOLJ4n1AKaOmu7FSXCy1TDJ7fKMoGoh6iNK2ne2katLdob 6u59gAkMgNmFvGm1nTO/+QKelobNasktbSzgwqdP9Fu3nqBDkYzBFS8r5HGX2gUpgrbr RK67178VM1kfF8xcWhen3xBE00Oq0H6jJyAhhKxSlNV7VuwEWNbZPHIz/hlkGvDuKruh wmmDIn2JyAg/dQAf96+X48xkkYyAyzbEQkPMmXFGFftKs2KvrSvB6vd2ls/s3398UHc4 5OUg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AHgh+RqZ8CaUWnFf1Co7B1ytsZAQte4rmio0LqKflOgtCZ4mJcU1gpJMyvSG7E8VBJLD53y9S8Kv@ilbers.de X-Gm-Message-State: AOJu0Yy3+KuOEHr/IrhHbC6pIyTxViD7TjiO9NpqqP85jUW011v18f3L MC9y3dN25qZj1hvglwBvLGEwCWSr0y77VNoDh/Z5O2yBSVFSiLg216Ch X-Received: by 2002:a05:6512:6506:b0:5ae:b135:64de with SMTP id 2adb3069b0e04-5aeb1356b15mr1609384e87.31.1782746504301; Mon, 29 Jun 2026 08:21:44 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AX0PUUdlnuls5orn8yh+XgXwW7wfLUuGwh/jo2QmAjdSsnW6EQ==" Received: by 2002:ac2:4f16:0:b0:5aa:6d7d:d220 with SMTP id 2adb3069b0e04-5aeb8ff901als476894e87.0.-pod-prod-01-eu; Mon, 29 Jun 2026 08:21:42 -0700 (PDT) X-Received: by 2002:ac2:4988:0:b0:5aa:100a:8315 with SMTP id 2adb3069b0e04-5aea94b8e47mr1857571e87.45.1782746501967; Mon, 29 Jun 2026 08:21:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1782746501; cv=none; d=google.com; s=arc-20260327; b=lWpMBsrhaYytvnn6hUqUV7tUUhGCFCpC78z9ugtujWIYt7HA9a9hhqvQLe0khqthW2 9i5KA6jg5/rWEmivYKcDXaOdyiWo7mWs9H/2U6r+XgFKbZaQMbAwd4dmHuCJnl2UHDsv eXfbhaEaCGbQ0TjkU0VoKnBN5vJcGT/ZvTl4Rn4OJOA+F4I756JaO88jL9s9b+ujEDoN IrGuvZS8fTX55cWDBlmaiqURoRp7eTU3XZaoZCsc7uEM125w8+PFXodGN6x7ku+3P0Hm o174qZwcXYCqyx8dB5urjzn+42YyBsbmFOVvMgMaJ5IBds7bdwLTVa6nwIc86UmSh6eU QTYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:in-reply-to:cc:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=bQB6CCyS1eOGOOi+1XpyDrHqDM3XJrTxMjmBoc5qhls=; fh=GcISmGg0ejviU/IO2a5wugiN6stqrfcS2/V5ZsGYoHc=; b=oXD6+FprsaB37kDTKcgR3oOg1IEwRMy4oLWxgnXIk9FU8WKc59YhoCMvQa4nfDFY2n KtC9UDA5rYYJkzE+c38ANiAw3unUsc+HA9feKidRbJkNGUDAugzsouw73Z3stGa4zAgB uHfj7ve1XJd2ZuCXKspt/Mup8GbuCCYjgbjdN2sQlrt50AjoIPeJi7R7FZ4yxFwYw9/s bdL0Kjx56JnZNLRHm8207ShC0Pqo10JfqfWa+bcxVbhTFzOzE1JOO2JBPti0kwvKyRcL nioDsN0FZazxSMJ5RzLGxIasGq8Dg+xsmS+fZSACvh3lPZj8mqaidi42hwQDodi7U1e1 049Q==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-5aea8cc9c0asi195957e87.6.2026.06.29.08.21.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jun 2026 08:21:41 -0700 (PDT) Received-SPF: pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [192.168.178.148] ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 65TFLek5025872 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Jun 2026 17:21:40 +0200 Message-ID: <51b0dfa9-9de6-4b03-86fe-c0acad5780a1@ilbers.de> Date: Mon, 29 Jun 2026 17:21:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v11 0/3] Move kernel artifacts deployment from image recipe To: isar-users@googlegroups.com, Jan Kiszka References: <20260609084422.3948645-1-amikan@ilbers.de> Content-Language: en-US From: Zhihang Wei Cc: Anton Mikanovich In-Reply-To: <20260609084422.3948645-1-amikan@ilbers.de> Content-Type: text/plain; charset="UTF-8"; format=flowed 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: wzh@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de 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: 5oCVp4fFlf+q On 6/9/26 10:44, Anton Mikanovich wrote: > 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 > Hi all, Any feedback or downstream testing results for this version? Thanks. Zhihang -- 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/51b0dfa9-9de6-4b03-86fe-c0acad5780a1%40ilbers.de.