From patchwork Thu Jan 12 09:41:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 2473 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 12 Jan 2023 10:41:43 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f55.google.com (mail-ed1-f55.google.com [209.85.208.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 30C9fh72021645 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 10:41:43 +0100 Received: by mail-ed1-f55.google.com with SMTP id h8-20020a056402280800b0046af59e0986sf12093748ede.22; Thu, 12 Jan 2023 01:41:43 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1673516497; cv=pass; d=google.com; s=arc-20160816; b=aG3R5jAR/TDBnnAxB8webYfuwwKLa2fwwSP+pYNSxbRCNtK6SJWpJBWlNPkK/x5lB0 Mn3V2sy6p83BIu1R8HifD2rz7vTXHV7i0Kakd4ITU77VAnlQd1ddCTuaVJyA3Osuiu+I VtzL6qvtOfNrWqzUceKzupKFXRn2mo3UQqye50ODwL8fmGXsbEK03T5E6AjdMWolzVzn Lwyei8+jwAFFwNBmYwpTmcDrhAlMKM0JT+IaskTUwuIetmCkWWSC/AZxhTRQbLmFyEoo wjnLDtIpLxQs27gJrX4J+fBwXm2TkRmG52/xHZtL7ob+X8vSEZ3PJ32/9l2Z5lGiF5TN M05w== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=xjF51x5ka6O9XRYVsj8f3L3Aa2lwXE7isjBBKYOz1mY=; b=F3+ra1JNXgvbjB50euWxM7HgVgs3Ayg748FVAD1FJIrazsekpsolRmc+86P1lLK2uA Jdt8MkSuDPKONz7p9M0oVv1qFw4aVhF6Zuyef93GTwqdq01KQ5GcckgTvg+NukGVSBlZ aRKUOK+92R/BHSFkD/YIffE3Iuc8dv9b3XJhH3+Al+/Eb8j7+8HF8qf7JXUtrUtb0reI ModuWRjFh3WAKOVtTGcCic/2F5E6m0tpI0V9J2580MEcbi7pUqM35QFrEJaI+nDIokns qMw4wOS0D2Yeluqh/9tsWUU28bPBw8CRvImPmOcfQ4Pykf7CIEv+p+S6g5VtUrGyocpt 7mbw== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=vOHOlExp; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.22.41 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=xjF51x5ka6O9XRYVsj8f3L3Aa2lwXE7isjBBKYOz1mY=; b=Dk3cJEOUUr4W6P9oKTbpnZjVcyV35lYoYyHOCRNVNm/w1grwz4yYXHcymivvmvwcmy PJxEP8G+gBtyGHYQPo2pS7PT9qx9nccYZkLBoh7wg3e2DxWrRHQpISjh6F3cwr8S2Lc/ vlhw4bq090D2tUnIpdAApwGx4BplfGiabV8tReIWeuV0so8MdXpe47a4shaSNa7a8Umf gHq1Xo0wdWrYsjSSvfT0p9tfZTdol1inF/CWvoMWplFsJlhzyotOoquUlPZP3ie5w/1X 2PJZ0govi/FjjsaD93qG2tyRdiufOKxURrVmcdRQPtF7np40Kg4BeRP1BDVFK8WCQM22 sKAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=xjF51x5ka6O9XRYVsj8f3L3Aa2lwXE7isjBBKYOz1mY=; b=RSmyeCav7x1qgj2aM0xzI518NRAmFAxD2/bM4AyoEBZEmWeP2qm4utOjF7kBS36sZg st6hTdSJqLNLyf5+LyI8A71wpoSm1opPetNLK8WQhOumqzoWiFgb6HtRWVBjtk+Kocp8 6L/eNb/HCyCYD/LowY1hIL9xGdghIFocpmlKplrq/4QsJMK+Fd1xUKI2dQ39ewACblhp OOtlIzs0ut2OmWm1qjQJ6Vc7oLvANJ0obyWbh8tI1p+e/4dhN2RD1kzS1Y/Ds5w3pRsJ dwTOIWraU+lBJMTgCMsCDRt/roR+qxrVLSgxJ4R2GMdcEWJmZPEYgMi7LHekU/3iW7cL 7vfA== Sender: isar-users@googlegroups.com X-Gm-Message-State: AFqh2kpoCowgKPjVcG1UilEEvhPFQbjr8Wtp3vr6OlMtENGQAnGXtquH fMVLGoqWXAxfRZ51QhLDCzw= X-Google-Smtp-Source: AMrXdXuSxfdZv191J5hwInfshwAQjxIiFTqOxbZPxJA2f+gxy9Zuk5ozCQ9m5GYvq+hbmxVYwFSRnQ== X-Received: by 2002:a17:906:a391:b0:7b2:7c9a:1849 with SMTP id k17-20020a170906a39100b007b27c9a1849mr5276039ejz.733.1673516497657; Thu, 12 Jan 2023 01:41:37 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:af8e:b0:7a7:f2a:d325 with SMTP id mj14-20020a170906af8e00b007a70f2ad325ls919910ejb.10.-pod-prod-gmail; Thu, 12 Jan 2023 01:41:36 -0800 (PST) X-Received: by 2002:a17:907:d306:b0:84c:95c7:3036 with SMTP id vg6-20020a170907d30600b0084c95c73036mr42785769ejc.5.1673516496591; Thu, 12 Jan 2023 01:41:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673516496; cv=pass; d=google.com; s=arc-20160816; b=IXu6RgD7gg2UfwXp22by0v7jQRwG00xJgUbro8/z8MET1x7JJs+p6GJLxUMNhW8oK2 QA12YDW5R8uwBf5cP+y50dJhdwGe1SjGaE3G45XTo9GguZYuVXCqwbE62p6iZ/3OpgZ0 0B0X1T2vNKt39282oU053fiysHqftB8eDaqWaJ7ejAI2HfsbETrUclKpuwh93xqG2A87 yY94CNvUNB4FlhJ4myz8MqBVm2aoVkoi1c+v26IUEHOEAvug56PyWzLkekQ+zFFS+Aqk 46hkR87EYL9GW/9UnYupYB9LSiWjTA5pqaIX8HJal9P/58hkzv0zDP7xQx19J4zhBg5J NBwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=fVmAkr+RUZidNQmpKBvwdIUJRm8izHOXz3Cv7+f7LDk=; b=nzf3Cete88OOEtuzG23BqyK67EPcPvkcxPnCjsXj9XR+DA74Jco4beb8VD7wrOrfX7 fmJKHmLebYTWfLyeJmUIwsmsTwTqtK8UYp9VDCvxZxhRuCo0XrP5HRfO5RBNh9OtTa9Z uvVbSM1oqV4hQGC8trz7WNw1w94vkZjS1i2h5R2/FjYYhaP1dDS/MN+j7jwiJrwo8VT2 xZrichVWnUzaT359/tARpBYHCMqJDOVV7VSyKVhbvA2LnvG7eKGUwzFRn01n5qkUNvPY xYh/UQY15Q4/CsdxIWqq2XbZk3yr8B6htEAXLHbBgu3EPFS5ZkuuqAFIZQWOpsY/RKd/ DzRw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=vOHOlExp; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.22.41 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2041.outbound.protection.outlook.com. [40.107.22.41]) by gmr-mx.google.com with ESMTPS id hx9-20020a170906846900b007ba8b8a416fsi795848ejc.2.2023.01.12.01.41.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jan 2023 01:41:36 -0800 (PST) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.22.41 as permitted sender) client-ip=40.107.22.41; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lf+z4sKXzH+Zu5m+9uZ71NFiv6p4lhFdiqYDbdwNTWS7RtX9FddOL0mlyUWve2YRspKbGq0ggNCPX3PqHuk2g4EqDZqJ/opLIql+6V3css3H5c/y6vEqnhexz0odoS+8oYZMLw2IEQ+WoMdZjUL29ExueJkB8uWr8Axd0GtIGfenLX11epYV/KbTGm9M0eUpjDKaP9havMSLJ2YPnIyEPFOhqSGG/1hXgDYLsFXNzcedO2z8rtlPDeEbzZ33l+aF+YTTYTlaWwrNVhuzcxvhDifUkKXSCe6oXjDzjz7p6SmMgegv9qYUfp5T4r6l8QAimPUfisyo5ckuwaaxbvL3wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fVmAkr+RUZidNQmpKBvwdIUJRm8izHOXz3Cv7+f7LDk=; b=KSrzKwcYdVKJZkrLJs/Ew4NNUFTD4i5+gTSampgLh8EsTHW6lyUOauCWwl9edSVXTdYYxYdhfR8g4Ua8GcXarJb5/L9AQr1n+FuYZdtJupNzmQ+fnwBfcbw5iEtgjTj7v9aO1lljiND/Lw6B3UGaGQMTa/4XBVocLPuOUlwF+5m/l3NnUPhPba/oUPp0COcGpOm0yakYxc7PtOPqFq6ITCycxEsdwI0Th1MchQ5RsJsEz/pkfmuMw1rp4LtMSlrgHvZGiLOGDT++AVQA/OE53VwgkWVoyNQUI8ejtCF2QgdKoBa8hNEpMK5jejqyK9bsVIOgP+eCv8tGPctEY7C2nQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.74) smtp.rcpttodomain=googlegroups.com smtp.mailfrom=siemens.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=siemens.com; dkim=none (message not signed); arc=none Received: from GVX0EPF000013E1.SWEP280.PROD.OUTLOOK.COM (2603:10a6:144:1::22) by DB4PR10MB6263.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:381::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Thu, 12 Jan 2023 09:41:35 +0000 Received: from HE1EUR01FT004.eop-EUR01.prod.protection.outlook.com (2a01:111:f400:7e1f::208) by GVX0EPF000013E1.outlook.office365.com (2603:1026:900:2::3) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12 via Frontend Transport; Thu, 12 Jan 2023 09:41:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.74) smtp.mailfrom=siemens.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=siemens.com; Received-SPF: Pass (protection.outlook.com: domain of siemens.com designates 194.138.21.74 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.74; helo=hybrid.siemens.com; pr=C Received: from hybrid.siemens.com (194.138.21.74) by HE1EUR01FT004.mail.protection.outlook.com (10.152.1.233) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13 via Frontend Transport; Thu, 12 Jan 2023 09:41:35 +0000 Received: from DEMCHDC8WAA.ad011.siemens.net (139.25.226.104) by DEMCHDC8VQA.ad011.siemens.net (194.138.21.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.20; Thu, 12 Jan 2023 10:41:35 +0100 Received: from random.ppmd.siemens.net (139.25.68.25) by DEMCHDC8WAA.ad011.siemens.net (139.25.226.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.20; Thu, 12 Jan 2023 10:41:34 +0100 From: Adriaan Schmidt To: CC: Adriaan Schmidt , Felix Moessbauer Subject: [PATCH] dpkg-base: set default for RPROVIDES Date: Thu, 12 Jan 2023 10:41:18 +0100 Message-ID: <20230112094118.2281568-1-adriaan.schmidt@siemens.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Originating-IP: [139.25.68.25] X-ClientProxiedBy: DEMCHDC8WAA.ad011.siemens.net (139.25.226.104) To DEMCHDC8WAA.ad011.siemens.net (139.25.226.104) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1EUR01FT004:EE_|DB4PR10MB6263:EE_ X-MS-Office365-Filtering-Correlation-Id: 060e23c2-9fe1-4740-ff35-08daf4813227 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Cwq2HW78xEzo9nX0FbKZvA4jlCBaV2iY+IuahfW7KTN4BvNnGY3q1W9hPN/NO5drXnb0qD8Wy0QxJa2V6JJVHcUb/auLbhrlWTasNcldk0xGkBrslCHQa4SwnbTZqf7JyX6WKubBWmj/P28W43jQcl8g9+sG09HLb0kMxRCG2QyVZIbjp0Dzk4r1S45f2Qken/WuL/AM5UZjRTvMyk/H7KwjBnyEVvClmqzfer2LAPLkm3zNAjhaIuVJeO0Hb8f5BiN6bam8XEVftfm7JdATaeRrAydPIO8OvI/+FlW9fp8LuCSpEOCFSZON36vUPyxSac22PUwAOaa1FynG7/cAFechhrtbquH9HBCMY3+m6+gliqC/gEgoVRHKDWRAi4NYYgub2K2XS3Ce9hPtlRSKdDwdU/krff3dISilDyq0Cp0RNHkEXiirHFw7ZJnKIMOxlemWmDRCB3yesiAIpy4kh9hcbC8Hw/gV5xTMBW+woF0GSB6f4bt9kymLtLnPFfvMsMnF3jT/+qrwnCrbXaSjiJF7LkB9ObuWjXtPQ/ZIp+cWhtOW6M6Qm2QTcRkHz89dLiq2YtXH5EjHdNNDXwGARwmtP51IhKig8di1FDBhEdGQ2kN+sYjsHZAyNu64s01MgpwmZN21G0PAZZzRouYw/VNuVj1D5H0nP8Pd+04sDLolgGwRwiD62A/6Y6ut1fy2h0tgv5tLrJe+tmNavKarFA== X-Forefront-Antispam-Report: CIP:194.138.21.74;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:hybrid.siemens.com;PTR:hybrid.siemens.com;CAT:NONE;SFS:(13230022)(4636009)(39860400002)(136003)(396003)(376002)(346002)(451199015)(36840700001)(40470700004)(46966006)(26005)(186003)(8676002)(41300700001)(70206006)(70586007)(4326008)(6916009)(16526019)(336012)(1076003)(2616005)(36860700001)(478600001)(36756003)(956004)(40460700003)(47076005)(107886003)(6666004)(54906003)(316002)(356005)(40480700001)(5660300002)(86362001)(8936002)(82310400005)(44832011)(82960400001)(82740400003)(7636003)(2906002)(7596003);DIR:OUT;SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2023 09:41:35.4693 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 060e23c2-9fe1-4740-ff35-08daf4813227 X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=38ae3bcd-9579-4fd4-adda-b42e1495d55a;Ip=[194.138.21.74];Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: HE1EUR01FT004.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR10MB6263 X-Original-Sender: adriaan.schmidt@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=vOHOlExp; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.22.41 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com 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-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= This is a follow-up to 40a53789d46763441715508b82154c976700075b When RDEPENDing on something that is not the PN of a recipe, bitbake needs a corresponding RPROVIDES. While Yocto is very precise with definitions of DEPENDS vs. RDEPENDS (and thus also the RPROVIDES are properly maintained), the Isar way is to specify build dependencies with DEPENDS, and runtime dependencies with DEBIAN_DEPENDS. This sets a sane default for RPROVIDES, and most users should be able to use RDEPENDS without explicitly overriding it. Acked-by: Felix Moessbauer Signed-off-by: Adriaan Schmidt --- meta/classes/dpkg-base.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg-base.bbclass index 260aa73e..5cda42c0 100644 --- a/meta/classes/dpkg-base.bbclass +++ b/meta/classes/dpkg-base.bbclass @@ -12,6 +12,7 @@ inherit repository inherit deb-dl-dir DEPENDS ?= "" +RPROVIDES ?= "${PROVIDES}" DEPENDS_append_riscv64 = "${@' crossbuild-essential-riscv64' if d.getVar('ISAR_CROSS_COMPILE', True) == '1' and d.getVar('PN') != 'crossbuild-essential-riscv64' else ''}" DEB_BUILD_PROFILES ?= ""