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, 10 Nov 2025 15:53:36 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f55.google.com (mail-lf1-f55.google.com [209.85.167.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AAErY92019796 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 10 Nov 2025 15:53:34 +0100 Received: by mail-lf1-f55.google.com with SMTP id 2adb3069b0e04-5942c1f786asf1288068e87.0 for ; Mon, 10 Nov 2025 06:53:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1762786409; cv=pass; d=google.com; s=arc-20240605; b=Acfs6/Em1t2iX3yW+1wzl33GENMkj4Yb6iphNhBZ4joP+y42zEUTf0gcS8C9IEnzJO JwNBRvygzmlA1W7jlhEIC7UBS5R//1bnXG9/zADBOg248Non5kg3wWGyO66xCgjsHOAH 4OVnkPOu8PAbQsvkTmtSL7KVk0gPReasP+RNc7pJAWxEp6+LF6wc897z8KJE50ntPOxv odacbvHZjWqGxy/hYs53VSZOCBzk767vCvMpTWINwa4BZm0sdZ2ad30gneWG3aPNxTZ/ jSVAob2/HXjtGix0NJKkjJ6hialeL+pfwVDD3QDdQR+fiPoFBgDRPp8hhXrmsB1npyh/ szXw== 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=1KIn37jS7oAVpuPjuHdwSq2LsJvBg8pyPbhbKPLRQjY=; fh=xALzs7Hyyl3gNTY5bgamMzmqu1CGzKqi37vodHqoRgs=; b=Axv+HouAB6b5YJkZ5xzVTRtJ3gWPKez/++1wb/inw0jdvGS6Nlcik5GkwNiAJsp9Ib toJSVWMbeGY/EbmDtd+GLXk9AiN0OmI7qC67EUQSt15ThwY/6bTYE8/5cgjTs8OgAIuY yWwOOTbQ5O1BYaRFedqb0gI0F0T0ZSlldxZJyPdm0JmLQlwXN+vtoOT3A91FbfZh1i54 W6exPqQD3pb0nx9zDrM3KS32T5qXsIwunkYTkiKbb223+7Pgf2gt6rCTQxMhSUms/LF0 OTtBC2eKzAsdxEcfWU/ICo9vP384OWFYNtPBQ2R33i0jIKZObQGbnn4qReR85MmeWA8P YcyQ==; 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=20230601; t=1762786409; x=1763391209; 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=1KIn37jS7oAVpuPjuHdwSq2LsJvBg8pyPbhbKPLRQjY=; b=aD2YTfywb6RMLVfU/Ize80Ok4QuCSHJtVhohOa89B9sFVAeq3tqhMt0a1Bkucv4ReT gjWGSmF+yZ16UNZM6HiH1FU6AtuPixp0sFVG4zILZP5AmMUzw0Gr6U8CzuHUsDM8ptLC mqoeS77tOO9e69iSSI1qRdc9GX5bZyACvcLCFBOWCKn+Qj1n/2mS41u3xdQf7uBeKBfA 3gN3UPdt+DzCq4fKqRvNMf6Tp5ygib0hnwN6dYGp/kWJ2Wx04f0dNs1c9KbNfAjkopVq 5plCzDH+kEyybaaJdRCgo1kU5qSshnQorr9EV2rsL/giQaUisEuwN6FJIYGmowBiNdja 4lOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762786409; x=1763391209; 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=1KIn37jS7oAVpuPjuHdwSq2LsJvBg8pyPbhbKPLRQjY=; b=NXZYI8SHc/u2IK0rBnHr5RpuMYvFmMznQ4X1EprFdQ64yfpjFaGy+UXQogrjlwDhYC 6s574R5rOv0FA4tojrsQYfRUOahMfssWyhpN3dwreg0DC68Qi108JldTMahwIfiaB40W YPMO8kDyjbpohfq8VTBLPv6BMM0If/kXWqtj4Ev2qfr0YcKOjc0EEoslgwDvpcr3kZFK fi36jPl3OArvpUhShMGPyuyKomqSPZCihJfOx5X0OPq9ha47j03/5joXki7u/ROPvMxx d8vBkUwPjuHLUHjxhbLZPZX+O7CZwAQQ2BUYjAiSdpV1/uBiF9QeKygius7mP/kXM5JN CEfA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWVyQRUadfNxwsc1Lw/p9rmc1JbCGJgvgnLVfHqsJ/4FlhlL1QQT5LiKdcYl3LIdMjjHbxX@ilbers.de X-Gm-Message-State: AOJu0Yz/Ejxc6TtgjDGHCnp3FF+v6TnTSDh4Rm9YbVeTYFp50AyZ2YF3 juWX/c7G+QC+lCxgSiV/Pcx3zS5bXH9/lHUrMPTczhsJR+z5cah93SI8 X-Google-Smtp-Source: AGHT+IHkv60GbUSJvibS3GK9wsoqVszRgXMbEi+d+tV7yZqWhSRNogdSvjs2u/GMhNnNZ7nM0bxFjw== X-Received: by 2002:a05:6512:3a8a:b0:58b:63:81cf with SMTP id 2adb3069b0e04-5945f1d98d0mr2566132e87.55.1762786408507; Mon, 10 Nov 2025 06:53:28 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+YiirdpEjd2P/x6girJij5qTLEGqfUu7/V9JAFqz2HrhQ==" Received: by 2002:ac2:51cc:0:b0:594:6537:bd0 with SMTP id 2adb3069b0e04-59465370e06ls171927e87.1.-pod-prod-09-eu; Mon, 10 Nov 2025 06:53:25 -0800 (PST) X-Received: by 2002:ac2:4c49:0:b0:592:fff6:b200 with SMTP id 2adb3069b0e04-5945f1afccfmr2144428e87.28.1762786405639; Mon, 10 Nov 2025 06:53:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1762786405; cv=none; d=google.com; s=arc-20240605; b=Ztn85y37zxlpsWXsqcuNU13KwGpFOd1RM8SP94vSsIlbbWHF4FHYhtJkwymLq/TA0X j2KYEJtk1Jiad9JfegKaU122okymMKNEFtHJrjfF7rKnsSQfBn5grZywGuQsYmO96hL5 QtHEzT3OqsT8lZV4azZd5zHdmVp9M47lwfYwhejwJnRTKK5zlJIa7nxGCGH12rOjzLYa hsFpr4QJyW/3mQXkxk9YynfstBJl/jCMv6Pwj/c8zlBO5jkJOwr7vSnxzAYSyNPe794J 87PEa4N4ukM866sa7vogEGiiLq/6uzls2myEPZTOlqU0scomAQRZhgOevDuEalKVBInB eVUw== 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=mWbdjoUzTCpDS/RjkwJTlUHRlS1W7JItRDJAHdaTEYU=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=NQQ84WVGMLfdpodlooPK45r4bEiLdf5TzYjV41mkPJTXXTN4eJFsqUp8AOhvvJlCRL xcvhls1Vib8IGzOcVNYqTnlxOUP8+OKDBkANJuVJhmzNosIe+QyYaGeYar9IPOL4z+Q0 qVWA/NJNTwErki7AvCIukxBrBX9kKc3A+gmHrqcdfqQIM3/8bb89KhsH1mQN5ZBut5oK Zn7JZIGKA/VHDNCBYsHX8JFKm9Yv7dKRmdixznMlbOuFEIASsj6XGsRHdtopGAc0JAFv HQXKGfTG2UDJazxDTlGnDUvYFXX+8TkewjzD7b5a/9c7y+1QLqXRKMlMbKe35ElQROQn Uymg==; 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 2adb3069b0e04-5944a07bfa5si202243e87.7.2025.11.10.06.53.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Nov 2025 06:53:25 -0800 (PST) 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 5AAErNu9019784 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Nov 2025 15:53:24 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v2] linux-custom: Sync provides value with build profiles Date: Mon, 10 Nov 2025 16:53:15 +0200 Message-Id: <20251110145315.333626-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: EJOnhwq5MsTn Packages linux-libc-dev and linux-libc-dev-${DISTRO_ARCH}-cross were added to PROVIDES variable unconditionally, while those packages are not really built until KERNEL_LIBC_DEV_DEPLOY enabled (which is set to "0" by default). Add libc-dev packages to PROVIDES only if there are no 'nolibcdev' Debian build profile used so PROVIDES will be always in sync with real set of packages being built. Signed-off-by: Anton Mikanovich --- Changes in v2: - Rebase on collision fixes in next. - Migrate implementation to overrides. meta/recipes-kernel/linux/linux-custom.inc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc index 9dd9abb5..5071367d 100644 --- a/meta/recipes-kernel/linux/linux-custom.inc +++ b/meta/recipes-kernel/linux/linux-custom.inc @@ -156,12 +156,19 @@ ISAR_CROSS_COMPILE:class-kbuildtarget = "0" RECIPE_PROVIDES = " \ linux-image-${KERNEL_NAME_PROVIDED} \ linux-headers-${KERNEL_NAME_PROVIDED} \ - linux-libc-dev \ - linux-libc-dev-${DISTRO_ARCH}-cross \ linux-image-${KERNEL_NAME_PROVIDED}-dbg \ linux-kbuild-${KERNEL_NAME_PROVIDED} \ ${BPN}-pseudo-native \ " + +# Provide linux-libc-dev packages unless nolibcdev profile used +OVERRIDES:append = ":${@ bb.utils.contains('DEB_BUILD_PROFILES', 'pkg.{}.nolibcdev'.format(d.getVar('BPN')), 'nolibcdev', 'libcdev', d)}" + +RECIPE_PROVIDES:append:libcdev = " \ + linux-libc-dev \ + linux-libc-dev-${DISTRO_ARCH}-cross \ +" + # When cross-profile is active: # kbuild package is provided by -native or -kbuildtarget variant. Also headers # provisioning moves over to ensure those variants are pulled, although the -- 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/20251110145315.333626-1-amikan%40ilbers.de.