From patchwork Wed Oct 25 06:08:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "MOESSBAUER, Felix" X-Patchwork-Id: 3194 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Wed, 25 Oct 2023 08:09:04 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f189.google.com (mail-lj1-f189.google.com [209.85.208.189]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 39P69337032306 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 25 Oct 2023 08:09:03 +0200 Received: by mail-lj1-f189.google.com with SMTP id 38308e7fff4ca-2c563a2a4f0sf40609331fa.2 for ; Tue, 24 Oct 2023 23:09:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698214137; cv=pass; d=google.com; s=arc-20160816; b=i290XZcy7MWjB7Mx74P3NeqXlLAP4QW0Xcgyw00mUflQIFU5XzAJ1lVjIFIJAuwOn1 IG421mahvN/oaOv2PP5baVq3RDX97dv65pT5c86pgG8uC0mICErPhxzDTc8HD3wq44X7 FxJ42L0xuku989VUaLDhmIEWQnaxZUJib14M55tXWv80uu95Qv1cQTyiHxGI4cnaSIG+ as+mnocQp+vc+KexcsCqG/BHhRR2iq8GyZbA1lUxDIXiv4E8Uj4wENtbhLMUHksdqouu H0/kq2DisuiS4Mkbg39wgC568dqvXIL8Uins0Ivak+mq4q7QM/RYngVGbRcJTJ0wPsmr MOmg== ARC-Message-Signature: i=2; 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:reply-to:feedback-id:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=3xYYcUJkD3hkXOzYFluWXOl0TA1zTnijrGydfAwk5AQ=; fh=Xwx5KAQd7M5XPJvQVz6xz/z//08kOEttrlFeLBySLJ8=; b=VwKud5HkmhldHzixKDu8hNVIsd9eJIZ8q+VXFv2XETQHmTtc3tYoOvdeuUQbD4u2md JSOAdxx5rsQu8XsB5DNYjX2xgs+xzO7BYQL51M0pLrhmXjS78CHiZYfpeLqdH4NdFt0T H+UnL5OzPcPukusM/C1e/xWw+AiApORqNiv2ye0wNJKIuzpumEunmDyfoVeEL3U55qoh WsQJRrN7WghuVPY/j33d8J5hWbebNF5n6CPi+YF7auqyCLz16FXWERiAUQMYuxUGGXbB RTxK5okA6bcwG1d21PLWxPf/0sunzBT7XQZigvlQ2Cf0AXk+uYDhkbAJ/eHRt5MAb9mJ 8lUg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=W4zX4zXz; spf=pass (google.com: domain of fm-72506-2023102506085314a28f74cb14cbbeb0-xrqcus@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-72506-2023102506085314a28f74cb14cbbeb0-XRqcUs@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1698214137; x=1698818937; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=3xYYcUJkD3hkXOzYFluWXOl0TA1zTnijrGydfAwk5AQ=; b=LP86A7xVlBSISQnuIyfT3uaUOeCPUDjlbL6T+aX/51J4+tUWGaPNk1uJrCpaIJoeWQ UcWVCqVPZuAGHZsY6m96NtZRpDp000A7O07Z1xoEXCszVBIEVFwz47krr9IHCtivB7xb g9tTHbWtowR/14+4xAXMPnplqlnf9JMjKzZ5EJVdY/omgscRsvvXEII5YPDiq5xNsKau OLbcPZ0YenqGpgPzoXgsBPHmvrlA+5TzjKOlruXslvHaN6hHrqyX3T8K/gadAAGqSwW7 ZMc+FHu8xwfVNQ4vLV1OG5vh55IS4omrJnZyUoBMezi33imvKZN9HLBRqOcVFxmigHrY Fx3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698214137; x=1698818937; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3xYYcUJkD3hkXOzYFluWXOl0TA1zTnijrGydfAwk5AQ=; b=uVQq1PS0LAipXjw9mjyBmRpKTG0/lv7Fch3F63jYwL3GvwBzxKtsWhYlBaajbi+oKC uPJo2QO1nhLtXUryrxu8QmqvunqvHpHYxvjNnb5kExRe3ZKw0pWYArz0al3xpbyIvIbq PbTGIMW/NH/uuw86IP95E9dXMdeOj3vcKkyNh9oFLrN0fecvox7nphYHe13W+A6ds1xJ zRcr9id9wzhA9YT7HZ/Xf6v8dzDmh44OKvmMBn+Vfbht6W4rhVOW7fPVynRNdXjyDQWP GlZevCOM+htTJWHuyIylchTrYzo3fIG+EBCUApP2ltqq8ZVwktCY4Bz9hfvA86FPERbj lVHA== X-Gm-Message-State: AOJu0Yygrufn+WJH8iDHZ69qQaKolgd7LA/A3R4bqeXnK9dDQ+iobBE0 O9jyJj7qdSD1Hfy7/bUeXyo= X-Google-Smtp-Source: AGHT+IEj3Y085TJWPXMUO1+d8ALKd3Vtc0hyTU0HIuYywp+LpeK742d28KxfbnyVvN//lkrmyLTooQ== X-Received: by 2002:a2e:a374:0:b0:2c5:175f:6466 with SMTP id i20-20020a2ea374000000b002c5175f6466mr9754738ljn.34.1698214137247; Tue, 24 Oct 2023 23:08:57 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:b5c6:0:b0:2be:58d1:dc38 with SMTP id g6-20020a2eb5c6000000b002be58d1dc38ls748400ljn.1.-pod-prod-06-eu; Tue, 24 Oct 2023 23:08:55 -0700 (PDT) X-Received: by 2002:a05:6512:3614:b0:507:96cd:e641 with SMTP id f20-20020a056512361400b0050796cde641mr9311308lfs.51.1698214134827; Tue, 24 Oct 2023 23:08:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698214134; cv=none; d=google.com; s=arc-20160816; b=U3EuVfSy9AwH0kag9GcSpB95spuwTf1+5xU2fcVft7f+v4f1CIN/Q2GcmAjTYSzsd5 6n6wrYQixfARVLJ4x4jxLyYWyRBxGZ23gZlV2D57mq6iardXZZTAmneVcec7sdfBx6Tk RQ8/B0lEB32HszoNt5/A1AOhOg0n00e8y9YtqyXP0q8VXIcATDJ9txDfGN+vcmHwR/+G qfz8a0Sr4+aHQGkq97xjRJcpOv7UYbt9F0sW9lur8q2agZ6gKLcALSuuXyHpLdDy9yt2 b59nSuIQuudgY8GZpEts+cYaTiqV8ukW/v2Y9yC46tjfeqrejHg5Y7WgesHW7z1usW9B IWQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=hfmYGswWglTQ6Kp+okkLVtEHLfGRaW8fE/KXk7EX1ag=; fh=Xwx5KAQd7M5XPJvQVz6xz/z//08kOEttrlFeLBySLJ8=; b=rKBkPamYukUzubdohrzcnizHy5BN0zbLTxG+NDKnbVqa8qeNgucXYyMV/jYSEieeJ7 GLmdERexIn0/Zg+M3IcCtAwdjN4HTtiItGLCem2TvOTlMkqwwjdS5wN3vY/QxxgnSM8i 2cD2EAYucIpkf6BUl2ndBhX22PTP1lQt8dfGSAey6TQZnJRSohZkcYGsEypRLi08cEZt MbOhzdgAa0s7dbU45KWDaYfevKX+FOoeEq1Jp7A2jfOeI/kCgoY6iF336xA162Y8FSfZ QINmDBc7oZKMNRKGyscf3jq7Mj9mfrlQ2KNwEhbAOKtlhZH3psY67KdBFABQIMfz79Bi Lq9w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=W4zX4zXz; spf=pass (google.com: domain of fm-72506-2023102506085314a28f74cb14cbbeb0-xrqcus@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-72506-2023102506085314a28f74cb14cbbeb0-XRqcUs@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-225.siemens.flowmailer.net (mta-65-225.siemens.flowmailer.net. [185.136.65.225]) by gmr-mx.google.com with ESMTPS id q11-20020a0565123a8b00b005068bf0b332si403481lfu.1.2023.10.24.23.08.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Oct 2023 23:08:54 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-72506-2023102506085314a28f74cb14cbbeb0-xrqcus@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) client-ip=185.136.65.225; Received: by mta-65-225.siemens.flowmailer.net with ESMTPSA id 2023102506085314a28f74cb14cbbeb0 for ; Wed, 25 Oct 2023 08:08:54 +0200 X-Patchwork-Original-From: "'Felix Moessbauer' via isar-users" From: "MOESSBAUER, Felix" To: isar-users@googlegroups.com Cc: adriaan.schmidt@siemens.com, Felix Moessbauer Subject: [PATCH 1/1] imager: fix caching issue by excluding BITBAKEDIR Date: Wed, 25 Oct 2023 14:08:42 +0800 Message-Id: <20231025060842.1556755-1-felix.moessbauer@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-72506:519-21489:flowmailer X-Original-Sender: felix.moessbauer@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=W4zX4zXz; spf=pass (google.com: domain of fm-72506-2023102506085314a28f74cb14cbbeb0-xrqcus@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-72506-2023102506085314a28f74cb14cbbeb0-XRqcUs@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Felix Moessbauer Reply-To: Felix Moessbauer 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=-1.2 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= The BITBAKEDIR variable contains an absolute path. This is problematic when mounting it into the schroot, as this makes the hash of the function depend on the absolute path. As the bitbake directory anyways directly depends on the ISAR layer, we can safely exclude it. Signed-off-by: Felix Moessbauer --- meta/classes/imagetypes_wic.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/imagetypes_wic.bbclass b/meta/classes/imagetypes_wic.bbclass index 9a0bc2b7..6b50959f 100644 --- a/meta/classes/imagetypes_wic.bbclass +++ b/meta/classes/imagetypes_wic.bbclass @@ -147,6 +147,7 @@ IMAGE_CMD:wic() { } SCHROOT_MOUNTS += "${BBLAYERS} ${STAGING_DIR} ${SCRIPTSDIR} ${BITBAKEDIR}" +SCHROOT_MOUNTS[vardepsexclude] += "BITBAKEDIR" generate_wic_image[vardepsexclude] += "WKS_FULL_PATH BITBAKEDIR TOPDIR" generate_wic_image() {