From patchwork Fri Dec 4 13:15:14 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 107316 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.7908.1796390124804153766 for ; Fri, 04 Dec 2026 05:15:24 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=pChNPASZ; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 70BE614BF for ; Fri, 4 Dec 2026 05:15:21 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DE1FA3F632 for ; Fri, 4 Dec 2026 05:15:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796390124; bh=6RsCIRp4QIBaTLjBTts4+lUf4BZsAwGzH6OiFae6GYA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pChNPASZDdUEylUGCivyL0oV66v/LeH71avQhIy/526U4LXoCWAT2ES0vtDqoTGKB fl0dahXzUg9r+T+Z7T1gZPDRNkUqz24A2CLiM1tNvUs6/XgfmGY+zL1A9pUiGhMSFe igU06VqpOK0UkOGD1r82wHYY+j8VerIsjgOxZlfk= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 3/8] classes/base: depend on libarchive-native when unpacking zip files Date: Fri, 4 Dec 2026 13:15:14 +0000 Message-ID: <20261204131519.3476966-3-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261204131519.3476966-1-ross.burton@arm.com> References: <20261204131519.3476966-1-ross.burton@arm.com> MIME-Version: 1.0 X-ARM-No-Footer: NoDisclaimer List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 13:15:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251971 The zip unpack code in bitbake now prefers bsdunzip if available, so we can depend on libarchive-native instead of unzip-native. Signed-off-by: Ross Burton --- meta/classes-global/base.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass index 1c8b5102639..b9a3c9146f5 100644 --- a/meta/classes-global/base.bbclass +++ b/meta/classes-global/base.bbclass @@ -712,9 +712,9 @@ python () { elif path.endswith('.xz') or path.endswith('.txz'): d.appendVarFlag('do_unpack', 'depends', ' xz-decompress-native:do_populate_sysroot') - # .zip should DEPEND on unzip-native for unpacking + # .zip should DEPEND on libarchive-native (bsdunzip) for unpacking elif path.endswith('.zip') or path.endswith('.jar'): - d.appendVarFlag('do_unpack', 'depends', ' unzip-native:do_populate_sysroot') + d.appendVarFlag('do_unpack', 'depends', ' libarchive-native:do_populate_sysroot') # Some rpm files may be compressed internally using xz (for example, rpms from Fedora) elif path.endswith('.rpm'):