Message ID | 20220412120813.467516-5-adriaan.schmidt@siemens.com |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <isar-users+bncBDSO54WUUULBBQOX2WJAMGQELEXQJKQ@googlegroups.com> 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 <patchwork@isar-build.org>; Tue, 12 Apr 2022 14:08:39 +0200 Received: by mail-qv1-f56.google.com with SMTP id jr12-20020a0562142a8c00b0044429017bcbsf9738788qvb.20 for <patchwork@isar-build.org>; 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 <isar-users@googlegroups.com> (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 <adriaan.schmidt@siemens.com> To: <isar-users@googlegroups.com> CC: Adriaan Schmidt <adriaan.schmidt@siemens.com> 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 Content-Type: text/plain; charset="UTF-8" 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: <AM6PR10MB2344DB072475ADA0C4C1C280EDED9@AM6PR10MB2344.EURPRD10.PROD.OUTLOOK.COM> 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: <isar-users.googlegroups.com> X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: <https://groups.google.com/group/isar-users/post>, <mailto:isar-users@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:isar-users+help@googlegroups.com> List-Archive: <https://groups.google.com/group/isar-users List-Subscribe: <https://groups.google.com/group/isar-users/subscribe>, <mailto:isar-users+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+914930254986+unsubscribe@googlegroups.com>, <https://groups.google.com/group/isar-users/subscribe> 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 |
Series |
Improve cacheability
|
expand
|
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)) ) }
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 <adriaan.schmidt@siemens.com> --- meta/classes/base.bbclass | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-)