From patchwork Thu Nov 14 13:40:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Mikanovich X-Patchwork-Id: 3924 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 14 Nov 2024 14:40:46 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f61.google.com (mail-lf1-f61.google.com [209.85.167.61]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4AEDejEx001876 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 14 Nov 2024 14:40:46 +0100 Received: by mail-lf1-f61.google.com with SMTP id 2adb3069b0e04-539edd1e728sf320853e87.1 for ; Thu, 14 Nov 2024 05:40:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1731591640; cv=pass; d=google.com; s=arc-20240605; b=G/Qcd42T7K/qW3dh5B2mx1zB9N6XDv9AOQ4vI+o5ypISMfaCnfKxUpxeHGlXYQFgy9 XKsb+NXax5aRwgMWA8qosRIFIat55F4HshgjaGsvbAS7mvvTpKeKsAYV1TUjjoMHxnzd pFw30+C6zTEBpEVMCGt18n33E5hhbtagOGwFVotvwN6M3BLVtVN3CayKqoPLpE/OTZHR EOob29px+Ok6ga4dSLYxPFqvPp1wHmmdfFqVI93xAW0Aex9NVh2o9FnvMYPva6zFR0Ko iJgzZRphiIruLcbubeplhg3aaRrM7FLi61kefMUloIXif5InnWYt236kDqkHYNfxYZ6e +UVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=JFd/VZzo77zPUrVPJs/A6/oPNv32dK0fxUvH2p8fD+Q=; fh=OUgCs6Fe2S5WuHmUoiMuYixnSUQ8jy/g5eVg3B2Jz3s=; b=cK+v47fRKTHLB2nVKo2WOiE/FiIci+apAujDgt8m7kedMW8DqbgYgJNWXyntuveSqj TLN5QQkyXUjEfJVCyKY7YS6S1bjGHdEz3PAz3PtKzrwP4uwqERYbZLCQnjM1nVB1p3TL mf/Hn1kgDOcpoCYaVgbGYAyqTSQ89gmkDEPJtvJaNVeE2kf2qJHw8TNz4bf99eOjSPiM S+0BiLDN40qjYRsH6H5X41biURENiH3YcQSxlkviJVXhDDUN0fkTe+sqBq2xaue/TGYi cjN+2vItPZLjym/nEJRtYS/StlmaRoQfLtCu8ntkpnV8/suMWcFRkguK3+5D3RZQzSqc NxSg==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1731591640; x=1732196440; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=JFd/VZzo77zPUrVPJs/A6/oPNv32dK0fxUvH2p8fD+Q=; b=EGNPiaEMJT5y+PySpTFjAI06a8uzP7/Eun/Luj+AEaNw1iDUeEj0kz42B/c/6H2TCd mm65rCLhaaBa8QtE9RZ6TwqQNj7rFjZ6bChZxHU538wvQ9FsWXe9ero5+JblenbfBMLN bJwSvm1eOdjE90X8ozSmCgHVroDY4mGwIVXZll54R7Lbjr2rVuN6chau0eRcwZawPZEI JG1n0P7lTRDB/TzmU/qpk36uBQUshyaT3548c2lW9bLniES2TbTtIQyGAWVOL72OKj6u Uxhdr7sJG3qwcKaDEOkeXWXRtE7v2r/9uwcpvM51bzsZThcb0xSNSQCSv5DysrVUEPO6 4IBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731591640; x=1732196440; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=JFd/VZzo77zPUrVPJs/A6/oPNv32dK0fxUvH2p8fD+Q=; b=olvHQ73cZa8aw3wJ4yBfln9w/zTEDWgS6e7SSJ0gUqfijXsdHkbMu3TkU1SsdQZdGh nWK4C/eZQd+j6hiLFN9cRZYBnPqm8UFBTaoNixNO+dAOpynJfqRLdw7Y5n5QcnEDTU+s FGBvoyrLk8uRYBiLg5u8ScMkxuij5k+Kj3HPkGBWGPHi6e8RE2r9B7+QKAfherhExDd8 5hX9lZjD8n5mLpPyQOzMwKL+UwXyOZM8U92peIIjQXvMysy0wnMGQMZr2m6HKCj3fQJy smdNz0GHaGm+p+TpRiV3Sp34QAb3eNKPduIeklRZRiBA+kcdIGDE7XyRV/lDpbmXRlOI dIeQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVQ0y4jSP9w3PZGeTPpCpr6Pp5aYO7IHhtzuuFXpv46NauCHPUMxMk13DOVvC6aWNkRU6YSB9I=@isar-build.org X-Gm-Message-State: AOJu0YyK/TBMU3ODvHZ+r8zvZrHMlqZTiSGvnrp56Ap6mkAY16zSEz7W vZFmSSEvzl289KofmrJRbNqaYZ1mHS3SC06dPcC62c7ieBGoak1A X-Google-Smtp-Source: AGHT+IEtOVjflrhwNci9KJ/5sOj3gLRs1SA1cHCVtQw/pjBbGsELeIOxZlR+xF/6Tiw94RMxroJUOQ== X-Received: by 2002:ac2:4f02:0:b0:53d:a24c:5c7 with SMTP id 2adb3069b0e04-53da46acc56mr994727e87.10.1731591639220; Thu, 14 Nov 2024 05:40:39 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3ba4:b0:53d:a2c9:b310 with SMTP id 2adb3069b0e04-53da4d3b13els8545e87.1.-pod-prod-00-eu; Thu, 14 Nov 2024 05:40:37 -0800 (PST) X-Received: by 2002:a05:6512:10cf:b0:53d:a9a6:1c0e with SMTP id 2adb3069b0e04-53da9a61d02mr160629e87.7.1731591637053; Thu, 14 Nov 2024 05:40:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731591637; cv=none; d=google.com; s=arc-20240605; b=HS86k7P8VKo9SYNLPDqDPwvAxdBnPOYaAUJniPK6gcd0aODD4vKLAfr7hcZ+nMulPH LY6fROcsYlbm1VaxUMjdNVoNwbwB282Kl6y4PO07NIsGwCYYVfZwI0l0cDabcqa9b6Gh F+mxrf3lZF4n51WCwpGlNez8XwAXT4tLCO9xBhgdTPhNAx/jZ258Q+nbbFLt0lDiNLBi yYXZQoAvH94ShbTwd/qQZ1MN0Bg2aUG2BYevuOFsI31CWy5ic/Fu+ipQlaM3NPOrYQ0V gklUgiq2t7+o4Lm6V3cbX0wAPtR2doxdbxXtWJ79lcoloWag+w5CMjzLthY3QJDNclW1 6MAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=dx09ssQaBJbX8btIRFHHcbdjEGW0wdAQE+1f4ueYOVo=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=LeL4fE8wqxKZ9CPDXlcKU1IRFBMT/CunI4tltnrg6kP70t+/ObE8KG76rIwr+YPljW OM6zaOJwJStshICI7KXi8xlBCv7jwfWFZ/tk/+8Nt4JejCdYbWdShA/WBfNDYDy0KB+y fT/m2hEY3lGzYlyjNsixuE/va/X5Wg+IVqoLbOD9vWZg4STbijQDIkHgs/VAFqkvsjlO j3ZuWNHOJSaujv0Wgwv220SwV7nNjSkgZUOMkTathMWNiUmh7/txuP3UJ+a4t+k2yXT0 C/0iuzmNm5QPW0MDmaWswgRmEgGWI9KQQ6UPK0jA5SsLEWaojX1Ubp0CkH0wcJ/HiyXr ottw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 38308e7fff4ca-2ff59896e87si273451fa.5.2024.11.14.05.40.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Nov 2024 05:40:36 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from user-B660.promwad.corp ([159.148.83.114]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 4AEDeZj6001862 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Nov 2024 14:40:35 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH] image: Fix basehash calculation Date: Thu, 14 Nov 2024 15:40:28 +0200 Message-Id: <20241114134028.1465640-1-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,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-Original-Sender: amikan@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Temporary variables like INSTALL_image_wic were created inside anonymous function, so bitbake was unable to add them into vardeps to calculate dependencies correctly. Add this variables manually to fix basehash calculation. Signed-off-by: Anton Mikanovich --- meta/classes/image.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 472df3cf..982523b0 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -284,6 +284,7 @@ python() { # set per type imager dependencies d.setVar('INSTALL_image_%s' % bt_clean, d.getVar('IMAGER_INSTALL')) d.appendVar('INSTALL_image_%s' % bt_clean, ' ' + ' '.join(sorted(local_imager_install | local_conversion_install))) + d.appendVarFlag(task, 'vardeps', ' INSTALL_image_%s' % bt_clean) d.appendVar('IMAGER_INSTALL', ' ' + ' '.join(sorted(imager_install | conversion_install))) d.appendVar('IMAGER_BUILD_DEPS', ' ' + ' '.join(sorted(imager_build_deps)))