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, 08 Jun 2026 08:43:58 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f184.google.com (mail-lj1-f184.google.com [209.85.208.184]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 6586hvAr029658 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 8 Jun 2026 08:43:58 +0200 Received: by mail-lj1-f184.google.com with SMTP id 38308e7fff4ca-3966d87c26bsf17650981fa.0 for ; Sun, 07 Jun 2026 23:43:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1780901032; cv=pass; d=google.com; s=arc-20240605; b=jW0h8CIENMPGYGFrb4nwfDJ2aZmzwNPmraC7Fu8p8yk/uICtIbyeYXXVN9Cnar7EQa a1skGA0YIjf8BiUW0LXsPacwuxnQao0mJpKa/e7JZRek5bnw8vFrG9tjSF4ebafryNE0 FMdt741VT/Z03ENL4/u631aSZKxoIOYmqFXqWYC7unuDQIPuAb4Tj6PEWI+JOzbIzJJ/ Yfq2jO9KkGvNTJuN9OpmQZogpslvsrR3EGgQUkG2720WiAVvL+LagDK0yKseAZb8ldpA 0+drXbOBokIr83elc8W/D9ULdMMoF32OzMAJbf7fy1p0Lf63A8rLx4npgcxrIjMZJm34 K+Kg== 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:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=bFu7+ppqynBfBn2SGSxE/d9EKT/DBMy2e98DOlBFVec=; fh=gwQx9KmuhNWtbjOaI86qisvGpKILcnMIC5FEYZxT908=; b=OzMEz20rph+Kb7ON+RY0gE5A5J0wpFWi64H37FwR+WbQeTvBZOpt1zyuJ+lZvyKfxg K8+P1n4jkiqRnROY88+AtoYK5TjkR36Ek9aftAAe3VRRO/u+iZXgtv5SgOM0l/j00mV9 hB8YRZFeVO5Fg7waVakrZBfqdzAKTSbwHqKXpcMPYSqsJfREvMz+Hb0TmhWSJHiYlhId NP39iJ978+cMklOILne+HENN/Tnt7Ct3Q75jYjtcMA0UO6SpK69p+h2YEarUDwpqjla6 LqVUsZzEwqtz26ihryMoTomWpI8UzVVhhu5MSml9udOzVzHIezhiAA3r1ZrS9JCevS/n fMsQ==; 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=1780901032; x=1781505832; 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:from:content-language:references:to :subject:user-agent:mime-version:date:message-id:sender:from:to:cc :subject:date:message-id:reply-to; bh=bFu7+ppqynBfBn2SGSxE/d9EKT/DBMy2e98DOlBFVec=; b=mloysBfIkd6Rkvi58WPjNOOm55vwRxcYjtxehYOR+u/0kPamKUYpL8pmfnixdqvtPo I4EtM00TbDzjJK7nyo2MxevbsO/74O57An28p7yQy8gq/tQzLKDXKMuHj0o3nJuUPlxB 9iHGG7M692QOZyTnASJHLqRKyO68xj4OGSNtJ9T8SusmUPSMHSkBBh6yF9LtXD3G8Qqe Rea/CjSPHSaom46cyxjMYsSnE8IiFp4B7aiszFkuzdutgItRtNFCfdsttfnPaKnxz6ep fJk+/gjo4hDIcaf53BUKMLdpwPkV2JAqQy3+JkG7yWrmFmwUor7EpS12nuUdXnjpWnI4 VnWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780901032; x=1781505832; 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 :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=bFu7+ppqynBfBn2SGSxE/d9EKT/DBMy2e98DOlBFVec=; b=D08VAFhPu7iR0n4tkxFiWosaI+o61Fpp+lR1eNuNlAHJ6duq9ax74CjpGcBCQB3ucG 2/Nc6pTCjYF98Fje5hvon4jduKfq9gzGEX6psYoN7X0EnRAmbahaOclVKw9G3B/z23tr 9Y7+zx6M+QERZw84BQ1iOmBNZ1hSs98oSpyPnwDEZy9OgErw78G9H9ZPpjalUpD4bGCE MIqRRNidlCjPd914sPmz+DpGjyooLJW/jEAqATsXw10KpQ0CqDY0g/4rsPoIcZBySiZ8 l+8BX/xCqBp9vGVsZUb6E6BcFq4mkj3cjSapOzBs83Ct24DpgAdNHWA2iPPbg/aNkvpg IcMg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AFNElJ/iNo55cKqTvgaxzZje60HGrYM/o00zVQUU6rGdRMaGfJBlSxx+0GtzqJ0PgE8NgtVWlsnb@ilbers.de X-Gm-Message-State: AOJu0Yx29N/FbuiTNrN6cHAjfoYSb/lp8dGKmE/nx9u55uwzg5ZRq92L 5GoaffnBFj6pLx5RQPSGEk+l4ENfIOHDocqehFvGeoeklGSIFUkecELg X-Received: by 2002:a05:651c:144c:b0:396:76f9:ac7c with SMTP id 38308e7fff4ca-396d07d3844mr34586601fa.1.1780901032136; Sun, 07 Jun 2026 23:43:52 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AX0PUUf49rL5IR/mplZ/GViXTBYDnCq/C2NxI6xxQgcIh/LwtQ==" Received: by 2002:a05:651c:4386:20b0:396:a8e2:8a5e with SMTP id 38308e7fff4ca-396c875ca47ls7025601fa.0.-pod-prod-04-eu; Sun, 07 Jun 2026 23:43:49 -0700 (PDT) X-Forwarded-Encrypted: i=2; AFNElJ+ANPvDbrSGtJpAOEcBsrNFazhwV8hHL3KiCTkQvGmfFT9HZjEZdvsmzr7Us0LMiwg446m6lnm+uwfk@googlegroups.com X-Received: by 2002:a2e:a5cb:0:b0:396:7d75:447b with SMTP id 38308e7fff4ca-396d0993bbdmr36192331fa.24.1780901029622; Sun, 07 Jun 2026 23:43:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780901029; cv=none; d=google.com; s=arc-20240605; b=CKO1TLzJdyf3gQ8+4fzSXI7ciYsLuPaxMQei3+XAUaNaqSBuUCzRTSCUZSDe41DIpz ORJzkCsi/aMWZUjVhFqHnTY3XEnKBSvc8sjF3s12WKt+E0XM/+xJ7REnBSdHfqjIJqf1 jCpURQcssnEvOWTVjRjS0O//Y3u5tlf1+d33+coWcQIAQ3Nv77pwDEJpUNkdQrFyTzk5 ZPxOvlapf+q/Uc19Kj13OR+8OxRlKbPMmHvirYIGfpp8hRMF5Mt+JSzcOUKil4a3ei94 gQVwP/XaErajD8e8aUHvuEAKPtznJAZ6Ut3xJopoQqpaT1itOlbf7T9S7fyPKjHMBMkD 7quQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=+grJWcpeWrKBCGfNEiC/w20U80o06jQaSNqiZOvzDEY=; fh=RoHJowfbwRx2zApBJ0J9iw5df4oBV0PNXhxZPqEIfnM=; b=l3swo3Ay7mSovwrG5dW3msd2UrAFskP3ta9dgHS+iLY1PgRHmRJuUyxp1PkrnoFGLX Xf8IfuQFU6L5xDNLGY7SCFHVcpgLaOfGORLh5Xj+Tx93DoPlys8AImHA0nAY+pOwedcE 9CS9ILimZCTsxCwv0vKMvF2Z8VtssZKlT1ou2Wz963ZIHvLh2cDdMFqdEKnSuVA1zmXh hofWWH0OC5/zw1ilz/vEESM/BATTpjmAB43lgTwn4nsl06Rlza01XzqMEKwkid+AyNEK k5QuUGfW8cOxsshD4n35GDXsbUfuYDokfEudsr718Y/dYe0t/XTOeBgUMqhVtUqERZBH fivQ==; 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 38308e7fff4ca-396abf367c4si4143081fa.1.2026.06.07.23.43.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 Jun 2026 23:43:49 -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 [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 6586hlvW029646 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 8 Jun 2026 08:43:48 +0200 Message-ID: Date: Mon, 8 Jun 2026 09:43:47 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] meta: Remove overrides from kernel filename selection To: Jan Kiszka , "MOESSBAUER, Felix" , "isar-users@googlegroups.com" References: <20260528135624.3411792-1-amikan@ilbers.de> <33d2deaebb5eff75ea1d827016dd8f150b38c6f9.camel@siemens.com> Content-Language: en-US, ru-RU From: Anton Mikanovich In-Reply-To: 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: 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 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: gUbqYP/3XDUc 08.06.2026 09:26, Jan Kiszka wrote: > On 28.05.26 16:20, 'MOESSBAUER, Felix' via isar-users wrote: >> On Thu, 2026-05-28 at 16:56 +0300, Anton Mikanovich wrote: >>> Because of the override processing logic values set by overrides can be >>> changed only by overrides. It makes redifinition of KERNEL_FILE value >>> made by simple assignment be ignored, which was already broken for the >>> rpi-arm64-v8 machine. >>> >>> Rebuild selection logic to be done in bitbake.conf without overrides. >>> Keep KERNEL_FILE redifinition for the rpi targets as an example of its >>> usage for the downstreams. >>> >>> Signed-off-by: Anton Mikanovich >>> Signed-off-by: Felix Moessbauer >>> --- >>> meta/classes-recipe/linux-kernel.bbclass | 3 --- >>> meta/conf/bitbake.conf | 5 +---- >>> 2 files changed, 1 insertion(+), 7 deletions(-) >>> >>> diff --git a/meta/classes-recipe/linux-kernel.bbclass b/meta/classes-recipe/linux-kernel.bbclass >>> index 55ea6d63..e4ae356d 100644 >>> --- a/meta/classes-recipe/linux-kernel.bbclass >>> +++ b/meta/classes-recipe/linux-kernel.bbclass >>> @@ -211,9 +211,6 @@ def get_kernel_arch(d): >>> >>> KERNEL_ARCH ??= "${@get_kernel_arch(d)}" >>> >>> -# set KERNEL_FILE without depending on package arch used in bitbake.conf >>> -KERNEL_FILE:forcevariable = "${@ 'vmlinux' if d.getVar('KERNEL_ARCH') in ['mipsel', 'riscv', 'arm64'] else 'vmlinuz'}" >> Shall we remove the forcevariable override as well? At least in isar >> this was the last remaining user. >> > forcevariable is a generic OE concept that we should continue to > support. Our downstream users may expect it to work as before. > > But this removal above likely reintroduces the bug it fixed in > fc99297b40eb. Did you actually check against that case? Sorry, seen this > too late, but reading the git history is what I would have expected. And > if you did, you must refer to it, explaining why a revert is fine. I've tried to build native kernels and it looks like everything is fine. Unfortunately fc99297 do not mention any real targets and don't have a test case, so I can't be 100% sure it isn't broken. > > So, this should have likely NOT be merged... > > Jan > >>> - >>> KERNEL_CONFIG_FRAGMENTS ?= "" >>> >>> def config_fragments(d): >>> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf >>> index 08c525d9..6db10eb3 100644 >>> --- a/meta/conf/bitbake.conf >>> +++ b/meta/conf/bitbake.conf >>> @@ -65,10 +65,7 @@ SCHROOT_HOST_DIR = "${DEPLOY_DIR}/schroot-host/${HOST_DISTRO}-${HOST_ARCH}_${DIS >>> SCHROOT_TARGET_DIR = "${DEPLOY_DIR}/schroot-target/${DISTRO}-${DISTRO_ARCH}" >>> SDKCHROOT_DIR = "${DEPLOY_DIR_SDKCHROOT}/${BPN}-${DISTRO}-${MACHINE}" >>> CACHE = "${TMPDIR}/cache" >>> -KERNEL_FILE ?= "vmlinuz" >>> -KERNEL_FILE:mipsel ?= "vmlinux" >>> -KERNEL_FILE:riscv64 ?= "vmlinux" >>> -KERNEL_FILE:arm64 ?= "vmlinux" >>> +KERNEL_FILE ?= "${@ 'vmlinux' if d.getVar('DISTRO_ARCH') in ['mipsel', 'riscv64', 'arm64'] else 'vmlinuz'}" >> Thanks, that's how I envisioned it. >> >> Felix >> >>> >>> MACHINEOVERRIDES ?= "${MACHINE}" >>> DISTROOVERRIDES ?= "${DISTRO}" >>> -- >>> 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/f598b607-adea-4b4c-ad4f-3697b10d11c6%40ilbers.de.