From patchwork Tue Apr 12 04:08:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1670 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Tue, 12 Apr 2022 14:08:38 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-qv1-f63.google.com (mail-qv1-f63.google.com [209.85.219.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 23CC8bfC030946 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 12 Apr 2022 14:08:38 +0200 Received: by mail-qv1-f63.google.com with SMTP id ke15-20020a056214300f00b00443efe3fe65sf18151529qvb.14 for ; Tue, 12 Apr 2022 05:08:38 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1649765312; cv=pass; d=google.com; s=arc-20160816; b=F/gF8vZDbMgwcmaA3iaKX7VAMmdmbeSmPvqdMMlA66PtZ7S7YTYAQZaaT9FA1doCF+ MIK48k8mM/6HkzDZOP+GX9Z1lnd9PGdJeZYe5ondiBFJ036qab5R8QUUEa4paCYx04VO DCz52CDgOFibW0RBwePQIZC8kP2AoEAUqW4hSPTJ8Iyv4pEhUFf3+Pn7zOPWx1VEpSmK hLL1zW/SunQAIs0grIY4OmPte3TMyzhj9nFoSQvJ9vEvSxzGazl3XZkICozTQgNjTquS ayqPjXEFFbwcn2KL1K3wAesGnY23u0o9GXhzxYfNvSHTLCQ/f5ZmUc3vwsyn1BVHAXSF 6F6w== 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:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=PSVdii8GDeM/8FZXrs/52pe3Q524S3axQ+fVqK50n2A=; b=FiX7pR48vJf4k9WGihFU26OKem3b70r+Ufz6eq9UCLZOteqpB1eH5ONwHJmWhRjIDk E3QmgLwtr5cfYLHU/DG/84hWnn7rMEpDqVy0Z93dcxI+zbOZ+T429raTdzSmiBV1MJYd j48mK5EV8py/qg6OC/8sidaZDAFwmbjER2UO30Xojq8hvkdiIrlIz8WORRYp/fDQA4bN RS+KIGbbz9p6tOnWcbcfAgJsjoA75tg3w67DSpbYgLgfLu8JwUJ8taJYtbbkTVlsL90M ZeNyagYozbzI6Ap43Ol8E7eY+QbJdwQWnQ4ST4F1xLnggWs7W5ZTj8+VwKTh2mHjePI3 iWuw== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=DANvGwou; 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 2a01:111:f400:7e1a::622 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=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=PSVdii8GDeM/8FZXrs/52pe3Q524S3axQ+fVqK50n2A=; b=SUJAW2CVGK8VTXOfXwT8C1qrp56JYCO0TKkr69tvh3/v0HHUS+zScb/T0CpFQ+cTuz N+5NuRozMsmxQJOmloPmzJKIK2hsq0meLk6uv0dQ4UaF5pCZ13KgcKAWKtj5qNDSkoBo UysL4fTgnr5AFmixrlk5DSFR0Zu/SAOilj4Sm8URVgEekecCCEPASF2NhRDkH+78Rcej XLyVzIhOeJD9iGD3N33LwINuLFj6NwS6ceA7BpMxAc8A2+htpb0P0UbDy0CD2p/eKGHX cdSIwcGK5QSWkfrOMdtdIPmRTz5t4rO4QLPjLT9NCvwdf27uiilEKTiwTxcejIQpxazc Mbdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=PSVdii8GDeM/8FZXrs/52pe3Q524S3axQ+fVqK50n2A=; b=jWtfg4wYdAJF7ydT7aK7xzl5/OrIjzz3cqA0ZOlJmRVzpv79Q4OneBPQF2t8LvfqjC D9+hpNeQmu1RFQzzVQV5cV9VD+naD8L/DsHLmVPN1h5XuhBBfWk87kWaDzQVyz3ybPU9 ZZ2iccy50bUwYcOtJMUl84qLlaff0xSz/69BgHMxA3SusJt3fChr0dcCGvCBtK3PN+6d eMJtF0TV/66jryi+ESxLNtkoNuPY5RLsU7aQ0CF7Tv+GdhsQrMrGAQBGMxXxBLpmdeHD EVITSAY4g4sOG6CM6HFHKJB0M1blIroOQzFgZDhDQ6XgP4XYm2HipGsNiw7VkCkrqkqo Fceg== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM532FH1XGx2ABz1d8WmAJi/YrzFXx7f+wksEn8pCwCGErCAmL+Jbs IXxOqU8j9ocz0x3L5gmJtoo= X-Google-Smtp-Source: ABdhPJz8afdj1puDC8+szjnnMinl1pg6dviEceALdrGNx6T/ZGs9JuwxGBeswSYjIxdDZ8A/4l3ceQ== X-Received: by 2002:ac8:3d49:0:b0:2eb:cbf8:4140 with SMTP id u9-20020ac83d49000000b002ebcbf84140mr2876786qtf.279.1649765311864; Tue, 12 Apr 2022 05:08:31 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ad4:4f51:0:b0:444:4038:b1ec with SMTP id eu17-20020ad44f51000000b004444038b1ecls7186977qvb.4.gmail; Tue, 12 Apr 2022 05:08:31 -0700 (PDT) X-Received: by 2002:a0c:b381:0:b0:443:e12c:141c with SMTP id t1-20020a0cb381000000b00443e12c141cmr30231349qve.117.1649765311472; Tue, 12 Apr 2022 05:08:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649765311; cv=pass; d=google.com; s=arc-20160816; b=CYXhd2R+uC+adE2qcwbAYfbAGgr4/IWleu0z1bTYADs7i4mbL4OmN7ReUcTYDktmfv bkIa9AKssU+NTd96+RNT4QOUMlMtynbyGS3KqVyjSPJ+jZBwZi4Anfz9avfiN1qZ2QZX k8M5qrePf+WM+1ycNbYaeIkHiLeLQvO89YRU2nqqrFtsNgYBxPaaHdby5h63NlNb2i0D wi0eTtp3fqViCQKscUPOv8T1XxldvvDRIixysP4YgMhqyM2leROUIA0ZFV4/1Rzlq8FQ 0j7TQAblpFTLkb86S2PTuSsZ0nIcMuu9n0W8ieARdjdF2cBgSeJukxL4eSG67pRE0fTG PkTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=5PELs1f5XQQS2jjphNkmJ+5JPsYU8A7jNxvlYIyogW4=; b=UmPyW6r6C4skUv++GByOsacIMqEo002AjAGeIGtp2F1z8qTBHU7Tk7QirKrWg0cqBd bR0TUOs9LkvXTFPtOGw8PE+tiMgHTUwkewJun0eg0NMJ4wKqQbfxufcrkpStjts6v/Rk E4xWrQ+oJvBToguWA5L/l6nQmJLlZm739qTmBhBL6YlzQMJsT3RLe0cOQHPbf4tM0QBR usxgI7PkikVo/zr7kZcsLSRmXwJzBfJ4eCUNEC3lnZxbF6lRj9z3IEqF6B5zC8mDv0FX Mg8qsVOkIjNlGwkE3N3wTB83eYNZg13Uz+GRt68OTO8Cs8BqiKUZ7OVAu5yG7jwEQ6Tu hp5A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=DANvGwou; 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 2a01:111:f400:7e1a::622 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20622.outbound.protection.outlook.com. [2a01:111:f400:7e1a::622]) by gmr-mx.google.com with ESMTPS id b129-20020a379987000000b006999e9e7f76si1052340qke.5.2022.04.12.05.08.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Apr 2022 05:08:31 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:7e1a::622 as permitted sender) client-ip=2a01:111:f400:7e1a::622; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TDkukXoz8H9k9fvNRXIhY5C6H1L964kR+TSAmst4ibCS3imx1OMpaS+TdK8mWjhmU/pdVQMmdonSIa0/nvHd5UoMDX9ecFRx0Jxb/uyUoJD4AfppcSPEhzWhd41MTHKH4aQ5yPv+Iwvelf6b0mnjGwINBLZmcJJ1OmgbgNcAE22uG0YGJxcfVil8ivlaF1PGc+MQA9+Mo2xKBqLiBKQNX3QarIp5SkH41XLhpbgE1st6KevGbDXyYlBKIwEdhhRMq4CC/UBcu8UnBGtZjIjNskfv91uDyg6Ba5JuyUsu8drayUo+HIKa7tTMARQgXisNFa+6TvqQUv1d+MoMppsHyg== 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=5PELs1f5XQQS2jjphNkmJ+5JPsYU8A7jNxvlYIyogW4=; b=n26V8FGcEut131HAHcE174d1vX1HSRmcoQnUcuc9kkgGGwnF+nhT2rjbC2EH1gMCcKFxQdLMMfAADdcpwoP6mdpi9g7YLWqvvZA2lZQIjKEiu/+VFs3RED28gDyD96Ou+cp052Zo1q17f4lu7hBp04Ev/3S2y6MMORHYZTsJV3r0C2pX6YsWe72Lkuu9htknMCtz48GmP0dse46i0vK+aGHdVHapQ4e/i10hEwFwvPEGZQ5X4FkKbW5HQmNl4JVaL2di8ukTvcnzo24rOR8NW8h3cm6jINulFyYWaXKapuZEn9G6ChWsCUjjK6GaCZ0MfjnGcHpJqQPB5EWW4uOxUA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.70) 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 DU2P250CA0019.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:231::24) by DB8PR10MB2716.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:aa::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.18; Tue, 12 Apr 2022 12:08:28 +0000 Received: from DB5EUR01FT106.eop-EUR01.prod.protection.outlook.com (2603:10a6:10:231:cafe::ca) by DU2P250CA0019.outlook.office365.com (2603:10a6:10:231::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29 via Frontend Transport; Tue, 12 Apr 2022 12:08:28 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.70) 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.70 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.70; helo=hybrid.siemens.com; Received: from hybrid.siemens.com (194.138.21.70) by DB5EUR01FT106.mail.protection.outlook.com (10.152.4.178) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5144.20 via Frontend Transport; Tue, 12 Apr 2022 12:08:28 +0000 Received: from DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) by DEMCHDC9SJA.ad011.siemens.net (194.138.21.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 12 Apr 2022 14:08:28 +0200 Received: from random.ppmd.siemens.net (139.25.68.25) by DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 12 Apr 2022 14:08:28 +0200 From: Adriaan Schmidt To: CC: Adriaan Schmidt Subject: [PATCH v2 1/4] bitbake.conf: always start with empty SRC_URI Date: Tue, 12 Apr 2022 14:08:10 +0200 Message-ID: <20220412120813.467516-2-adriaan.schmidt@siemens.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220412120813.467516-1-adriaan.schmidt@siemens.com> References: <20220412120813.467516-1-adriaan.schmidt@siemens.com> MIME-Version: 1.0 X-Originating-IP: [139.25.68.25] X-ClientProxiedBy: DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2e1c3b8e-8b68-418c-772d-08da1c7d27ac X-MS-TrafficTypeDiagnostic: DB8PR10MB2716:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8wx8HoOPWtSMEgVhUtPEwKYZpnyCZNyHroGZBBWzIaN06AlkBSQSj0pwKxaYVzk9F8Mc2ESZZdPpK6zmHeA7vG48LIgqbVncq+cibwtEWl9nCs6s0gaC12GLbwaHtyNKg3mB3UX+Xouvc6tHZrTK79wZZLdUiQtI3NJEhstq+hsW/xrDiIMViT1htuQaPIe61DU+pWTiPdC3ED+cRTA7KzldBztHCCk4+ejrgedywmMmd/5zzrWaE3/BAjAlnim87LmpBtcaV3vU1/Ylmm1X7p4LL6kWlKQKWvNUzY/1+0xqZ5VHOo9qGqwZWsvZ3pUqrRnVTzyouCdECHL7FcvzuZE0SBPDtKDuubDwPrxuz4gvobSjgHaqRcbaKk4nkVDkchTU3UIqivfLJ5Kr0tJ8Rza4aKaCalZZ1IGkTxH4pKPhznzO2cQvMn7htCwMsN4XF+OWpBJfJVRJUMS9FXWcvi9sHqf0OPpzOdSiYRnLtNNHZZMcR4QH2ZHocqSxhvOxAZpxsxnaBY1Cvu11mWxXSPNDgCsXyVhjQPibICDKun2GNw74ctE6M5+4zNgLhrzoVY8zOB5GvPq/BXaNTkgKvI3U5fyxdDzYJ1+O5AgBgWtAuN+npk8XedFzzQL3OGjXUS4oqhKKDXciS5Uq9rc05naytr6Lj76WEEKX6zqwXZLnjio0teeY4OVhsspIHE/V X-Forefront-Antispam-Report: CIP:194.138.21.70; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:hybrid.siemens.com; CAT:NONE; SFS:(13230001)(4636009)(36840700001)(40470700004)(46966006)(336012)(47076005)(5660300002)(8936002)(70206006)(8676002)(70586007)(356005)(6666004)(1076003)(186003)(498600001)(86362001)(16526019)(6916009)(83380400001)(107886003)(956004)(2616005)(44832011)(36756003)(40460700003)(7596003)(7636003)(4326008)(2906002)(82960400001)(82310400005)(26005)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2022 12:08:28.7825 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2e1c3b8e-8b68-418c-772d-08da1c7d27ac 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.70]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT106.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR10MB2716 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=DANvGwou; 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 2a01:111:f400:7e1a::622 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: INBOX As ${FILE} is an absolute path, having it in SRC_URI breaks caching. This applies to recipes that don't set SRC_URI (e.g. meta packages that are only there to pull dependencies), or ones that use "+=" to extend SRC_URI. The recipe path doesn't need to be part of SRC_URI. Changes/dependencies are tracked by bitbake, and OE/poky also sets it empty in its bitbake.conf. Signed-off-by: Adriaan Schmidt --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index cd1c4a64..fdb7a5c8 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -36,7 +36,7 @@ PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[2] or 'r0' PROVIDES = "" S = "${WORKDIR}/${P}" AUTOREV = "${@bb.fetch2.get_autorev(d)}" -SRC_URI = "file://${FILE}" +SRC_URI = "" STAMPS_DIR ?= "${TMPDIR}/stamps" STAMP = "${STAMPS_DIR}/${DISTRO}-${DISTRO_ARCH}/${PN}/${PV}-${PR}" STAMPCLEAN = "${STAMPS_DIR}/${DISTRO}-${DISTRO_ARCH}/${PN}/*-*" From patchwork Tue Apr 12 04:08:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1669 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Tue, 12 Apr 2022 14:08:37 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f63.google.com (mail-lf1-f63.google.com [209.85.167.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 23CC8afM030938 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 12 Apr 2022 14:08:37 +0200 Received: by mail-lf1-f63.google.com with SMTP id d12-20020a05651233cc00b0044ad60fe93dsf5792429lfg.11 for ; Tue, 12 Apr 2022 05:08:37 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1649765311; cv=pass; d=google.com; s=arc-20160816; b=TQVe4P/XQzsbVDSqGHXOE3FUlULRWgWfObWr1MR4dNOGl71/OK1iP2NLbuSWFKSUGU JHBgxM0DNGjHrmtTdgyk/tTvxoqQmgi79//yTDVdY18WWyClGcFvrtg6Cxm107qFmjnm cr9bzLjBJY0kSMx8YHwjnwWnRPthGhIZOjnDE3mG2dwWUdhzHnYxAT0aAztQEEFuSoDI W/zyHwIniBNKFWimwCV68x2E71VJoa1jynNNAjRnvKcXUAIwdDZaw4CvkDQmS33LnSE3 wCh4OUO+hXFAUVcjS/KBi/ztTzGTPdrvF5s01+7UyjvC57dTQNBofBHgWTBQ/HfCt7/J Ds+w== 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:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=3j9qu3QZmTC8EZExROYzZhpHGqwUdbEqxCM+a+WEJ2s=; b=wbQTb/FT5jFyAtf8i9hf9cPZfekuVKjrGVAf/51vq0paHG+qUav7AJGmk9puJes6h+ B1qaFD03E/t+26aR5JuA/Qh6cWiTVQX6o9JVdbyoBMWKYdWQXxGRkW9d2VVkTzUy3tlN 0YgJuVXebFp7CT9kgg1HbsNh2p5Og6AGrvjOhZmQ4TRPeEQ88GJheEISQ7Xg53KVDfmr T1GBp1VozkrfiQKOIDeOUd7zrimt5y57otpn5sGbsBe4ohaBmGKGqEjTl0RX8WAewvIv zSmAkhRZxYp4ryGtXwH9qU8KJHgqTQMEoU+88fd6tBKmwSynYr5yhR83LATvFCRHQ5Rg TG3w== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=r1AT9z4X; 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 2a01:111:f400:fe08::626 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=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=3j9qu3QZmTC8EZExROYzZhpHGqwUdbEqxCM+a+WEJ2s=; b=ZRTb61PthNQCbpWxreaKQ4h7Ge1emzFuCrBdt9HjMfVf8WS8Maw2Po8q85tyPXpebT e8lUBm/buwRp52CvYytSDh/p+MX2S7iqRQ6IK/XZBhYHOY65utubAksahQmchLXZb+AH 6bXpfp9su6ViG+GgPJhw6qcIZ1M6izAIDib8jhpyEVPiyVpx526KfrjngJ9eJL/DEK3y XoVh9ypxlhEo9NhVmIx4FVPYJ9woHuHQzuxvXME8VnjU2VqsG72aVgoEUFivHz0VohDQ etAvqvG+GTCwBJhSvKCv/uGvQYfWZuqfUxOAOmL0bgG7LPKmdirQJkU0+vHjA5FqwLGY QMLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=3j9qu3QZmTC8EZExROYzZhpHGqwUdbEqxCM+a+WEJ2s=; b=hVCutXqSm2t+PnxyvLZG+HGgKiN/ZVnpFvDf8duKoGSDdMoVDJMLYpNq1v98APrNkO fQrGM8ayvKKR04vz2900WhaaMgobztYew3tnybu3aOPtAMIrK+x78aL6R5QtNWqhq8FY sCXohyjlIdeIyzfNHYca6cFZSBDt+LdsSRklDc4wZTV3CxcY1rJfDwyUXXjR3MDkzlsD tHDcI7icvLJroaAvhd7p5gHa9LRmWWKNi2J6Os9o5qJjtuYptM78M6fIBy/3B3BY2OqP fUAYr8xvRz+7pe1q0YBb9EqiLwrDnQG7PRaqrjRsWLJvwLXjxL+O3LqWImD6mGvy1ZRM KuhA== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM531ATkC58zXLFGfW3pIofJe0Soh3SME8H2HrOlQfzp5RTpKBh0Sp GGvrX5WDcmLKe021jsf2eNI= X-Google-Smtp-Source: ABdhPJxSKExZkgaDai8s3gZTVL4Bh4Yf3Ci7G97x0tz26m9BWcp21YZVTBMpp1+ml2qvYuT1r3xHpg== X-Received: by 2002:a2e:300c:0:b0:24b:4f09:793e with SMTP id w12-20020a2e300c000000b0024b4f09793emr13077708ljw.2.1649765311514; Tue, 12 Apr 2022 05:08:31 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac2:4d87:0:b0:46b:9144:53c1 with SMTP id g7-20020ac24d87000000b0046b914453c1ls6656505lfe.3.gmail; Tue, 12 Apr 2022 05:08:30 -0700 (PDT) X-Received: by 2002:a05:6512:e82:b0:46b:8466:f515 with SMTP id bi2-20020a0565120e8200b0046b8466f515mr14417692lfb.400.1649765310391; Tue, 12 Apr 2022 05:08:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649765310; cv=pass; d=google.com; s=arc-20160816; b=SIOcGykuivEabRj78KZQpTuYYqV+aAFFPhdm3AoCKID3BcqpCjJnecCEK3pIoy8O1f /8cuP/Cyro18zl/HtOE1R4Z/rSqtioVJRKSTSU/bn5SCmyvQm3zIx/t95cknLngYMfsj r9BxZ3hqahS3f1qR1YqVkK4J7WCpgIZDyzm7LbfVoQVWyuifhU2JTDq+/PNfJgHN34It s3FUjkBco6aycJ8SLkYu0KroohDp/FhQADRMRCyKe1+wCn9fzGOqcT/FCugX2kNsnoqI 3Bpr6ustjeRVbmBylWD0Q5Gxe+VLHg/xGrTBPIO/EJIYkQAxYB6jrMRB8SM0Qad/ALKB 0B9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Nw81FXLTZt0Nx5eXNe0TLXxcOGSuscHGs++QOR+iWIk=; b=tCDS986J+o2CUKB/FsaIROWBJcnM6gGfL5A3dA27YxSP3f2PaisCsaAP6tIMP6MqtP ReUChK4iQaQ85PehaqmrwUqLUqWaSw5cWK+93g65TzhQFk1cR3Ud+w9oysh4XoQvhxMy FYactauc9HVkeCJcPa6Zx+dFGpqywpj1Y3Z8COUf+1NpZhG1xoc/jRbSiuBFGat7Ve+w 9HqsR1TFIhccynhetD/U7mnStWLmJPf1z4P8rOPBUJycHdohU/KkHAHMlnnw+YqAw9rP tya4Dft6rDktTfVqq3jHWHGrnJhjW6d6mxWLT67oZQiqCq8MGIYELbXwO9K+6HOYegTs tkdw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=r1AT9z4X; 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 2a01:111:f400:fe08::626 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-am5eur03on0626.outbound.protection.outlook.com. [2a01:111:f400:fe08::626]) by gmr-mx.google.com with ESMTPS id f16-20020ac25cd0000000b0044ada592078si554368lfq.6.2022.04.12.05.08.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Apr 2022 05:08:30 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:fe08::626 as permitted sender) client-ip=2a01:111:f400:fe08::626; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JdCBBpQ9cb2kzXYeJKR011ptL1k/FeMEVnxi8ImcR6xMdj706x3M6k479vPsfQqtHgx5EH/VGrBvcDm4mR9ecQO8QabH6/pHeysFQ5eJdXcg2AVsW2dW1VucE1TlEahHftMCdYWJcyzY1UUPTjCa/c23FNXsUpMNtVYvHu5O58dyCMakx/5yMZ0FKHQdtgYcfKBQJ5M6D95w2YWH4c06EooeVbNnS5BdaivGH59GVncBoVCs839EDCQFS6UsiIAjg+q5NY5YwPyYZ6UDoGAFHAXucQR4NXP7hfqZ7fMn2Zg4NDnUIKJvOgDDly4SGuJkkxxEGGXz7W5pTdr0vKFOKA== 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=Nw81FXLTZt0Nx5eXNe0TLXxcOGSuscHGs++QOR+iWIk=; b=jTw34aHbu629bEkvoWkdNgdxsUyJ/UfEMqFVQkCqn3t6aGQUOAnWj0msWhCBgRBjOmx7dPMTzsIA2e1C7rz/mCdR6YCCR2hsIBqFYbIup7MfeVLbIIKSODO5M1lvjaCU5WJBJLUeuYQHSbEE14M9jJAjJQSpDjWzPxhmJXCvK3B7aQi/I5T8XSrYzM3x3+8Fbx3sckJyMT0p8su25ZytzIEws2rpboN/HF7ImbUVFJ/wxoF8mLfyH8wmDUcyqO2f89CwimccDOJAn8a4/PLsG0hfvlXWWE7iPLsmf1bwcXgsdbu8mncLC5DRDkEvyKEaj7RMXUJc5mTqVGZgZLUrMg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.70) 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 DU2P250CA0026.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:231::31) by AS8PR10MB5879.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:527::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.19; Tue, 12 Apr 2022 12:08:29 +0000 Received: from DB5EUR01FT106.eop-EUR01.prod.protection.outlook.com (2603:10a6:10:231:cafe::2c) by DU2P250CA0026.outlook.office365.com (2603:10a6:10:231::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29 via Frontend Transport; Tue, 12 Apr 2022 12:08:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.70) 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.70 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.70; helo=hybrid.siemens.com; Received: from hybrid.siemens.com (194.138.21.70) by DB5EUR01FT106.mail.protection.outlook.com (10.152.4.178) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5144.20 via Frontend Transport; Tue, 12 Apr 2022 12:08:29 +0000 Received: from DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) by DEMCHDC9SJA.ad011.siemens.net (194.138.21.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 12 Apr 2022 14:08:28 +0200 Received: from random.ppmd.siemens.net (139.25.68.25) by DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 12 Apr 2022 14:08:28 +0200 From: Adriaan Schmidt To: CC: Adriaan Schmidt Subject: [PATCH v2 2/4] bitbake.conf: add isar paths to BB_HASHBASE_WHITELIST Date: Tue, 12 Apr 2022 14:08:11 +0200 Message-ID: <20220412120813.467516-3-adriaan.schmidt@siemens.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220412120813.467516-1-adriaan.schmidt@siemens.com> References: <20220412120813.467516-1-adriaan.schmidt@siemens.com> MIME-Version: 1.0 X-Originating-IP: [139.25.68.25] X-ClientProxiedBy: DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3e88318c-6d3e-44ed-aef1-08da1c7d27e5 X-MS-TrafficTypeDiagnostic: AS8PR10MB5879:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d5u7riyLo925/3MCHBYUIQ1/7UQJ6ZM35thCEQO8qmWG5z1c20rVQqkineMgQitXKdGJiDsQH2eWOfmWVtOfp7q2w5GiPX5zjJ25KUoZX0xA+a/hnnCVj3dZyNKzKVjCOTq1DTVG+xA0I/mmBTUacOscGgggvlg7SwSDtudUcVvxv6ahWCothEIiP+5cK3Whr207mL0ja28OkFsHJg4giejDppRxxhajmIrQidGsMogamdO/0nHTeesGKmuyzBdZKOTYIDG72K1XEy124dZ5fJbivgzAj7W/Joy60gZhldUZ3JMPBop490L7kV7v5CDNC/MwCky+LiGFLarZgVoMH1EG/tcydAXZeazR6KY0YuMr3UNeDPfoW2ara31B5FgMo9RwNva/0bCz7PXYUsGV25pAdS7s7UTY+Jv5yNXgYQROXqVUVsAPE2immR3Ft2ss9i0C+Fs1L8Q3ZBmdRKvAb0VOCX7407gOjJPQXTSRb5hhns01QbScVmzWwncd+o5t3Vu5grtCdUVtif/vF6hg7NGV8y2xQVUNWqv0P+9RPSHOcMn3oqzmtdLfRbofBeS5McMfaPen4bCMTe5DBF+ynfOaw2Pd1H+ez6rWQNW5GC8o3YfLjy7oVT5BJ0/A8lKPJQq+jb0HyeqaCAOrRYFvkEOczh0HL3cfznYCrzcmhCbE8MF+1xmn95qEv5jkfl4T X-Forefront-Antispam-Report: CIP:194.138.21.70; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:hybrid.siemens.com; CAT:NONE; SFS:(13230001)(4636009)(46966006)(40470700004)(36840700001)(70586007)(498600001)(83380400001)(1076003)(26005)(5660300002)(40460700003)(2906002)(6666004)(86362001)(107886003)(6916009)(44832011)(82310400005)(8676002)(186003)(336012)(7596003)(47076005)(82960400001)(16526019)(356005)(956004)(8936002)(36756003)(2616005)(7636003)(70206006)(4326008)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2022 12:08:29.1418 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3e88318c-6d3e-44ed-aef1-08da1c7d27e5 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.70]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT106.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR10MB5879 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=r1AT9z4X; 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 2a01:111:f400:fe08::626 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: INBOX There are some absolute paths that should not be included when caclulating hashes/signatures. Things like TMPDIR or WORKDIR are part of OE's default, but we also need to add the Isar-specific paths here. Signed-off-by: Adriaan Schmidt --- meta/conf/bitbake.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index fdb7a5c8..db1180a7 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -100,7 +100,8 @@ BB_HASHBASE_WHITELIST ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH BBSERVER DL_DI PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN PARALLEL_MAKE \ CCACHE_DIR EXTERNAL_TOOLCHAIN CCACHE CCACHE_NOHASHDIR LICENSE_PATH SDKPKGSUFFIX \ WORKDIR STAMPCLEAN PKGDATA_DIR BUILD_ARCH SSTATE_PKGARCH \ - BB_WORKERCONTEXT BB_LIMITEDDEPS DEPLOY_DIR" + BB_WORKERCONTEXT BB_LIMITEDDEPS DEPLOY_DIR BUILDCHROOT_DIR \ + REPO_ISAR_DIR REPO_ISAR_DB_DIR REPO_BASE_DIR REPO_BASE_DB_DIR" BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME SSH_AGENT_PID \ SSH_AUTH_SOCK PSEUDO_BUILD BB_ENV_EXTRAWHITE DISABLE_SANITY_CHECKS \ BB_NUMBER_THREADS BB_ORIGENV BB_INVALIDCONF BBINCLUDED \ From patchwork Tue Apr 12 04:08:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1673 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Tue, 12 Apr 2022 14:08:40 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-vs1-f56.google.com (mail-vs1-f56.google.com [209.85.217.56]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 23CC8cKU030950 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 12 Apr 2022 14:08:39 +0200 Received: by mail-vs1-f56.google.com with SMTP id y5-20020a67cf05000000b003282f121554sf588738vsl.12 for ; Tue, 12 Apr 2022 05:08:39 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1649765313; cv=pass; d=google.com; s=arc-20160816; b=s03/kHiYRLzaYinO6+NBXQ3KSaxw1qdQci66wkLdQ0NaLtter4WUYl8ybqlTXjHIUc tb4Be1eG642PqoyeRVz3muwY4Pgg9dxqBfoIdPsCf6HiFDdjkNcP4m0aQb+l+Qe2GsdP 9TiwLFRRX7zRhMcIVjmZEAzcS8mlK69rXndsPJ5dznSB/bZ/yxng2fO8+I0YPw5MBMu9 +3RtrENDKx0Uw13m8f7SKqnX3carMgVi6a/EfGLrJLJSC1aADVQ9PlE7a928YX3ViABf Vbwk9Cm4qkyUUUQJ5MMXqSkRYNmcM+f9XZ5xkMuyFYdla6wrMYTTwY12PdhoZJ3arGZ6 Dr9A== 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:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=HwsQ1vroD0Uo5nnSuj6ck9CxflTJa/xJoWtNrwDJQnM=; b=AYzvqA8vB7KTDWTy5H7s1K4+xRJAzw6qgdCHS+m6XVzbqJ0K3t5cxZEOIKyGVuMCVi xJVLWPJxaqe33pzPwuSN7E6F6sdqM0FCoEc8cA9JeHAF9DEyLOoyJhScN+FPU75YVu9e Wc45QeKHbAkl/vY7XQWBs510Xcgr+xujjQG8yu2AYQC1AzBx+jN8BMnAMwRrqf84pShf //rQc0GGB2hVNMLU0CgN+TxxjZjXRewjEAb0GkJfD6JhZFDM+tqz5xfUrMrX5gFtIwrX I+iwJFquryMeSLJYdx5fD7PdF8hHyb+SLI6yvQb+1zC8dxBh5qMwKlIFo/BHjaTg8iLD wcyg== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=xs+FR3Td; 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 2a01:111:f400:fe06::629 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=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=HwsQ1vroD0Uo5nnSuj6ck9CxflTJa/xJoWtNrwDJQnM=; b=mwAL6U4dKhFSjPc9vF+fA2w3lc511c2fDWJZpe2tcH8NXE5b1w38UB+cx7qqIYaLpj ivbsgEBf7Fb3iJOqtpduJ0zFscte41eGIiH+7xH5rg7bHdWtRqueLG+yq64/QYkL+8rj MQ7HJn4UfZBrGekEceKFfvP7V5KDdfQ6iTB3jBpS6hlFZXOmBeg+JdtK8vkFKyYRXait iV354yXHBMRHm4KzUrFCKXEoGdXSBJqfuY2kGmxPZ2HR6XJs5MYfL+QlWeC1PCKrecX+ N7FmKgT+PHa8lGgIb2ThRHuiGJBvvLX0B8wxJBCvsVugzLdaHUCQ6lmFlwBgUJeE/Tis 4eOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=HwsQ1vroD0Uo5nnSuj6ck9CxflTJa/xJoWtNrwDJQnM=; b=x1SmGThtRBc9GxMUMN7PFFVTXyRMJoHlMWWlA+SxnWrLzyljVoEVUHo6EvG/ngQBJ0 JFV3Ytk3INJ9CFw6svgM8GmVuWpdAQPjxl54sTMXapky9DmmW7YiR38QyIzOEvsObdK+ UIMDuPa2+PpYCCILPt3Hd1UqyQFzbi/7G/HMbaR5S8fnwG7ALOrG5zjkkEgvkX154a80 eiZD4nIV44CHP0zCtWGkMzMmsbOzcFaUNBoFzKFaLx7c/iL1O9WRla7mV834RQfoU06a C18HocA/3d3cSYPWx5CEOLETQPhz/jp7XYbuGL4xaSnSmUw8Owdy1Lr25Z/cgufV5wFK L7ew== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM5319yK2uexBhaWxy8trBVzMi/vGu4DzsDp1P6qB2fCwse5XlQs9t jrK2IP13hVkKna1pXZTaZsM= X-Google-Smtp-Source: ABdhPJynHiQyGFsDB6kg/xjKZXgf14Ibmo1g2DQk0ytN+u+pWsJMjX+6ivRmZOnMSxmwcT9wQ7SZMg== X-Received: by 2002:a67:d48d:0:b0:328:2e7b:977a with SMTP id g13-20020a67d48d000000b003282e7b977amr4264630vsj.51.1649765313559; Tue, 12 Apr 2022 05:08:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6122:17a5:b0:345:c101:230e with SMTP id o37-20020a05612217a500b00345c101230els1672284vkf.2.gmail; Tue, 12 Apr 2022 05:08:33 -0700 (PDT) X-Received: by 2002:a05:6122:219e:b0:345:c57d:4c55 with SMTP id j30-20020a056122219e00b00345c57d4c55mr2196717vkd.26.1649765313065; Tue, 12 Apr 2022 05:08:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649765313; cv=pass; d=google.com; s=arc-20160816; b=TtaOim2A+ab5T/dA2RwB+BYx3RQPLOVE97ALtl1BB8MX+8ofPsRaKnkMhWOe0o+wPX atgVjBrhLRPlF2HPr0YmbOK+3brlAIZoaBEQ4/y68RYMCL//WgolAD/Lr8+nPc12BhqD SL1rxqDLZ2WiChArLBAQ+UgH220rFs4u0eS/lCBXzG6cDl+xcmlJNouTR4UFfT3olecy k6DAHw/VUv+TXJO1RQuhjCR9Ds2o2xwzpOTPUE8ZDA5UDRCJQyFWKiIaxq+KDtv0Mtq3 G/DJqco5BEKcsJ6k6DE4rygWTqO3/G9Ql0zgu5XYzPo4hx1FMRv/TYLcn1G+Zq8nqDVf DL1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=OSaaQ0LpPPQZdDtuPpwPNt+cFBy9nbCp0laEJ3/MYLo=; b=HsboOY3E+JG5aKYliB+9nqxYzKpBFBBVyE9zg+3ABSDDE0jkE4nBpvol4gIOyf9L36 elf3dVvSkXc/sAxDIy9wYDsQYhz98ZdONmEakJZTmcqCRzZw1bViEyNTSD1LWdYBcWgv VWXUsmc55BSJuQfnFCVtHck4Jk5YoH9rmrl1ruIjYcn4CP/SPOCrBV2AAYMzFFzE/LQK DDwvTN2m0Y4T6KVO09tWxGFjV0IDJ1VmivNRZAWJFMivSAd2H3uGSweEhK9TqmKX2OJA 1SFXFh81j3Ygm3cIrw6rf8FNmHAjYhKfPuiqpkMGU842ea74y5C7SUwx+WPdj6UpRu66 hHdA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=xs+FR3Td; 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 2a01:111:f400:fe06::629 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02on0629.outbound.protection.outlook.com. [2a01:111:f400:fe06::629]) by gmr-mx.google.com with ESMTPS id k13-20020a056102116d00b00324c0eb5d57si1187387vsg.1.2022.04.12.05.08.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Apr 2022 05:08:32 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:fe06::629 as permitted sender) client-ip=2a01:111:f400:fe06::629; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VI7WPg6oc4n860D0Bbj0Q5f0P6Zs/XBxZ82MBpy7ULqdkxf9b6oXiZMR8OhbESTmqaccuHbumNZVY2dN+dXUcjZMR8/9++99sa60DU1n1Af4YQT2SKbsoJpx/CLkluQCixnBtzNG1gwMq+fywBNOXOf4hE0DpM34Ac+8wfAggyaYCjYhxZFOjGIjgJOe1mO4+zW2EUc55Uwb0GX5kU+JHpjuMGszJemfNxH5ROFM9+L3t7ehfVIIZtgr5ul05WqpBpEbKXhAU5apgo6oJ52CUaRGmi4fXhkrBMeXsdyh8NOYquY+/7El+04nDdyfWHdzlluP6UwGD1qisL9EHKY8oQ== 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=OSaaQ0LpPPQZdDtuPpwPNt+cFBy9nbCp0laEJ3/MYLo=; b=H4mqZ9PH2gEFsh9dHXZTn7n5QDfYhFVoE22aet06fIeP+Yedq4wI5PsuFYDGdgyevONUEHkg/NtshaO21ZkvHvNex/sLa42YSf/1HdNLJZsZdjiz+5W7VJaLB/bZyMonBaKFydkrc0rxc9UI0LwEODtoeKZR8qBSp1apn1NI5crlnAaqFNKnkJg5Y62rSLz8W4L7XXoGPdfj4hTeAGQhRm14LzHi6VZovcVgeGjfSU0AcznALOP5oJKfr5uSmwo1psgLIOSeNFeqQn1AI6cdwD643SsiDIvi3Y3BCd9hBOMEPpBYO6wsRhsoj6RSjfdFBntZiQsjFwLCrKWWzethBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.70) 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 DU2P250CA0028.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:231::33) by AM5PR10MB1745.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:206:1c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Tue, 12 Apr 2022 12:08:29 +0000 Received: from DB5EUR01FT106.eop-EUR01.prod.protection.outlook.com (2603:10a6:10:231:cafe::a7) by DU2P250CA0028.outlook.office365.com (2603:10a6:10:231::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29 via Frontend Transport; Tue, 12 Apr 2022 12:08:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.70) 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.70 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.70; helo=hybrid.siemens.com; Received: from hybrid.siemens.com (194.138.21.70) by DB5EUR01FT106.mail.protection.outlook.com (10.152.4.178) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5144.20 via Frontend Transport; Tue, 12 Apr 2022 12:08:29 +0000 Received: from DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) by DEMCHDC9SJA.ad011.siemens.net (194.138.21.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 12 Apr 2022 14:08:28 +0200 Received: from random.ppmd.siemens.net (139.25.68.25) by DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 12 Apr 2022 14:08:28 +0200 From: Adriaan Schmidt To: CC: Adriaan Schmidt Subject: [PATCH v2 3/4] isar-bootstrap: no absolute paths in SRC_URI Date: Tue, 12 Apr 2022 14:08:12 +0200 Message-ID: <20220412120813.467516-4-adriaan.schmidt@siemens.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220412120813.467516-1-adriaan.schmidt@siemens.com> References: <20220412120813.467516-1-adriaan.schmidt@siemens.com> MIME-Version: 1.0 X-Originating-IP: [139.25.68.25] X-ClientProxiedBy: DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5fee7a06-9197-4c54-0dab-08da1c7d2826 X-MS-TrafficTypeDiagnostic: AM5PR10MB1745:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: j46SIdynM3AwTOwxE5iTpUNtowXlPj1D+ls+8suAiEaMTIOVQ3aSEzMlnFPbLZG+1d8Ajbo5Hn3H5M3tCrsYvF6hKIMIhiJg2zmPzyEGRIXxBVEdZLI1V392Ztcv94Kx1YwZuxK3fKANU9he6VR2n+2xPvCiqOfiHa4AOZYKe+ki/DtWQJA/4GCsGMs9wWhoMbcWctsOzRKLIbYFG/N309ZfQBN07XMUWgYLNp5FEO0bxOAXAni1aK4azuV8eWIhrPoGkL/o7eqpfLy6IYpvtq6SWlAJRgiNXBTykIaHJWGGj2CR5gl0AVwII8wZh+5WL0EB8Zbb3agBSoBo5yVfhEu1v7GZbOcZeZ+Y6Z35nwjY/eVmJK8R6+2uAjCT+Ej4t+OzVdzmXzblZrrtshxYSRS9gRAMu4TX/utmRIyMS8bFTbMX/tno+Gtv+ecMR2HkPn6xYfXWwlnYudQsliE1yX7IFGhI9/FybhU0MejYRKWPCw3+pO8WG8ai+sdjaFAVjxL0QWZ3OeimlKxBU7EbP66kCDfenAtsx+RanomB/qWLZ2IfGOPum7UmMpi7eHVzxkutlRRtYsNaiNV2eyQ84z59ca4oTZbgE684R2zaBQtsaNWOSgdCPgG+fPSzYEZqsdaOhtWK/BLNkCUbUwaMa6zZ1nUr4+3Ir/vXaBIH1pqWVkTbWDRwft11Dldtg2rw X-Forefront-Antispam-Report: CIP:194.138.21.70; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:hybrid.siemens.com; CAT:NONE; SFS:(13230001)(4636009)(46966006)(40470700004)(36840700001)(40460700003)(47076005)(956004)(107886003)(36860700001)(2616005)(86362001)(36756003)(8936002)(83380400001)(26005)(336012)(2906002)(186003)(8676002)(70586007)(5660300002)(6916009)(70206006)(44832011)(82310400005)(7596003)(498600001)(16526019)(82960400001)(7636003)(356005)(6666004)(1076003)(4326008); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2022 12:08:29.5793 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5fee7a06-9197-4c54-0dab-08da1c7d2826 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.70]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT106.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR10MB1745 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=xs+FR3Td; 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 2a01:111:f400:fe06::629 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: INBOX Having absolute paths in SRC_URI breaks sstate caching. So we don't use resolve_file (which searches BBPATH and returns an absolute path), but instead append the search path to FILESEXTRAPATHS and let the fetcher find the files. Note that there is no risk of finding/caching the wrong file, as in addition to the path in SRC_URI, also the file contents are hashed. Signed-off-by: Adriaan Schmidt --- meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc index a6e370e3..145d5e87 100644 --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc @@ -29,6 +29,7 @@ DISTRO_BOOTSTRAP_BASE_PACKAGES_append_gnupg = ",gnupg" DISTRO_BOOTSTRAP_BASE_PACKAGES_append_https-support = "${@https_support(d)}" DISTRO_VARS_PREFIX ?= "${@'HOST_' if d.getVar('BOOTSTRAP_FOR_HOST') == '1' else ''}" BOOTSTRAP_DISTRO = "${@d.getVar('HOST_DISTRO' if d.getVar('BOOTSTRAP_FOR_HOST') == '1' else 'DISTRO')}" +FILESEXTRAPATHS_append = ":${BBPATH}" inherit deb-dl-dir @@ -60,11 +61,11 @@ python () { distro_apt_sources = d.getVar(d.getVar("DISTRO_VARS_PREFIX") + "DISTRO_APT_SOURCES", True) or "" for file in distro_apt_sources.split(): - d.appendVar("SRC_URI", " file://%s" % bb.parse.resolve_file(file, d)) + d.appendVar("SRC_URI", " file://%s" % file) distro_apt_preferences = d.getVar(d.getVar("DISTRO_VARS_PREFIX") + "DISTRO_APT_PREFERENCES", True) or "" for file in distro_apt_preferences.split(): - d.appendVar("SRC_URI", " file://%s" % bb.parse.resolve_file(file, d)) + d.appendVar("SRC_URI", " file://%s" % file) } def aggregate_files(d, file_list, file_out): From patchwork Tue Apr 12 04:08:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1672 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Tue, 12 Apr 2022 14:08:39 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-qv1-f56.google.com (mail-qv1-f56.google.com [209.85.219.56]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 23CC8c6g030949 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 12 Apr 2022 14:08:39 +0200 Received: by mail-qv1-f56.google.com with SMTP id jr12-20020a0562142a8c00b0044429017bcbsf9738788qvb.20 for ; Tue, 12 Apr 2022 05:08:39 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1649765313; cv=pass; d=google.com; s=arc-20160816; b=0OH2dY0O0YtX8Yw/nbkTJuZqwEgHAcIn5LVIxp+ajPdLCaUK9HeTlBjYvh8z3tqOfv 5rvr46iRvjTofOIy23nrl1G67Ht29kX6fWG5kGi+PXTGkcYcwtUcSazYjtH7QbSYk2Rm 1y8h0GXpDkuMzaCoEbDBAJbijcXyqf3aLbk44sYP5HNjVU50rhOB3buATxMiF88awMSR A4WzSrpcGKHSGDaJaEXfeIB/WsRfsR2vDADP6/GsT/zP+jEgpqsvSLKyo2PA0rzqcmJ2 6tvJrTDz58At+DBWL8FADHUKTxzHnBCZrRKyKNF4xBO4wQWzFhh1UesaVqodBu9DCZsd BZMA== 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:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=zov6i3cwf/1s4vDes26/NdryZZtQVWy4Jj9x5tWPQ+M=; b=Tf5ZuVVSi+aRQK/H/s/WUSPORi4GMMTesq23H1QtUqU/2qGk3uG3iU8vx2gZfcurE6 K43G2lSI9xKYJq+TGgfCHgyX2O8wzQW5jAfNCP+7XwI6ij7zq4nmZrN90nkhyWYbn/0Y NDI+j36pVEoG9jbO/SkqZMVOEFfD3WmwcaVyo22Wks8GFad08DJSP29aa4zMl5EqHmN8 OeQFdxI6bJAMFcOAila8mecn2kn5r97LNhhVIEPTZp4gWPqVU92S2uTapWaGZ1kWO7Mn Lp+vr2TB6kmCcr3eoAguMjKaybO3rBpOlq7Bc4C4/hTd11Pl//fBgC2xQQ+I0JiqJNlH 3kPw== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=FCWieaLB; 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 2a01:111:f400:7e1a::625 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=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=zov6i3cwf/1s4vDes26/NdryZZtQVWy4Jj9x5tWPQ+M=; b=WmWG/BSB6B/icPkgwJSmsQslKpLI4ydSRMklldMtPBTpSz8+VyQ+RH86XJmtDSMzcA +JxpXglU8FLuhALt6jLpz8HylmJjNsKsQW3wzPHTtxldgZb1yh6H9ul2ed706P90TGyY Ca/pjA/4W1Py8M4Y00FAR47qsJSnY8WWrwZOSBEXVIz7XDOGs1CIqMcOGN5K4rH7QxnW n9OZOAXwXJArV///Szvx1xThME54NmgExZQskdAOgMP5f0haFCG7NXOA6bkzBL4Yu4qm y4vHpjZmXVJno74egn/uYsQbDBfBcDTF8VL0g9S3/ChmrZH/64mIa4iqm2Shd2/vnU6O o1Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=zov6i3cwf/1s4vDes26/NdryZZtQVWy4Jj9x5tWPQ+M=; b=LMYKEzL0XO3OJa2IZ+xSdnEks10RA8rMY15gcoiEh7XYoyX0LO/cTCzKw/cnnzWfVy SNg2xIB1II5aY4QMl2Ut50nc06RMFVvgqknWNKaKHSVESijTbV/prie22LOCHl9F+tdL exaj7hAwO49RAXcAIOKHE/PwKnfVedxSZK8IVOCufZryJBgB+gePMoTmdZ2IyRbAMEXN 2HFK7tldDXxC2m7saFthyLxt9XpCYURx/QwgJW8SpoxqwmTidjn7P8G7EDtUxtYhIlbN 9acspno6bS90CP+IVSiI6xkCpT4qrha1c3LF1Cf4Wl40BWWf7lz4pwwdr70bYshQa6AU 1bMQ== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM532kyU9VyHzkonAaBs+WVyTbPuT0rK+Dl1ooBmjkaM74zCHGam5N NE9PxTY43y1FQIqBzWvUgt0= X-Google-Smtp-Source: ABdhPJyvVZzSkiF5FOYVWFTgsVfaQLQsJ5gOXNYDCCK86iKowNDoLdtXES8b/v9zfj8yKwQ1VGOx5Q== X-Received: by 2002:a05:620a:2981:b0:67d:6a35:70f2 with SMTP id r1-20020a05620a298100b0067d6a3570f2mr2704050qkp.404.1649765313154; Tue, 12 Apr 2022 05:08:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:620a:462a:b0:69b:f575:6ce4 with SMTP id br42-20020a05620a462a00b0069bf5756ce4ls10552494qkb.10.gmail; Tue, 12 Apr 2022 05:08:32 -0700 (PDT) X-Received: by 2002:a37:8d44:0:b0:69a:224a:dc27 with SMTP id p65-20020a378d44000000b0069a224adc27mr2685237qkd.563.1649765312658; Tue, 12 Apr 2022 05:08:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649765312; cv=pass; d=google.com; s=arc-20160816; b=wGk7dOpf9+shybujm6+Y6ZFFDY1L3NryBpJ0Zm0tbCL6G4Lhdvl2yTxy0WHTTRCRpT OxaXc08NOcV6pisaliJoLYRPolG6rF0xQzAZNGi8rejAUsmWTeuTlEEGt5q+CNXTcSNQ +XWUYRY14COUqLdew4O9EWyQiEMk/YnTFHlwM1GG7swsinglw4t4V9oV6mepSPtVFumK AqaEBm5Bsuj2EobkW4YvFaSKaXvllm+e2e6v/ezt2mBA8likJjVc6ZsCgfWqyOOYBtc7 bhF0jJ8bEofX+U5oHGpEx/7P7Lupbtx1Jw2LCVcu7q5SKWYayCA0pZFDLDInuB1+Y0pt LF9g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=sOX1IYlmoFrnPCGa+pKha6xY9jarasEzzJwNXiFwM0s=; b=izJLxmTcqyWCCCoku00qZdQtOcbwtjLHnHq03BZ8iDmPsZNXYhs6Z/IunRf7WgiCQQ UfinlybW23w1o9UP8bjS4D78vw2OzVmQ9l1mC7de/pe6C9w8hDM0RHZAwUEri/tieRL5 nu6Dh9pP2WteFnjMirr9IqHIcm+i5Ijnnxxb+HnhWWR2hchQkSga9yo4zTxrIdqg6mA1 60aRj8DnkpA6tIQqvjca1qTK7VgpyDhi8JjBv/bgoyFNLXrRVPTx53QPPGkXYzGa5hUY mPEAWflkpm8nPphU4GIgJrf3vyeJHpDjfzo7N3KLPfGJ+kbJFpN9MbFave+kaeKAWSfa RSJw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=FCWieaLB; 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 2a01:111:f400:7e1a::625 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20625.outbound.protection.outlook.com. [2a01:111:f400:7e1a::625]) by gmr-mx.google.com with ESMTPS id p5-20020ac84085000000b002edb5d721efsi1209903qtl.3.2022.04.12.05.08.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Apr 2022 05:08:32 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:7e1a::625 as permitted sender) client-ip=2a01:111:f400:7e1a::625; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=koVwZ4LqCRloJ4J62+9fcXTNbJ8KgwYNVjRXFNs59lU/Qr6v3AC8d6X8RqXKjbmqSHMiuPXMvuwVTn3cJte/hKe3QSNEzsx1rf/PVgs3z62uqKPFkVWWo6Ef2A5xrRX9wcpHuNRBmISggH2eQVc3wZ6U33tg3Y2Bq9GTIe6GYDnfIaasJK9xgDukBXBbqry1j5EZRSBlYgB6XB1xsfEU1ilb0vXTvl6RtMHcmpkLVWtofIauvMS0TOoHm9T6JNZlaJ91HSjkhSbO2yL3W8zT0jz8mG9y2Akk7Tqyd/o+CLAvQzlfwnPIrnGmZfPJVlYdae4VMWnsO7U0nySLpjq99A== 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=sOX1IYlmoFrnPCGa+pKha6xY9jarasEzzJwNXiFwM0s=; b=Y58q79NL7xwaplrel0JGlcsh0tlZG2I8DmmWcwoX0S0w9/Nu7HwXhpd8wQzP4XxHeraMZydGQgl8EA8dA9cCDrqWJ3jZAeQ2YjwZlLtwIxhrR2N/FA0eXg+7q2Cab9SDao5o7abTqC/0kFXXUvHcXUHjN+163X1Qg1RJuaxtu5R8kXS3DXSKdCLqQL6vN1CFKEpKyBH+igFL3zLhx4OL61EUm2m4Gh6SCf1ClVNu10nC7PGuT6FsXRK9/Or/C/JreFL/XKEtVy48nXjE1iwaiPj72bxH1Owb5K4/ffTbC+1jkCjQi7u6rsYG4n0CeYKm9qKt4FJDz4iKbKej19ONpA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.73) 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 AS8PR04CA0071.eurprd04.prod.outlook.com (2603:10a6:20b:313::16) by AM6PR10MB2344.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:50::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Tue, 12 Apr 2022 12:08:29 +0000 Received: from VE1EUR01FT091.eop-EUR01.prod.protection.outlook.com (2603:10a6:20b:313:cafe::e9) by AS8PR04CA0071.outlook.office365.com (2603:10a6:20b:313::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29 via Frontend Transport; Tue, 12 Apr 2022 12:08:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.73) 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.73 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.73; helo=hybrid.siemens.com; Received: from hybrid.siemens.com (194.138.21.73) by VE1EUR01FT091.mail.protection.outlook.com (10.152.3.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5144.20 via Frontend Transport; Tue, 12 Apr 2022 12:08:29 +0000 Received: from DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) by DEMCHDC9SNA.ad011.siemens.net (194.138.21.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 12 Apr 2022 14:08:28 +0200 Received: from random.ppmd.siemens.net (139.25.68.25) by DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 12 Apr 2022 14:08:28 +0200 From: Adriaan Schmidt To: CC: Adriaan Schmidt Subject: [PATCH v2 4/4] base.bbclass: don't pass absolute paths to root_cleandirs Date: Tue, 12 Apr 2022 14:08:13 +0200 Message-ID: <20220412120813.467516-5-adriaan.schmidt@siemens.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220412120813.467516-1-adriaan.schmidt@siemens.com> References: <20220412120813.467516-1-adriaan.schmidt@siemens.com> MIME-Version: 1.0 X-Originating-IP: [139.25.68.25] X-ClientProxiedBy: DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 36c1cd55-0333-45e8-d625-08da1c7d2805 X-MS-TrafficTypeDiagnostic: AM6PR10MB2344:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8cuYUTqkJuDr1FT+mZxXTbtok9le375oMeVqjrfxcNDHMqyED9NM2ue02zKMkJE1OyBKg4si+uKBn1BdsFD+GiXN84+RMcwCELSakq3L3hoMC+cvIjE9HQrT3F1mNSKnlgjgfabizFGmHldJ5NHtfDdqX5BSR0W6KefdXilmRM5rUWDfDbw3mZFAy5rvvUISjn4fWNaaBOh3gUNSK54QZuBcrrxPmF9xxSXxrsKrDZcKbvjIL/NvB8tqLzQQUF10aRs/BEGD+s+b4IgUdxfQrliA1LHHzTTMaK04xhXYXgnJdY6SiqHhL1TS09aFanRuST10CfnYgfTa4Gm6QufZMvc6s3M8FgU2RrcIoP9d47TuZaHaZCRRcWPOe3SROlS3AQrXqDZqqNGCl2IBzy73Mp5b/pxczUcJ0yCdIP9P6YUorpjmxm6Dgtn5k/NeWnLu0hIL9nYV/efTWZfGv38Sn+qjxCnl82zHKpe+dPmRZGJzL54O6uuKgBsxyU7GPTlgQp7oND5QvDd2r9jhDMpCN4z68VGPHDLub2ucR6NH/be0iGU2oHw94n2w3o+D8ikoJDTLtgOp4/lBEE6jTI/tgFd5JTKOLCisXtsha1cd9PsHu6HlnilCkMH0rgZ1XoZWdnZPGxiz+LAlFrId30vbfUyUZCMabSbQsjf0qiRa1LWCnpK3AfnJGvLTYBMgz6lr6ub8RLTyviVxLd/rJ9v93A== X-Forefront-Antispam-Report: CIP:194.138.21.73; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230001)(4636009)(40470700004)(46966006)(36840700001)(8936002)(86362001)(82310400005)(36756003)(40460700003)(5660300002)(44832011)(6916009)(2906002)(186003)(8676002)(70206006)(70586007)(4326008)(498600001)(16526019)(82960400001)(356005)(26005)(81166007)(83380400001)(6666004)(2616005)(107886003)(1076003)(956004)(336012)(47076005)(36860700001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2022 12:08:29.3682 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 36c1cd55-0333-45e8-d625-08da1c7d2805 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.73]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT091.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR10MB2344 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=FCWieaLB; 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 2a01:111:f400:7e1a::625 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: INBOX The directories to be cleaned are contained in the code that is prepended to the modified task. If those contain absolute paths, it can break caching. So instead, we pass paths relative to $TMPDIR (code already makes sure the paths are actually below $TMPDIR). Signed-off-by: Adriaan Schmidt --- meta/classes/base.bbclass | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index a7282110..4ec2c813 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -105,14 +105,16 @@ python do_listtasks() { root_cleandirs() { ROOT_CLEANDIRS_DIRS_PY="${@d.getVar("ROOT_CLEANDIRS_DIRS", True) or ""}" ROOT_CLEANDIRS_DIRS="${ROOT_CLEANDIRS_DIRS-${ROOT_CLEANDIRS_DIRS_PY}}" + TMPDIR_PY="${@d.getVar("TMPDIR", True) or ""}" + TMPDIR="${TMPDIR-${TMPDIR_PY}}" for i in $ROOT_CLEANDIRS_DIRS; do awk '{ print $2 }' /proc/mounts | grep -q "^${i}\(/\|\$\)" && \ die "Could not remove $i, because subdir is mounted" done - if [ -n "$ROOT_CLEANDIRS_DIRS" ]; then - sudo rm -rf --one-file-system $ROOT_CLEANDIRS_DIRS - mkdir -p $ROOT_CLEANDIRS_DIRS - fi + for i in $ROOT_CLEANDIRS_DIRS; do + sudo rm -rf --one-file-system "$TMPDIR$i" + mkdir -p "$TMPDIR$i" + done } python() { @@ -148,8 +150,10 @@ python() { ) ws = re.match(r"^\s*", d.getVar(e, False)).group() + # remove prefix ${TMPDIR}, so we don't have absolute paths in variable e + dirs = [dir[len(tmpdir):] for dir in rcleandirs] d.prependVar( - e, cleandir_code.format(ws=ws, dirlist=" ".join(rcleandirs)) + e, cleandir_code.format(ws=ws, dirlist=" ".join(dirs)) ) }