From patchwork Tue Jul 19 04:39:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1996 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 19 Jul 2022 14:40:18 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f62.google.com (mail-lf1-f62.google.com [209.85.167.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 26JCeH6o015065 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 19 Jul 2022 14:40:17 +0200 Received: by mail-lf1-f62.google.com with SMTP id g3-20020a05651222c300b00489fe30ee90sf5380818lfu.20 for ; Tue, 19 Jul 2022 05:40:17 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1658234412; cv=pass; d=google.com; s=arc-20160816; b=oEfPTZ/HamwY93NH/pMXh8Qpc4zOQDSeo3/PzMtvtLJHNoKtmjB2iufEGftdmNZnMY eVIh7QnMYAkXgPiYyChNT5OcOEOQIXrXGpPm9+ngtJ8APmgye5izT7HJ93OjvyAppQe+ +a/tUA2GnDo42wo3PPKoezjKl04uX7/ALU7xPYuMPs0QbaspDPxndUS7pWVi/Umz4VBe RfIA+auCMcqyx4lXqWo3ulFQz6L+vlXVKtANvbBDnEnshV+36YzhyuPwpC79HoHdIvfq eS1wTqjXeVWUtoHxqvj+9H+JXwJ/FkQVudfB5+8KARhGAHkH/AE8oYXWd4t35GfM/vJa hXRg== 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=SURellOxO/KSCIOlJ0ZKiXXgK549C03XTcIO0QIkVy0=; b=CMJtAinA7rJ1C3j8mbA1BAeapYkPZHhidbgxqhYIE3zj5NpsDGUvIKysfoNU0tU/XH IPvTN+EjqkXkKROwiTy0RFQq9kyM5yBYOjSB0rlmgozRlc1pw+8uM1mkKHP7PSNGBRfy joPP4bM2oxk7mTKyTNxdvC1xKi+9Z04cuKNjPmvhOSHJ810YMd12JNH5uLBp5Le9zIgT rLPjui6vbw4wDkJTbOTiDtDJfpxZ2yb6ZN375co03GuEim6RulXUE7cxoJoU/ohbrLL8 29XhufV2xm6mSQa0YJqNuxyJXKATkd1oMWkzufCVC/niGIoficDNoqgAssaeWZRxaZu0 tw5A== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=w2kw8Kq9; 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.8.84 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=SURellOxO/KSCIOlJ0ZKiXXgK549C03XTcIO0QIkVy0=; b=ENXQMdMLdCaSYMCv5gnF6jpsjEjn8J4jaUtN+e6NVXNPlMwoS5c33641FC1Ndw5n1H dA9tqkjbLGvdew/1EkWU2yALuwwh6YgfqgjPa99MPV65Mg0MzYjNB3i2b7jP/l2TOAQq KQSttCx8eC8nkCYynpr1pbYXgGhyityXr0B1436vqtR498AHJbRCWVkyZVg1tQ0yXvh1 PZsSb/EdCCu+EPqWs5UkPIY7ZS9cAtRPnZQNZIuMTEyyVDZfwHXkWKWbtNe9UxN/lNpV xOvxXyuQX1MRMkX8VdsxATMpMbwfrIEwEyIGw03G92dPnG5sQ+QIp114HiucFRImiYoT G+KA== 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=SURellOxO/KSCIOlJ0ZKiXXgK549C03XTcIO0QIkVy0=; b=SEgx5m4WjEZIbLp9tF4ranzoJH9lkrwyiyE8axZFBG/878AYpW9uE1N80tDf+/g5+N wniI8TYeUsQwY5meMBPiVzU0Mk/F9P4x3NqhJ8eXhZZwnchYRfbjshPGXn2OTAsX5fCN 0gLeuPslVclAyz+3zBkzB3czCJfEJMmANaeWlCVutTJOPKdsVn1bxUz3wvsFLdHbOR4H gJGtkWL2jbQgAnn61o0ZCP1QI1qSTCDd5JJDnjotaZc0XwTMkV054EtE+yJmOvm5mjjL h7Yrb6tJcxpSr+hvxwSjlWjHe42+Po16f56hP6v89mF3Iyh4fSe+Rmi8uZYaVKvLJOhv 3SEQ== Sender: isar-users@googlegroups.com X-Gm-Message-State: AJIora9MfH5ISfBq531bsa1OuiyHLaiCeDzx6jXlDJWNPSZwlMjwIOiD jm5iUV+/CSoVi/vnHOOJYKU= X-Google-Smtp-Source: AGRyM1vYxeZuBK+E3HWixFoaN4KNhPayvaITBU2ZE+nAyzIn6cqAMk7+pliQTGWonrnbhOq6QIeI1Q== X-Received: by 2002:a2e:3607:0:b0:25d:73a7:97b4 with SMTP id d7-20020a2e3607000000b0025d73a797b4mr15789217lja.352.1658234411861; Tue, 19 Jul 2022 05:40:11 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:c42:0:b0:25d:b04e:9cc5 with SMTP id o2-20020a2e0c42000000b0025db04e9cc5ls41379ljd.11.-pod-prod-gmail; Tue, 19 Jul 2022 05:40:10 -0700 (PDT) X-Received: by 2002:a2e:b88b:0:b0:25d:a15a:bba9 with SMTP id r11-20020a2eb88b000000b0025da15abba9mr10523561ljp.357.1658234410791; Tue, 19 Jul 2022 05:40:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658234410; cv=pass; d=google.com; s=arc-20160816; b=rLh6RrHxjykaUDkzDYEjiKb3rc7xunvFebUm0483pIH8LlfKNFrrOL/1ZbxoclntnI 23U2fa3JqjJ6LfI/vruoAiL+p/Nw8ziMFDs2kLiUc/8x/zwhotJchvkRlwmsY+3cDz3b kPMEPWHCsrXfNg4QzFygdvbqPUxjtx5QswkyvT+lBIL9vz5VtHtaMyWhF3RAKgj1sBOQ FnQFVAT3wnwcZ7idzddwW1ls9NG5llOVZJ89ijilabeczbmBouX4y8tgHqAEDUtvaMpm aW4R+8UYW4MxOsZhb9VxVxoGQvWFgpKQuizyH9HJSRy2JMX/gQWiFdI4H/awfA1r2up/ bWvQ== 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=EtyDPC5uHxRpK1udSUdGEXGWC87Pgv2+LeKpicoA3Wo=; b=s+efxH98Ku++pm9ZN26yeA4HM0aW/O5bgNIECqP/TRO1YlqX39PvK0Crh3zXFTL3Zj MukIkaEngCODNAX3PH8UYNzQJyfCY+AkHuAwRBGQ+qUlMtAL0WW70MYnwyGlvdDttGz3 yB62OI/vG6AMGMzGeFeUP9foWnhbx+tOh8NIwnZbixPTJVxfenKqs1pQnjFNolboj6hp Rer0PA6G5Sra+GSMPpHan3IGKeuJW/fEFdL/OCxSvVOTbJdRSqJjYMgAXlC382jgfRUr DOunyp7U7Qt9wIKqKWiZ/YX4V0DJfLClP5+e5iWocBn5DOIbgESgaza+743Jzi8tOjDz cQEA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=w2kw8Kq9; 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.8.84 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80084.outbound.protection.outlook.com. [40.107.8.84]) by gmr-mx.google.com with ESMTPS id o5-20020a05651205c500b0048858e79d43si429008lfo.10.2022.07.19.05.40.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jul 2022 05:40:10 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.8.84 as permitted sender) client-ip=40.107.8.84; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k2iwIlEmX3/1T3834s1a/VAF3Up1Os7KMy6+9a4pdS8zo1F3PlyRuGja3Zj3jGArewn8z2q34Ja57YqOpbEAH1aBPcPNr+1yCh/z5T0zwohSVPjt/yZZIza46CexeeyMmC8HuY4rXpbS68oK1ZSNpVWD1wbysgeMcMzYBAje4GR6uK40+JQgBPpzCrBsElNcSyCGDMTSI5KFieQZ3ZN/L0gOajcyvSjta39msagBa/OnUE+QiGIN9W+hDmHsRIbpRqRcDYhIAOnoQVzvU8FefZHZ6+/uYTR8wA60/3oEiZj0WAactnl/Czx0UQxatMwychPvHJx+BFw3CHMrd1Shpg== 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=EtyDPC5uHxRpK1udSUdGEXGWC87Pgv2+LeKpicoA3Wo=; b=k4+E27DnDhKo/IlpkawH0e8R1RKGT0XdTzAlCjU/w7QF1KN7adC9IaOCm9odpemPusBL/siqp6M8zTT2t/1rD/m1E+jBmAHakLQQCOZlpUgJsBIjYRdF6vJkDTzcnDOZ81R4XiiY3XRbafBJ08c67YwEwOQ0D3oXk7vA2hfId4zbtUEJiLlQd/uSQaEcz9ggHunrAVBX6kc+zE031vI23FvL0HrfejHOFR9NG10W0MpVgWy2pLCrTj688YoYFTKssnjCRa5kMQGspBIJOb8U8qi3Ys8aYNQG9ZFoh0cSMSQo3p5ZH36UJ+3+2pqkJxHkQN11jdfhfF6AuuDMO9za5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.71) 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 DB6PR0402CA0019.eurprd04.prod.outlook.com (2603:10a6:4:91::29) by DBAPR10MB4153.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:1c2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.15; Tue, 19 Jul 2022 12:40:09 +0000 Received: from DB5EUR01FT051.eop-EUR01.prod.protection.outlook.com (2603:10a6:4:91:cafe::f4) by DB6PR0402CA0019.outlook.office365.com (2603:10a6:4:91::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.23 via Frontend Transport; Tue, 19 Jul 2022 12:40:09 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.71) 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.71 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.71; helo=hybrid.siemens.com; pr=C Received: from hybrid.siemens.com (194.138.21.71) by DB5EUR01FT051.mail.protection.outlook.com (10.152.5.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12 via Frontend Transport; Tue, 19 Jul 2022 12:40:08 +0000 Received: from DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) by DEMCHDC9SKA.ad011.siemens.net (194.138.21.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.9; Tue, 19 Jul 2022 14:40:08 +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_256_GCM_SHA384) id 15.1.2507.9; Tue, 19 Jul 2022 14:40:08 +0200 From: Adriaan Schmidt To: CC: Adriaan Schmidt Subject: [PATCH 1/3] image: set convenience variables in bitbake code Date: Tue, 19 Jul 2022 14:39:52 +0200 Message-ID: <20220719123954.310076-2-adriaan.schmidt@siemens.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220719123954.310076-1-adriaan.schmidt@siemens.com> References: <20220719123954.310076-1-adriaan.schmidt@siemens.com> MIME-Version: 1.0 X-Originating-IP: [139.25.68.25] X-ClientProxiedBy: DEMCHDC89XA.ad011.siemens.net (139.25.226.103) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4b346216-fa17-4bea-3680-08da6983d0c5 X-MS-TrafficTypeDiagnostic: DBAPR10MB4153:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vAgUBYxG20TwjaUv6Sdx2whgzVnwT8SNpMBaazkmCXlB6NZ0NVLiBo7oePiflw0avgSDSRZ/8bQt7NLk/dfbCXzZ9eTDCWtVNRFqXGWlIcTrfZg5tBpsifEBQz19zCdEOwxM3jdXK+ZlbPYVCGRaCa+T+YKoCTXIwLpid3CASwV9xhiJmdc6XWigNuHtwpdiT6OM8PffrP9F8J1GkJt65t5NnUwZh85dYtwXPSYzQBPZYFOAdXtaZ/npov8Sv79foTw5ZD5qQ4KmbdfPfut2RMJ71wUa1UcwqFShqgDeKfnlgosCuvcfiNqnc6Q7CUYoJ4VZgwRSzrtU0oiNkBC1D8tdGW4SohltVGclsVCZNIT8EEMfxfDKvgJ9sgavK61oy2Mca+R8vktwC7M/G3kON4eldj5kcRhOWF0hVME+jhMNX7YfNX4RgJQhPRTMhjzKjdvxwWQLTpO0dhpvz0VKh9oj8Xc3g3dhy6qXmRGy3rfTNAU9KhiobGDWYej6RtHLb2U9OC8cVkrPGq+N5ecve1C/4berIRHHT/9HYz8W/PbHxJA7rOvyJCwMUiB0v/GoHSy604DMtQwlOekzt/zEiT2w+xipK5dcBlKv4GWDv0z26PVdJieKq4v5Bv9GsBFsJoVpaoZ0rUFhY0BXXuQcCGWMLcA2BS6aPfF6RLlK4rAG6aQ64T3h2JoI69r7TIAcxyrRFXGjIzeux7wkaZSISes+b9eEfwyaCvLg3IfwJcANlV9RwfsIjWbE61IOVYAuqizwe6hBA4yEWgn4qV4LwVKC+FSL0Raw+tjFZouEHKfxoujV9fz4mpOxLm+aXSi/CGYDyHjXQP2l3Smt+DIZR7JoFqpB6Ds+d7eF6HJZvR18KcfA3TNyvyb16kcIM5ZB X-Forefront-Antispam-Report: CIP:194.138.21.71; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230016)(4636009)(346002)(376002)(396003)(136003)(39860400002)(46966006)(40470700004)(36840700001)(83380400001)(16526019)(36756003)(47076005)(40480700001)(6666004)(40460700003)(36860700001)(186003)(1076003)(8676002)(336012)(316002)(82740400003)(81166007)(6916009)(70206006)(86362001)(70586007)(2616005)(478600001)(44832011)(5660300002)(356005)(26005)(82960400001)(107886003)(956004)(82310400005)(4326008)(8936002)(2906002)(41300700001)(403724002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2022 12:40:08.9783 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4b346216-fa17-4bea-3680-08da6983d0c5 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.71]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT051.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR10MB4153 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=w2kw8Kq9; 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.8.84 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 Moving these variable assignments from Python code into regular bitbake variables gives us tracking of their dependencies in signatures. Signed-off-by: Adriaan Schmidt --- meta/classes/image.bbclass | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 7eeed7db..0688b021 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -154,6 +154,11 @@ IMGCLASSES = "imagetypes imagetypes_wic imagetypes_vm imagetypes_container" IMGCLASSES += "${IMAGE_CLASSES}" inherit ${IMGCLASSES} +# convenience variables to be used by CMDs +IMAGE_FILE_HOST = "${DEPLOY_DIR_IMAGE}/${IMAGE_FULLNAME}.${type}" +IMAGE_FILE_CHROOT = "${PP_DEPLOY}/${IMAGE_FULLNAME}.${type}" +SUDO_CHROOT = "sudo chroot ${BUILDCHROOT_DIR}" + # hook up IMAGE_CMD_* python() { image_types = (d.getVar('IMAGE_FSTYPES') or '').split() @@ -217,11 +222,6 @@ python() { if any([d.getVar(arg) is None for arg in required_args]): bb.fatal("IMAGE_TYPE '%s' requires these arguments: %s" % (image_type, ', '.join(required_args))) - # convenience variables to be used by CMDs - localdata.setVar('IMAGE_FILE_HOST', '${DEPLOY_DIR_IMAGE}/${IMAGE_FULLNAME}.${type}') - localdata.setVar('IMAGE_FILE_CHROOT', '${PP_DEPLOY}/${IMAGE_FULLNAME}.${type}') - localdata.setVar('SUDO_CHROOT', localdata.expand('sudo chroot ${BUILDCHROOT_DIR}')) - # imager install for dep in (d.getVar('IMAGER_INSTALL_' + bt_clean) or '').split(): imager_install.add(dep) From patchwork Tue Jul 19 04:39:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1998 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 19 Jul 2022 14:40:22 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-qk1-f184.google.com (mail-qk1-f184.google.com [209.85.222.184]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 26JCeLq7015071 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 19 Jul 2022 14:40:22 +0200 Received: by mail-qk1-f184.google.com with SMTP id bl27-20020a05620a1a9b00b0069994eeb30csf11612723qkb.11 for ; Tue, 19 Jul 2022 05:40:22 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1658234416; cv=pass; d=google.com; s=arc-20160816; b=zIq5Jhe1ktNEbSOWIMyeqwjWMj2iN2OnL+ID2b9kSwLK3ikvoi1YMymxd+ZuTrpmrT w6wqEBp73tBtLKxtWOf5SWHk7Zd48FZv+2wqRJAHTONGqO83FWQfy4U0aryQE9ddFUZk bEaq3lPuHfGkI4VI+VlVwvJbrTWtU31gRYLEXMl0fPX+9b7T5B5xulEpApUscCL7DDV3 C8wz12MMapZqXuJVIhT1ZTfp8qiXuxYo1eJghszefEQEhh5IQdIWIydWn6RzzNyi2Ylf bDjwzbk8dHttLRSYgQwEB/qd97MQhjEuh4W///JDSmyv1JkCzjqUS8gmZ/g1EF/Vmre7 QhNg== 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=89ISeQtyZ30Ndm5QJRFnpwxajGvMUl1+ZuxlIBB8B2s=; b=MNO/Dm3NJ/WmAmWdA7UxQ0OVuzJwNAxYF2IuY5q8BChRaeiqHK5cBxZHsPsn5HMcnS rUA4qNE1t2VsV67kJLHcIIKCqhPOq6w48w0eYJFw3i33PBo2qpKAJmyOpwx+bTll7Eg6 oVqaojM1wXJSLF2m1+85Zaol0V9aCtQ9g5CBYmmu7LfwzqqUNxe/ofKsGdC6Dz3/ZSYd bw7j8+EPRoWQPv6hOk7MzxvACRUGDNnu/so3ogf9X909avi58VnL2rZg3LfDRsduE2Gf CEJRU5ejgdG7y7t56/EFmsWBfq1W4HYzZOC1OIybJUYhkzMTgS0P/DQwpl4XZvXhZSpJ 4/9Q== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=dOvE1lxI; 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.21.77 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=89ISeQtyZ30Ndm5QJRFnpwxajGvMUl1+ZuxlIBB8B2s=; b=VPR4SjltSTd22LRegEG/gg210YZqx7QGn/po6KO1Jf9ksoqgBi8uFXTRHCi0qZIlIT LUA9zyDqECnNIKbRYhiiFQbDSWHPtNldknTPUG5SyhUoNWumyA6e1n9PnMWIIQnDiU+4 vZ8LDfT6SQATiqgwEWBkRwWACebul530IozEeWF+b85Q/s6iIANC1S2gLMoP1DI0LwUG oPVRvp99FR55pyBM/HFPp3aTYJoMtfrR0XSLWYpuTGfbmLFHnNiGyuQFutNuMP5wZR0z a3BEWMNnzberXmk8xVpsJEFig26o9Py+nmMfYudwMXsbEgFd+L4PkrtQ+yPe+fvLXvXG HBVQ== 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=89ISeQtyZ30Ndm5QJRFnpwxajGvMUl1+ZuxlIBB8B2s=; b=iFGIwY02kxKlaWxQ4XsFJiFOmrXfpNxdOwp7gJF92s/wVknXVtj5i7ThuUMUi0wXAa IpQ2vDD+LaICSGXpCys654U3A3HNb1zO42K656KvKsJ8Fb/dC0vKKsnC9qz9wKqRn/yF GmYLygTw4O1iJTYpC1H0oHabhle9jZouk5IbAolEJxc0Nbvrbdj394X8HN/Ey0B4EEP5 SEaL1tofVVsLiSsSywQTTN8S7uy/ycHuKOAd77pE+QOr3H/easssQnvLlzvJTB8hDEHA rZC4bkV+rXw0Lqhj76IAVZg5qqOuN0TFOZg0ymp6d/gC0iBdI3MYVohh+HYgBSdxE00l l1NA== Sender: isar-users@googlegroups.com X-Gm-Message-State: AJIora9r0cNwnnMI3tRBZj/8Zv9IgF8Fwilm68goyGblQyFrfuXYjf4/ iClD9vSEQId86t0lc+Hu2l8= X-Google-Smtp-Source: AGRyM1sOi8rPft9c+r5Coj2UB5MUHPiKvt5gdJG3TuFftD/HEvOxYAy7U2w5hUbCecR828eMiZzH+Q== X-Received: by 2002:a05:620a:2a10:b0:6b5:e07b:427f with SMTP id o16-20020a05620a2a1000b006b5e07b427fmr8866753qkp.398.1658234415858; Tue, 19 Jul 2022 05:40:15 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ae9:e115:0:b0:6b5:db60:854f with SMTP id g21-20020ae9e115000000b006b5db60854fls5185qkm.6.-pod-prod-gmail; Tue, 19 Jul 2022 05:40:15 -0700 (PDT) X-Received: by 2002:a05:620a:319a:b0:6b5:eba5:a1c8 with SMTP id bi26-20020a05620a319a00b006b5eba5a1c8mr5837252qkb.292.1658234415448; Tue, 19 Jul 2022 05:40:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658234415; cv=pass; d=google.com; s=arc-20160816; b=mZyo9Py0+3VhoU1qsXmgnKupDSSsTZwftT9mfEGI1l2L3HD6pERa1e/Nz2Ue12VuYD kifYaTN4RP2vxWzczr6UOIbOmzQiTdb8MN3oqoZUXrw3et+ZJuETi88t1UFdP81lpf3S ObD9EmAxHU6XAb5enZ1ABrV0BFDdcthQMNDyVyrdvzrrwo/of4F39cSockM7mu2cnzo/ HcCRT65jQavNCmcRIPUp6kbD38vVZYVBGlsTMmsZv/vZUxPepdPXSSsRs6AfUumIyVjt TZ9RcA1txI+c5wDp+UhtV37LQunvYeOF4QOeTQCGj0vFuJc+Soyd8z0gqkFZVfO2+IEq Zukg== 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=6evkO413tC1voO5dFPzlH0C31/66cMck9cUJDClqrGM=; b=S6IGl2o6zvQSsm39BhK2cpT9cj+UXnBnKau30ea8tTXGrdF5mbPa8hJWkUfkIaY7qm eaMTpBZJGjmAMtI0L3gopExhJUOi/OjoKGo7MBG0LHZK4V1/ozfelqKxtGMhnaKOqrRD Tix5IHyBA3WQb5urPe/+nOwQM4Qg5mOWPQNlYxPuaj4Je6BNxo83SvYBxxnTdvmnBCy3 cnkf2J5Z/v/q+kzk/Ii7g9b7KwZV9WQmF9dalct/8sf81NeatLvTzOwMr2KFqaSMBuoV jL3TRUPdwdBd07NwoGbTF+L9fFn9PPwTE9atqWRBSjeqJOdjG1Jyz54rQDUVKO4Y1Qa0 HZ6g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=dOvE1lxI; 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.21.77 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2077.outbound.protection.outlook.com. [40.107.21.77]) by gmr-mx.google.com with ESMTPS id br14-20020a05622a1e0e00b0031ec10c8459si286508qtb.2.2022.07.19.05.40.14 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jul 2022 05:40:15 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.21.77 as permitted sender) client-ip=40.107.21.77; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZqBdqLHiZio880gOvbxAfwkkTst3k5wU68SMWe7ozeyIcO9TSpAaP+PpDooc80Vqc254y3S+WcX0wp+Wf6U8FEtAoCdZACp3QLcdAvf2IJWpW76t6EIJ3DlkDX+jeSHFkG9yaMl08fH06ND+HKXu9ViIDlriMimD5GI4DQtXOUh1KQPAVDYhx+kBuZ/RQuTiW14Q7JI0oG7qTssEmXIYs8ZnMyX4LoqvZC9tK5nLc4B973/FGJ3oVYoDMx9rUHL5vtXsmMRPzSZHT87zGIcgqssqk33amF9okkN1FqtoyNBW2f19lXFek0eRTm1GmH+2N/8k7i2n5Iwh/CrgBjvigQ== 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=6evkO413tC1voO5dFPzlH0C31/66cMck9cUJDClqrGM=; b=bMUWkUzR/dJOJGjDYuG4v1QEhQsaCaNbRK9y6O4PIpGeMg97jXGc2zA7RgsTCA8TrjuGNbwBzqTX/idrNm/O9blUS5hXixZqcuRyh7xHpB1lUVgSE9Ur50916hfG7PZ/KxeEQjoqSQTSVU1n3N55cEFdN1w6s9E946m3nqR8MmmSKCIviFAQynW24EYcD2D16ARpXrTkEM+m2LvzkDiNJNbp+snl2lsMCQZgUmLmrhFJcSechbjbqTFlDMqzxupRn1MGWUGMPrCcAVgkBDSwCFIrwleO16CohYsCZuX/0K/wXBVIrsNYTsht0M49NZ53KvPu/68725U5IghHl7o3pg== 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 DB6PR0402CA0005.eurprd04.prod.outlook.com (2603:10a6:4:91::15) by DB9PR10MB4956.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:2c6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12; Tue, 19 Jul 2022 12:40:09 +0000 Received: from DB5EUR01FT051.eop-EUR01.prod.protection.outlook.com (2603:10a6:4:91:cafe::f7) by DB6PR0402CA0005.outlook.office365.com (2603:10a6:4:91::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.23 via Frontend Transport; Tue, 19 Jul 2022 12:40:09 +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; pr=C Received: from hybrid.siemens.com (194.138.21.70) by DB5EUR01FT051.mail.protection.outlook.com (10.152.5.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12 via Frontend Transport; Tue, 19 Jul 2022 12:40:09 +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_256_GCM_SHA384) id 15.1.2507.9; Tue, 19 Jul 2022 14:40:08 +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_256_GCM_SHA384) id 15.1.2507.9; Tue, 19 Jul 2022 14:40:08 +0200 From: Adriaan Schmidt To: CC: Adriaan Schmidt Subject: [PATCH 2/3] buildchroot: delay expansion of variable BUILDCHROOT_DIR Date: Tue, 19 Jul 2022 14:39:53 +0200 Message-ID: <20220719123954.310076-3-adriaan.schmidt@siemens.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220719123954.310076-1-adriaan.schmidt@siemens.com> References: <20220719123954.310076-1-adriaan.schmidt@siemens.com> MIME-Version: 1.0 X-Originating-IP: [139.25.68.25] X-ClientProxiedBy: DEMCHDC89XA.ad011.siemens.net (139.25.226.103) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3c119080-089a-4ec5-ab5f-08da6983d0da X-MS-TrafficTypeDiagnostic: DB9PR10MB4956:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oWAxIcJfOncF9c9oLw1KRh3lrPe6gCx7FctHP7SOcuDqkJ44QWUV2yg1y/WhoOGRoLXGu8RhJpe55Y+jlLrpbxHYFIWtpcgqdIRsz/f5GDjLDoyK+rDSSnhQD8N9wq8V0oQTMlZQ5G6ibsSJAdoXuQneG5hwnXoYVLwyTAvOKeP6F3pewMO7lz9qm/F9rkZSIltKo+0yv0f4OaecovLnJzckqYtwd8/kb+aqTI8/Q9MWXgfHe3N22ns3eh82NiIOk7e+SvUNBiTdpMoamwJ0kYk30Az4adZmuYuWsbeflLjKHrlV9HjGMyWjEshJ8mdedt/6B9F5yuMbJ5fINiXkoW6wxqjZgcuy6/I+o1WLNylpDL8cW7f5zoolK61a+mMPCVYQB0DbgKoX2X9/CuhxfeSc7C3GND860nNa18QUmO4Q9nuTBNdmJVeKIUhQ2TZw2yJBgD/veRvt3InlERLEIp1KpcTnwrQ4XdLuF4ZhB2N13u8jOkYSyGS91R+I8P0q/ti+a6wVIgBSsL0o57cjcY+zJ/HDlSa72ELQi/BphU6C3wrE29Axfupfn3Y/TbTfm7MoK9dbn7ACH47+K9IX31tSHBrFTGKMqev99mpJXsIV42tswVkKvZJebyz6rLHqxTiAeIEHXXF2RarAxKoCaWLMJhLVF3tPiavjQHkBDlI0LkK1KNdJmn9O38lPvL9DYxtH5RCYhsNnK79t33rrldsPxHI1CQuuV2EtvMfLeRRxbI37u9z1l67LRNYl1buOsZWNNjlhtWprz2vZisekFMrASs9y8OH3OjOKwosu6WN5Gc7/+I2VUDRxqkQu8x/2 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:(13230016)(4636009)(136003)(376002)(39860400002)(396003)(346002)(36840700001)(40470700004)(46966006)(956004)(86362001)(5660300002)(2616005)(1076003)(2906002)(6666004)(82310400005)(8936002)(41300700001)(107886003)(26005)(4326008)(478600001)(356005)(44832011)(82740400003)(40480700001)(36860700001)(7596003)(186003)(40460700003)(336012)(7636003)(47076005)(16526019)(6916009)(316002)(82960400001)(36756003)(8676002)(70206006)(83380400001)(70586007); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2022 12:40:09.1189 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3c119080-089a-4ec5-ab5f-08da6983d0da 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: DB5EUR01FT051.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR10MB4956 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=dOvE1lxI; 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.21.77 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 current implementation expands ${BUILDCHROOT_DIR_HOST|TARGET} during assignment to BUILDCHROOT_DIR, which leads to absolute paths in signatures. This can be observed in IMAGE_CMD_* and CONVERSION_CMD_*, and is bad for caching. Thus, we delay expansion, and due to the way the do_image_* tasks are created, the paths in our signatures will be relative to ${TMPDIR} (no expansion). Signed-off-by: Adriaan Schmidt --- meta/classes/buildchroot.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/buildchroot.bbclass b/meta/classes/buildchroot.bbclass index 11489661..f56c335b 100644 --- a/meta/classes/buildchroot.bbclass +++ b/meta/classes/buildchroot.bbclass @@ -12,10 +12,10 @@ python __anonymous() { if mode == "0" or d.getVar('HOST_ARCH') == distro_arch or \ (d.getVar('HOST_DISTRO') == "debian-stretch" and distro_arch == "i386"): dep = "buildchroot-target:do_build" - rootfs = d.getVar('BUILDCHROOT_TARGET_DIR', True) + rootfs = d.getVar('BUILDCHROOT_TARGET_DIR', False) else: dep = "buildchroot-host:do_build" - rootfs = d.getVar('BUILDCHROOT_HOST_DIR', True) + rootfs = d.getVar('BUILDCHROOT_HOST_DIR', False) d.setVar('BUILDCHROOT_DEP', dep) d.setVar('BUILDCHROOT_DIR', rootfs) From patchwork Tue Jul 19 04:39:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1999 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 19 Jul 2022 14:40:23 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-oa1-f55.google.com (mail-oa1-f55.google.com [209.85.160.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 26JCeL4E015074 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 19 Jul 2022 14:40:22 +0200 Received: by mail-oa1-f55.google.com with SMTP id 586e51a60fabf-10ca937d5e0sf9994565fac.14 for ; Tue, 19 Jul 2022 05:40:22 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1658234416; cv=pass; d=google.com; s=arc-20160816; b=sliH6wnEcfJgopfu8YuKvijSgw6jRyYbsYhWE8hB1dzw7lglZ75St51AEsY3a+rK7d LYLiW60e4GX26Q6hCZe5RGLTfChB9uj1gDbvK450bLPJjUe8726cbopx1zPJzZegnW7S ZLjHDhVIJnFdIg2t4re1yliRlPAI5G5bVxf+MpwJ7msFBlqKaR2xh0u9TrzyPSlSlmKl QNAJznVkZge/Mt6oM1QWMH0TKdvl9kFdCy9f9xrakEkpjKGRKFuSSfqoirqHviUjR3Sf ZZte/dC+MavBZTnhMmGUYVUjXnhtGl94evyWwvp+W1qrR/tpljSH8vTUhRRNuvNKyUVS bh7A== 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=nExCWwSOq7VscASGXJBHSfiqIV5SV3Q4FdQYnFad6f4=; b=HxR3p7X3dok2Iz9AbOCah9iZ0NuQiDezgJV2ZIY4Ac1a2Cs9L48ULuk/C9RhKGFlRi L5LRB8JKj/P8m4nY8CEoC43UY9/VGvb2WeC2YgWilRt6b3CBDBhsVI+sR5dfNwA3GSKW F7Myy48/bkEgA1pwpHc9dkdI8ZXMybMKqRXQu7MYXYLpZexg/qJlX3cHTHmhokyRXIJk 7f2ZkGP1ZUrZvoT8FXfHFlY3ngUKcpcsKUKDJ+rlFdnfi5vXeVsUyvxGFe/n/d0i/f7Z GPAs3oTo3MwQvGnX6Ax+kqU39lCXot/FGQhbvvIakSXb0k9RItthW54ehrK3P+0j7fZV etlw== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b="KVCFMCq/"; 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.8.89 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=nExCWwSOq7VscASGXJBHSfiqIV5SV3Q4FdQYnFad6f4=; b=TSg9i7dEwknIqptc7T/Gxq7JS/oZ6vVa6OpQvn/TqdYVSQuLXcAeqR49SnPmbIiT04 Lr/u4iWtyCPxbWpyTXo0Yz34BKEvbBRBp3Sn5PZCeXya0vY0zodjPfvEvmoYUnqn8xAL DTdm8BG+Z6M5iYXl3yk/ynAD54O1xCkBOUzVMwW8S0gC+0xZefPUsu3z/P0YjkMMwKlx 4aCdIYqSrrSu8/7usmQ7Wu/cL8oX0knel/M0nv3fTnhd5nd3qCPuW77o5zUo2bnCnb7A Z0qZhfuPDl1TixYqhK9iPPNmRoljeToXKPWKBGeG2+ra+eetFLTUNv6bjArQ+SvwItqu EWKA== 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=nExCWwSOq7VscASGXJBHSfiqIV5SV3Q4FdQYnFad6f4=; b=Lewn+YWQmAKE9UtUoeeDBfFewQWCSDP+WIjiRZ4MLKFT30d3xqSZ/VI0wfDgSLTkHz CVWaoeAIG3vSaFr38OSPu1jdadyGzTzewSXYGduvukNimYMh8lNFdnd2im8ODnOqq5hS NRJHE0Lapuk15jLmCg1VgenLaPPF3jXvDiM6yy6kSmxUKSBH+wOhjSMrjK/lTJDKgxdv zLGf8OJzwePu3QMy3bnB/TW5Sn8hScbYd34afPWuzeDrcATq46wSjFD6MyJEsJmWC5ik zFv3VU7kaCwk5y6Vme5coTHo5txzZrH4eKgzK/GcdsdW5QhFny3YwRZyMSM4+ic+3J0A f29A== Sender: isar-users@googlegroups.com X-Gm-Message-State: AJIora/0ycX2Ie7Nfz6fJOW/9s7/JlArQ2bUXhl67UdFnTgHbXyQRF2q vc/kPhEYrvjEzeQGTGnWH8I= X-Google-Smtp-Source: AGRyM1twmiJm8PmoPWZOZ3g8QEaO6I/R6dpUGnds9B5PgrX5gR1iwcMcU1Vmeu54tyF/yvwjHAb4IQ== X-Received: by 2002:a05:6808:d4d:b0:339:2fbc:2586 with SMTP id w13-20020a0568080d4d00b003392fbc2586mr18156518oik.133.1658234416350; Tue, 19 Jul 2022 05:40:16 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6870:b78a:b0:10d:1759:743f with SMTP id ed10-20020a056870b78a00b0010d1759743fls56653oab.4.-pod-prod-gmail; Tue, 19 Jul 2022 05:40:16 -0700 (PDT) X-Received: by 2002:a05:6870:898d:b0:10d:96:732d with SMTP id f13-20020a056870898d00b0010d0096732dmr13147301oaq.107.1658234415972; Tue, 19 Jul 2022 05:40:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658234415; cv=pass; d=google.com; s=arc-20160816; b=nJddXPP6rlo9OF3A3iuEMWymZn0iabA7fbL9fLdTuPMooKQUGr25/CntcuED0LClIT BgcN3+OvCxLOk6jJw1Ot+1onK8IK/siM/DUysn7qIR3HDrS84jkI4tc5j813BWaRe0eq CsRPS6d33DYbTwaynx2x3l65gyxb8yLPM7EQ9yb70RY4OGun1sKhKCv9Fjhdisjb+fQH wbc7Gxf9t2H2v/IpnERNmRCh2JfHQdiL/xaJ3pRT3dooSo2roJf/BG6dM4UcVeZR4VJs Pf7BSf91TOnuwnPPZ67qXcS68sUleX1uEhTUJjI1pqU96QFhr1LTCCeGcgtTfKQZt6Ht okLg== 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=L1DYN87DBdXPZVJ5KlKGce+LnSYYO56CPXOP7z5qjRI=; b=XTn4nSHP79o8cJ0U2CA3dv38ZJMAGSXpOUD3j4v45PWDy1kzAvCYMix7krqZDAb4+j PLF0TtfhbwNA6VIhPyGVKzRHZQD9/GhLU04kq/3Rq2pu+p26KfdJanqKZAnFaLDjjQ4D oe9Ptt+JAQqN9l5yi+vwv3dOjhRlF0l23WLXmDinNPotffPJrErT0Dge34ViPa8Xye1x r+LbQiq9IC2bXfu8YGQfMG68Wcn7IqT2d0GN86FfKeQaxWCKocHXzp6iE9PN8m1K970w e1B7sGSzxQci/g3HZMeXQYCL6AKCoASVjIQhPH3us7zWhA8mFQRsHS+QuhCGviRvia3l 0qHA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b="KVCFMCq/"; 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.8.89 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80089.outbound.protection.outlook.com. [40.107.8.89]) by gmr-mx.google.com with ESMTPS id d14-20020a4aeb8e000000b0035e8a81e5fcsi720829ooj.2.2022.07.19.05.40.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jul 2022 05:40:15 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.8.89 as permitted sender) client-ip=40.107.8.89; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fd0aPax34YSk8L3aZRPWVvC5fbJ/3sLcZUI7dg1nupI/VoHil4YF6nxCOLDhPCLR6rj79YOjh5du8GALl8u/I3EQ29aNAcvl9WsV2XPzeuYykQQboE4T+mpWhg38M9iuMfd23/GSnbadNpqFVQj0wYQL7gs7t62IJA6fho8YO2QGSaeJ9RQG+RM8nBWblDnmfHexdpRA+MfUYR/Iw3l81SxEtuQs6WxRH2Zgtcg9RUTtT2KlrUEQF3Qtninxf9inx4+sytGjblrVRYYln/YB0mXV3tMmBemHsJmGAPirG8dasMwfzRCh9MRM6BRnI3AJRFmIDA4Cz0ne3jtw3X+ZTA== 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=L1DYN87DBdXPZVJ5KlKGce+LnSYYO56CPXOP7z5qjRI=; b=H2VdlWCiIgw6zNg8r5h68QqhGnskEeTGAf6Ga8OF6H26Jwknt14SXM7zL3BW0mc3Z2VEX8cpFYTVFrExxdLVT2ksc04+pV3nnq7tFfcF/mTW0A9tm05Sp4afQyvsEDQ2or4z2nYfEYHo9TvzUl5k+egvcoQZPrjbkGuDOLOKGDs7M5DTwkeakwLaeFkb8xvCTk7SWpYQAGYFcsiWTJKOX4w9S2oPX45IaLeeI71YtfF+hiF+qDGt//9b21gWxQHsAej8E1Rs2QI/q1IiFZ91yBsuz9WKjcXZM3GX64luuPt+/X6WecYnzUTTGDs6GFn+PPlb59rPdZHJR9N4zeLFow== 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 DB6PR0301CA0045.eurprd03.prod.outlook.com (2603:10a6:4:54::13) by DB4PR10MB6288.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:380::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.23; Tue, 19 Jul 2022 12:40:10 +0000 Received: from DB5EUR01FT005.eop-EUR01.prod.protection.outlook.com (2603:10a6:4:54:cafe::2c) by DB6PR0301CA0045.outlook.office365.com (2603:10a6:4:54::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.23 via Frontend Transport; Tue, 19 Jul 2022 12:40:09 +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; pr=C Received: from hybrid.siemens.com (194.138.21.73) by DB5EUR01FT005.mail.protection.outlook.com (10.152.4.131) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12 via Frontend Transport; Tue, 19 Jul 2022 12:40:09 +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_256_GCM_SHA384) id 15.1.2507.9; Tue, 19 Jul 2022 14:40:08 +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_256_GCM_SHA384) id 15.1.2507.9; Tue, 19 Jul 2022 14:40:08 +0200 From: Adriaan Schmidt To: CC: Adriaan Schmidt Subject: [PATCH 3/3] sstate: remove paths below TMPDIR from BB_HASHBASE_WHITELIST Date: Tue, 19 Jul 2022 14:39:54 +0200 Message-ID: <20220719123954.310076-4-adriaan.schmidt@siemens.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220719123954.310076-1-adriaan.schmidt@siemens.com> References: <20220719123954.310076-1-adriaan.schmidt@siemens.com> MIME-Version: 1.0 X-Originating-IP: [139.25.68.25] X-ClientProxiedBy: DEMCHDC89XA.ad011.siemens.net (139.25.226.103) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3551debf-707f-4842-08dd-08da6983d117 X-MS-TrafficTypeDiagnostic: DB4PR10MB6288:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OGelWW2PnKYTAu/xBDa1hByhWlqjQLcYFl4zFxcySK/iQZVbkjDsLNSe/J0sfkHg/5OMlmq9VoEJdpG6GfNKftIwLAA1oSfA1PN0uRp+93KopuljMju14Cg0dVPLhjcqjN7LZtslxpUhyJS8PJRxpA0AG9/VLMbXmxVolPnrAMavjzZYsYM0+5B0nBKqM1wDuxcyliYiI2eEikM6KYidnWUhkMbC7U3jj/0oe6urgIGUO+45LOa2fRzm6agSjyqDfWCzjixJQeUMuCLcoUPmveprfj3Qhn4qrJPDTtmt0uzx/TIS8u/kv1cgTvaJ13NT79KdPk7nNbYiPmP8rMTDqnH6K0IUdOZKH3kV/o1v7p0OOYUCmiw/fb6ZJvvJImaNVMZlNmxY3LI0cjuBCI2Ry09R0caTEH+nPbirgaWgIJYSu7oudyoH9LWfUmKNsodmZoPWfctp/ODeEuZVAoGUN+CSGiyv+x6m/bgxC8szGpgiof2hbRS+Wqmixrcwe/aPhf7XZ32vRo9I2pMv7SbXxpFVO77keuXl4L26exLoj0AX4k788yGuTVIgAGOn4wr6idOXdfzVAdK3KK3A5VfxuP1SPFEEtFC43F7RrCNi5WXSrK0qau2pGHzFEHZh9Rs6mPXwPQoDRvQUp4uNHeW5Pc5eGqoAQNp+EH5X89le8IXilJXJUTKvQnGYwB6fj+rjyYGs4jQcg7wKTvvU9+APJxpgZYwVDGEWJpulk/ZrXqKmUJ/Sm85Zg117gA+H5luEzPC9zFb9oYBn/2rsOTtMC5U/MMEd4E25WXm3E31kzDIcaM+J+nJnWJ5/k/HrQQRJWxEosyPTzC+6L7Mp2jC8yA== 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:(13230016)(4636009)(39860400002)(376002)(136003)(396003)(346002)(36840700001)(46966006)(40470700004)(83380400001)(956004)(6916009)(316002)(16526019)(2616005)(5660300002)(186003)(47076005)(44832011)(1076003)(81166007)(107886003)(82960400001)(82310400005)(82740400003)(8936002)(40480700001)(36860700001)(86362001)(356005)(70206006)(8676002)(4326008)(336012)(70586007)(40460700003)(478600001)(26005)(41300700001)(36756003)(2906002)(6666004)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2022 12:40:09.5145 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3551debf-707f-4842-08dd-08da6983d117 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: DB5EUR01FT005.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR10MB6288 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="KVCFMCq/"; 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.8.89 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.8 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 This removes DEPLOY_DIR BUILDCHROOT_DIR, REPO_ISAR_DIR, REPO_ISAR_DB_DIR, REPO_BASE_DIR, and REPO_BASE_DB_DIR from the list of variables ignored during signature calculation. Those paths are all below TMPDIR, which is still on the list, meaning that no absolute paths end up in the signatures. But removing them is cleaner, as it enables some more dependency tracking by bitbake. Signed-off-by: Adriaan Schmidt --- meta/conf/bitbake.conf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 6451cb59..c92fe1a5 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -102,9 +102,7 @@ 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 BUILDCHROOT_DIR \ - REPO_ISAR_DIR REPO_ISAR_DB_DIR REPO_BASE_DIR REPO_BASE_DB_DIR LAYERDIR_core \ - SCRIPTSDIR TOPDIR" + BB_WORKERCONTEXT BB_LIMITEDDEPS LAYERDIR_core SCRIPTSDIR TOPDIR" 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 \