From patchwork Thu Jul 10 08:54:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 66555 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81E44C83F18 for ; Thu, 10 Jul 2025 08:55:02 +0000 (UTC) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) by mx.groups.io with SMTP id smtpd.web11.4083.1752137698158924206 for ; Thu, 10 Jul 2025 01:54:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=BSuwVimg; spf=pass (domain: linaro.org, ip: 209.85.167.51, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-553dceb342aso623641e87.1 for ; Thu, 10 Jul 2025 01:54:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1752137696; x=1752742496; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RrlLvcrBqTQdr9XDdj+4IEUOW9CN7jy0e9qZ67FeJR0=; b=BSuwVimgURn55lrplmpt5h2Uf0Pu/FcsqQz7G7X6c9gyeSvBsjwDEoeDiIQb3xgSdD horO/nmtUxL5mfYxac2XQMFQrsDSWR5jSxoXrFLZh16Jo7/BiGn45/wbisY65fTyG2Bp 5zKe1DbpqdBHI0HgaUA4dnBoxIS+DWOmGo6csvhfojLESrFWs2wWn18Ltr7WzdcoIqWa 97tKoBU722jHyPbDTpjCeRjQKZGojAWfDvvG9q6+o0bO3U8udPBnZnFFuYHLVGCybyxM 716lg0EMPMHoTmQl61ADGB4nSo5ZUYQnM/Kd9eK3mH02mmOtyCORAcbvhEzMGXCdjXHU ut3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752137696; x=1752742496; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RrlLvcrBqTQdr9XDdj+4IEUOW9CN7jy0e9qZ67FeJR0=; b=w/EDhVsLK+cQKg8+jLWG/NZISm0p7OjHCt77y2GRQE5AGkjG4TKLiDBv2/GV+nxhyN 0uUL7joD7rBuBZE13tfWEK32clgZfBzwftQOLnqA423V1f/lSXelqVuFFhuKy+229Xzx WLeZd5V29LW4JTlyu2Kijflby4AMd4pHlkU9Uz0ZMxu/uKbDtOLVL76Gk7XjC3VoyNUj RNRaHX92vHfzxZsh4j7cSxeXVPjT3CUddXS4KpYargYp9u3lCYj+2AolKCGeUYajCwmq lxxBaIBnlqwJZ/Jk9rIx9JWLsc0MtBvTd8sbJ5nNbhpPM8OKyMK7ebjAy8vm7ePCjRFa a5hA== X-Gm-Message-State: AOJu0YxiftrzFp7APG7miN/cy40isKwhN2FS9RSJSUf5OXX9n8r2rrxB gHfWfsMEvRWV26b3X99SYmyw74jrnGc/ItQo2lXf12mm8pCbAMpAqExZh0ySKM48fuVYAnpRvC2 PFHR7 X-Gm-Gg: ASbGncslad2LImblSRlLWBEjbYqpm4S0HkhWE0UW2toSwM5UfqTgxUthrl7SB5XP1Zr 9W5feOR9jMICislEtEjVOjLDH8LZr3fDybc5AorEsg3QFACMq87JXQ8PLSW5dA3pLWxiZqXoYIB XLgwif8BA1DIczS8z9GramOV4ZUsEvG4pdpORydLuOH1lmyWGqCzORpBamhFpTTYZh2RJE6jogR lJJnr03GjYIjk1/9c4xUNt4iSBtLIu6w0+gL2rX8c599Nx81p8atCq3a1jtKo3AXXP4NVCyd4WK 1xVUzHVm5LuNjIcNqRzBwiDR0wsnKOtZSK9HH8buyjECFd3GJdRTLpmiEazmUhgEqeNexYZuzUn exq/pFfD1RFzmcoLA5Crnkw8QvhbtziOx3wn7tSzcmYnTsQJZuA== X-Google-Smtp-Source: AGHT+IGYVUXKRmJrMMI+H1bbeK06e0ImAfy3xfDX3zg6i4VzG7vMv9B86mDvJsRbfpfQTc77oMmhzQ== X-Received: by 2002:a05:6512:32c5:b0:553:34c8:f6ca with SMTP id 2adb3069b0e04-559000c40b5mr928542e87.35.1752137696050; Thu, 10 Jul 2025 01:54:56 -0700 (PDT) Received: from localhost.localdomain (87-100-218-141.bb.dnainternet.fi. [87.100.218.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-55943b6bb33sm282286e87.174.2025.07.10.01.54.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jul 2025 01:54:55 -0700 (PDT) From: Mikko Rapeli To: openembedded-devel@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH v2 1/4] fwupd: update from 1.9.25 to 1.9.30 Date: Thu, 10 Jul 2025 11:54:35 +0300 Message-ID: <20250710085438.270911-1-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 10 Jul 2025 08:55:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118400 Changes: https://github.com/fwupd/fwupd/releases/tag/1.9.30 This release fixes the following bugs: Add several devices with broken firmware to the UEFI dbx blocklist Add /sys/firmware/efi/efivars to ReadWritePaths Do not export Redfish backup partitions as devices Do not show messages or prompt for answers in fwupdtool --json mode Fix a crash when installing some Wacom firmware types Fix deploying RMM updates on the Dell Kestrel dock Fix SMBIOS parsing for SPI ROM size >= 16MiB Never allow updating updatable-hidden devices with fwupdtool Recognize a very old dbx hash to allow upgrades to continue Reduce the Dell dock HID timeout, as retries already cover it https://github.com/fwupd/fwupd/releases/tag/1.9.29 This release adds the following features: Prepend the missing capsule header also when using CoD Support cabinet archives greater in size than 2GB This release fixes the following bugs: Do not add a Redfish release date if set to 00:00:00Z Do not add invalid CoSWID entities Fix creating the Redfish user when the ETAG is set Fix dbx deployment by ignoring missing PE/COFF sections Fix writing EFI variables on new kernel versions Include a SHA-256 checksum when using fwupdtool self-sign Include the length in Wacom USB scaler update for future hardware support Increase the timeout for RMM ack when updating Dell Kestrel docks Mark the Redfish progress as finished even if the update never got to 100% Set the Redfish MIME form-data filename correctly Use the metadata version format to set the lowest possible version This release adds support for the following hardware: Lenovo USB-C Dual Display Travel Dock https://github.com/fwupd/fwupd/releases/tag/1.9.28 Released: 2025-01-28 This release adds the following features: Add support for intel-csme19 version format This release fixes the following bugs: Avoid downstream port resets of Parade USB hubs Cleanup Dell dock devices when disconnected Correctly parse PE files with zero sized sections Correctly set the package version of the Dell dock Run the FwupdClient::changed callback in the correct thread Run the UEFI capsule reboot cleanup action when required Split up the AMD GPU VBIOS P/N for the version Use the ISO date as a dbx version number This release adds support for the following hardware: HP 400/405 More ELAN fingerprint readers https://github.com/fwupd/fwupd/releases/tag/1.9.27 This release fixes the following bugs: Add a power quirk for Framework systems Allow cros-ec repair the device after flush failure Check the VLI USB3 firmware size before erasing Disallow DBX updates on the Samsung Galaxy Book2 360 Do not show 'Device has been removed' as a dock error Do not use a CMSE11 function when using CSME18 Fix an unlikely memory leak when using ModemManger Sahara devices Fix a tiny memory leak in algoltek-usb when checking status Mark UEFI dbx updates as affecting full disk encryption Parse FDTs with missing END tokens Rename the dell-k2 plugin to dell-kestrel and rework the update flow This release adds support for the following hardware: Google GID8 Headset Parade PS188 Primax Ryder Mouse https://github.com/fwupd/fwupd/releases/tag/1.9.26 This release fixes the following bugs: Add HSI tests for Arrow and Meteor Lake CSME Allow UEFI capsule config values to be set with fwupdmgr modify-config Check for the logitech-bulkcontroller response packet length correctly Fix using ID_LIKE for fallback when ESP isn't mounted Fix various Coverity-reported overflowed constants Only compare the first 10 characters of the AMD GPU part number This release adds support for the following hardware: Jabra PanaCast Some Lenovo Legion HID devices Signed-off-by: Mikko Rapeli --- meta-oe/recipes-bsp/fwupd/{fwupd_1.9.25.bb => fwupd_1.9.30.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-bsp/fwupd/{fwupd_1.9.25.bb => fwupd_1.9.30.bb} (98%) v2: no changes diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb b/meta-oe/recipes-bsp/fwupd/fwupd_1.9.30.bb similarity index 98% rename from meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb rename to meta-oe/recipes-bsp/fwupd/fwupd_1.9.30.bb index a098bf8eea5a..52d80be05b41 100644 --- a/meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb +++ b/meta-oe/recipes-bsp/fwupd/fwupd_1.9.30.bb @@ -6,7 +6,7 @@ DEPENDS = "glib-2.0 libxmlb json-glib libjcat gcab vala-native python3-jinja2-na SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \ file://run-ptest" -SRC_URI[sha256sum] = "a1d484778ae87c69b38f417659b33fe3d689373ce0831d1f95617b8aa76e8c37" +SRC_URI[sha256sum] = "a69de9a494a364095cc820faa10a68ec38d31f55eed5388322182048b81d10b3" UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)" From patchwork Thu Jul 10 08:54:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 66556 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82D78C83F1D for ; Thu, 10 Jul 2025 08:55:02 +0000 (UTC) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by mx.groups.io with SMTP id smtpd.web11.4084.1752137699202921857 for ; Thu, 10 Jul 2025 01:54:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=hcMK+9qd; spf=pass (domain: linaro.org, ip: 209.85.167.48, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-55502821bd2so684562e87.2 for ; Thu, 10 Jul 2025 01:54:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1752137697; x=1752742497; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GdU5q4lZOmkYMwbKQHC7N2wUXtOtyiz0+Xsz2Gw/ggQ=; b=hcMK+9qdzeO/Qbcp8Rk0rralYwxVmrkK7JUIKCS/k7c5G4u9qsf2m3kKCVGZwg3x5U 6S6xuBxaA4jf+Du782cTT1Q/NRXqKwGzA0hrm9Y4SQQu/XO5qrw9xijgffMVLU7bE5Yi /eZ2P8CF4qS87e1lHBcjIiFoWLQ+XbROCRfQoc2fvnoaPnBLgaS4/kvNy1pKMKQwWdWb 4iLowAZLYZ4kANwRK085Ha2FIWGzK4DhsQVjZIn6QPPQctRcF8vJFNrD1f+ZKNwkAE+J i4XFgd6yO7LrnayTAVpzVMBm8a7ii7mxuV4aMvs7OayBoToJ+GEBQPQcwOcfuDvd0lqD I4qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752137697; x=1752742497; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GdU5q4lZOmkYMwbKQHC7N2wUXtOtyiz0+Xsz2Gw/ggQ=; b=NwsX85rvMPf7kgC+l3QzCB3Y9gZE4F1k3ZA0xQh7f8I3K4HBFpmjIc4teFu3lXk8SD oS+82mlMdb8xzP1M30zsfAKCjM1TVkqKuH/cQYLmAofbagTgIM0wijpRZ+dMGqUDUdVL Z7wkAVWyw2QSILWBH5ydC2o9fgOPzhIbR2vgItb998HA/MwRISMAb0RY8FmuxEOWiLpk wajQ9wv8tSRlrO3ZmcCN5v2n5oisOXuBThek/TqCWTGHXJ7SKgrwadcdD17NAMR0ITUE 6EfwACVPk732GZLrizTCk7LBhJzqitKxFfzRGDHtWwUHBsjWMv4PXp0LCPZWuPNhh3sX CP+w== X-Gm-Message-State: AOJu0YyrI1/XdMvOJ/ZYniP0fdQ8lY0sadPG9C2PhiwQDmDl7eS2j0P6 SnK0unvdy8Tb+fyjtwR7AlQ8OTvi4WH+HrGwcTsbQN/XVKNtc/VU/CfWVyYrZRptu/upQxXkQ3f 7gnu8 X-Gm-Gg: ASbGnctFrnXmu7aGJGgO/1BpUJs9l74HNLHZI5/MNoqK0uG/A7O7V1IXAxB3wje9sda kUdXuj9WiSbe7G8tfJSWofC7/jo7sPXoy6i48KsuXYpKblxAnZuFHvMpJ/2xNwoGRNgUS/h2nlK qWyiQMCUssycElPdfMT58R1lk+9HfJFtvymmXEs01oAF3LJJxPhyZdSUQyZYUty8oO3Uq7DK2HL z830S5T8M7iUEPaoVRZBelZHxGCt1KgOjCX7tazBvQ85md1RV+iiJEjvn4KfoOvGAKB1ldpUDd8 tnD/mherj3kix3TAwcWxwij0K/NqFiuaJf52aFA6WWykG0fRhqk2lQcC4ZqOO+bVyFrYuzRx0wk oqWlxmfqbpjpMByo5OByWm1zjBzP8+kzxfBURmDWIjO+5TJ2S9g== X-Google-Smtp-Source: AGHT+IHi+AoOLcmjm2l3rkFuclzlwycaweNSvVD4Nz2t+6d6FKupfWQZ059Jz0DCLbJFmLh+h2I6tA== X-Received: by 2002:a05:6512:1321:b0:554:e7f2:d759 with SMTP id 2adb3069b0e04-5592e3e2a84mr576649e87.28.1752137697282; Thu, 10 Jul 2025 01:54:57 -0700 (PDT) Received: from localhost.localdomain (87-100-218-141.bb.dnainternet.fi. [87.100.218.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-55943b6bb33sm282286e87.174.2025.07.10.01.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jul 2025 01:54:57 -0700 (PDT) From: Mikko Rapeli To: openembedded-devel@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH v2 2/4] fwupd-efi: update from 1.6 to 1.7 Date: Thu, 10 Jul 2025 11:54:36 +0300 Message-ID: <20250710085438.270911-2-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250710085438.270911-1-mikko.rapeli@linaro.org> References: <20250710085438.270911-1-mikko.rapeli@linaro.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 10 Jul 2025 08:55:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118401 Remove upstreamed patch. https://github.com/fwupd/fwupd-efi/releases/tag/1.7 This release fixes the following bugs: Fix compilation with GNU-EFI 4.0 Signed-off-by: Mikko Rapeli --- ..._binary.py-Use-env-to-detect-python3.patch | 23 ------------------- .../{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} | 5 ++-- .../{fwupd_1.9.30.bb => fwupd_2.0.12.bb} | 0 3 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch rename meta-oe/recipes-bsp/fwupd/{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} (90%) rename meta-oe/recipes-bsp/fwupd/{fwupd_1.9.30.bb => fwupd_2.0.12.bb} (100%) v2: no changes diff --git a/meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch b/meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch deleted file mode 100644 index c362681421b0..000000000000 --- a/meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 4c8f95fedecbc590eb7cd98aaf97912fa36b8f2e Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Fri, 7 Jun 2024 23:58:36 -0700 -Subject: [PATCH] efi/generate_binary.py: Use env to detect python3 - -This enables python3 from native sysroot correctly - -Upstream-Status: Pending -Signed-off-by: Khem Raj ---- - efi/generate_binary.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/efi/generate_binary.py b/efi/generate_binary.py -index 443472a..a4611bb 100755 ---- a/efi/generate_binary.py -+++ b/efi/generate_binary.py -@@ -1,4 +1,4 @@ --#!/usr/bin/python3 -+#!/usr/bin/env python3 - # - # Copyright (C) 2021 Javier Martinez Canillas - # Copyright (C) 2021 Richard Hughes diff --git a/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb b/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.7.bb similarity index 90% rename from meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb rename to meta-oe/recipes-bsp/fwupd/fwupd-efi_1.7.bb index bbf2b1fdac06..d6ace116e789 100644 --- a/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb +++ b/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.7.bb @@ -2,10 +2,9 @@ SUMMARY = "EFI executable for fwupd" LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "git://github.com/fwupd/fwupd-efi;protocol=https;branch=main \ - file://0001-efi-generate_binary.py-Use-env-to-detect-python3.patch" +SRC_URI = "git://github.com/fwupd/fwupd-efi;protocol=https;branch=main" -SRCREV = "58a2928f778278ab1f7f8fcddbab81ba587a8962" +SRCREV = "cfd0be286a9b050c1aa4bfa3f0820256903a264a" DEPENDS = "gnu-efi python3-pefile-native" diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_1.9.30.bb b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb similarity index 100% rename from meta-oe/recipes-bsp/fwupd/fwupd_1.9.30.bb rename to meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb From patchwork Thu Jul 10 08:54:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 66557 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85FDBC83F1A for ; Thu, 10 Jul 2025 08:55:02 +0000 (UTC) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mx.groups.io with SMTP id smtpd.web10.4137.1752137700591830910 for ; Thu, 10 Jul 2025 01:55:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=qjf67iJh; spf=pass (domain: linaro.org, ip: 209.85.167.45, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-558f7472d64so1473992e87.0 for ; Thu, 10 Jul 2025 01:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1752137699; x=1752742499; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8135OznvrDepoiN/6bbF/p4wcwjrHYzjJP0nrAg2IfU=; b=qjf67iJh6UADyAwR4woW+USvnesJChtP6jFrbvo8pDyOwk0aPetd7ehSAEdLN+fr2l 7ii6QlBBJ87Sxik3GNX8F4Pg201sfBX8oTaAAA3CVeTuo7EGPIPLX4YJ8efu9MdRTUwy 0Rs8ic/FE13srXnN5XhMi2vUfFbzaFkg09+6sCK9Iof60/8B3vwJJsm0LtDDM4joSnYB tO8g1DeFnAFf/r1YCjfiF4LPrWYi4PsEGqru1paUMItGNxszmrONMjDY7u8H4hr8H1dK r4VNEaGoVVm/Fi8i+nLJTnCp7MFaE+jint6ZTDES1Bg/ssO/Hcr5RxT/V7P4M6mTQ9NB yUTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752137699; x=1752742499; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8135OznvrDepoiN/6bbF/p4wcwjrHYzjJP0nrAg2IfU=; b=b8M1B+AKglfnoHg1PCD2LqbL/IHVQ4WxAJOeW2AHOyxSqo1aCjn5FMxVmtBExl8Qbi KyfZ9Acvv+NekPYMYp/pw0ZBmmitkxcrJVtbwYalBbH2vRMOJ5a9skfgSdAMTUwudKZ9 +Vgc0i1l9QS/s1qKiHO2XYUxlLboN0f4pfQXOPNKeX54qU328jujr3NKoKP6BghlTgEm wwv5wbiu77pgWu+Vkvhtv51J5rK2++ZA8w2B2V0ipXaHrFkpTofhrxEKr7eGRl2ZNlh5 mT0bxo2LHvRUBgYz8dVFp7KJuryeMcXau7eX0NgbwVgs9j9hUaBtB/WJlONoqxsaVxWp 6m8A== X-Gm-Message-State: AOJu0YxOrzYwKipp13u4O3N50AWh/90aF0XhXO2quNCV3LuJRCXb1kaD ZWcBhIlMUYQsBelGF8oOkGgREMnXXUII7W2vvlC8fGkW3ViG8YPQOSL5bh3jcKzf2SqS7rmSh6V iv99e X-Gm-Gg: ASbGncsMkzHXdbna9vax1xG5Ef4XBQyUtf3zTbjSCLs6u+u5oex+CgH184kjAp/6lQq yg7nQ+PyWuY+1pBmzmhAV/KQn5emyFAau7ZeZxHia/f5HVTocpqUJ15z8HjelSOVEfJCLKU0uQo XMWLxI6kxGcRmrAd4djMyn0r1bwEdaQlx/OxcGg6blCSV1PKTh/WRiFdHGQlvGWTEc5EAIB3Agi 1xZQPtQy297ogvn8tJS2L7q6hawBH9e5hcZcXFLzBQlS+tQh0Uf7AL8wLXcKsTYsAllwjFRzMr2 i2AkZAbh884XadDmZN/LmOc8mlFHJ8xD0tEpEt0a7lmEMxpliAPJCE1kP1kvo7ML75EvkjPM8EV voo2WGVmiZs0a5Yu2JNpIHeWKqfgsHp2hqFtoSlo= X-Google-Smtp-Source: AGHT+IERcr5Fpob+1jZbj3MX87aPXwbeC8YcFMnciShqbo45m6JiwftBgjucJyey68EaP/YoIEqZnQ== X-Received: by 2002:a05:6512:3083:b0:557:e3be:c7c5 with SMTP id 2adb3069b0e04-5590073d65emr779038e87.28.1752137698541; Thu, 10 Jul 2025 01:54:58 -0700 (PDT) Received: from localhost.localdomain (87-100-218-141.bb.dnainternet.fi. [87.100.218.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-55943b6bb33sm282286e87.174.2025.07.10.01.54.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jul 2025 01:54:58 -0700 (PDT) From: Mikko Rapeli To: openembedded-devel@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH v2 3/4] fwupd: update to 2.0.12 Date: Thu, 10 Jul 2025 11:54:37 +0300 Message-ID: <20250710085438.270911-3-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250710085438.270911-1-mikko.rapeli@linaro.org> References: <20250710085438.270911-1-mikko.rapeli@linaro.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 10 Jul 2025 08:55:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118402 New major version release which drops many configure options, changes from libgusb to libusb etc. Upstream changelogs: https://github.com/fwupd/fwupd/releases/tag/2.0.0 https://github.com/fwupd/fwupd/releases/tag/2.0.1 https://github.com/fwupd/fwupd/releases/tag/2.0.2 https://github.com/fwupd/fwupd/releases/tag/2.0.3 https://github.com/fwupd/fwupd/releases/tag/2.0.4 https://github.com/fwupd/fwupd/releases/tag/2.0.5 https://github.com/fwupd/fwupd/releases/tag/2.0.6 https://github.com/fwupd/fwupd/releases/tag/2.0.7 https://github.com/fwupd/fwupd/releases/tag/2.0.8 https://github.com/fwupd/fwupd/releases/tag/2.0.9 https://github.com/fwupd/fwupd/releases/tag/2.0.10 https://github.com/fwupd/fwupd/releases/tag/2.0.11 https://github.com/fwupd/fwupd/releases/tag/2.0.12 Tested with genericarm64 machine on qemu with ptests and manually on AMD KV260. Signed-off-by: Mikko Rapeli --- ...certs.py-use-usr-bin-env-for-python3.patch | 28 ++++ ...-reduce-lzma-compression-level-from-.patch | 47 ++++++ meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb | 138 ++++++------------ 3 files changed, 121 insertions(+), 92 deletions(-) create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch v2: added build dependency to hwdata to fix build error: https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/2928031/raw_inline | ../sources/fwupd-2.0.12/meson.build:323:4: ERROR: Problem encountered: could not auto-detect -Dvendor_ids_dir= diff --git a/meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch b/meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch new file mode 100644 index 000000000000..3a4ecb1f29e2 --- /dev/null +++ b/meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch @@ -0,0 +1,28 @@ +From 2c3896878ba8118b48c55528c6bac98f05f223f3 Mon Sep 17 00:00:00 2001 +From: Mikko Rapeli +Date: Thu, 3 Jul 2025 13:34:21 +0000 +Subject: [PATCH] build-certs.py: use /usr/bin/env for python3 + +Avoids errors if python3 install path is not +in /usr/bin. + +Signed-off-by: Mikko Rapeli +--- + data/tests/build-certs.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Upstream-Status: Submitted [https://github.com/fwupd/fwupd/pull/8998] + +diff --git a/data/tests/build-certs.py b/data/tests/build-certs.py +index 3b8503b72bcf..222e8a4a0f8b 100755 +--- a/data/tests/build-certs.py ++++ b/data/tests/build-certs.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python3 ++#!/usr/bin/env python3 + # SPDX-License-Identifier: LGPL-2.1+ + + import os +-- +2.43.0 + diff --git a/meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch b/meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch new file mode 100644 index 000000000000..b0d3863eaa2e --- /dev/null +++ b/meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch @@ -0,0 +1,47 @@ +From c96668ab830d016eeff977d5ca4f99d288cf38c0 Mon Sep 17 00:00:00 2001 +From: Mikko Rapeli +Date: Tue, 8 Jul 2025 07:05:02 +0000 +Subject: [PATCH] fu-lzma-common.c: reduce lzma compression level from 9 to + default 6 + +xz manual page says default is 6 and levels higher than that can cause +huge CPU and memory usage. On yocto qemu target, the fwupd tests +fail to run with compression level 9: + +FuSelfTest:ERROR:../sources/fwupd-2.0.12/libfwupdplugin/fu-self-test.c:6342:fu_lzma_func: assertion failed (error == NULL): failed to set up LZMA encoder rc=5 (FwupdError, 10) +not ok /fwupd/lzma - FuSelfTest:ERROR:../sources/fwupd-2.0.12/libfwupdplugin/fu-self-test.c:6342:fu_lzma_func: assertion failed (error == NULL): failed to set up LZMA encoder rc=5 (FwupdError, 10) + +With default compression level 6 the tests pass. + +https://linux.die.net/man/1/xz + + -6 ... -9 + Excellent compression with medium to high memory usage. + These are also slower than the lower preset levels. + The default is -6. Unless you want to maximize the compression ratio, + you probably don't want a higher preset level than -7 due to + speed and memory usage. + +Signed-off-by: Mikko Rapeli +--- + libfwupdplugin/fu-lzma-common.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Upstream-Status: Submitted [https://github.com/fwupd/fwupd/pull/9019] + +diff --git a/libfwupdplugin/fu-lzma-common.c b/libfwupdplugin/fu-lzma-common.c +index a64ec773da91..d381ed52e135 100644 +--- a/libfwupdplugin/fu-lzma-common.c ++++ b/libfwupdplugin/fu-lzma-common.c +@@ -89,7 +89,7 @@ fu_lzma_compress_bytes(GBytes *blob, GError **error) + strm.next_in = g_bytes_get_data(blob, NULL); + strm.avail_in = g_bytes_get_size(blob); + +- rc = lzma_easy_encoder(&strm, 9, LZMA_CHECK_CRC64); ++ rc = lzma_easy_encoder(&strm, 6, LZMA_CHECK_CRC64); + if (rc != LZMA_OK) { + lzma_end(&strm); + g_set_error(error, +-- +2.43.0 + diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb index 52d80be05b41..ce21ad42fed9 100644 --- a/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb +++ b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb @@ -2,11 +2,26 @@ SUMMARY = "A simple daemon to allow session software to update firmware" LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -DEPENDS = "glib-2.0 libxmlb json-glib libjcat gcab vala-native python3-jinja2-native" +DEPENDS = "\ + curl \ + gcab \ + glib-2.0 \ + json-glib \ + hwdata \ + libjcat \ + libusb \ + libxmlb \ + python3-jinja2-native \ + vala-native \ +" -SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \ - file://run-ptest" -SRC_URI[sha256sum] = "a69de9a494a364095cc820faa10a68ec38d31f55eed5388322182048b81d10b3" +SRC_URI = "\ + https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \ + file://0001-build-certs.py-use-usr-bin-env-for-python3.patch \ + file://0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch \ + file://run-ptest \ +" +SRC_URI[sha256sum] = "83eab17ef2e65249491aef5e99419827b43ac56d40c5b0747b59ee94b147215e" UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)" @@ -22,113 +37,52 @@ GIDOCGEN_MESON_DISABLE_FLAG = 'disabled' GIR_MESON_ENABLE_FLAG = 'enabled' GIR_MESON_DISABLE_FLAG = 'disabled' -PACKAGECONFIG ??= "curl gnutls gudev gusb \ - ${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth polkit', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd offline', '', d)} \ - ${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'plugin_uefi_capsule plugin_uefi_pk', '', d)} \ - ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ - hsi \ - plugin_android_boot \ - plugin_acpi_phat \ - plugin_bcm57xx \ - plugin_emmc \ - plugin_ep963x \ - plugin_fastboot \ - plugin_flashrom \ - plugin_gpio \ - plugin_igsc \ - plugin_intel_me \ - plugin_intel_spi \ - plugin_logitech_bulkcontroller \ - plugin_logitech_scribe \ - plugin_modem_manager \ - plugin_msr \ - plugin_nitrokey \ - plugin_nvme \ - plugin_parade_lspcon \ - plugin_pixart_rf \ - plugin_realtek_mst \ - plugin_redfish \ - plugin_synaptics_mst \ - plugin_synaptics_rmi \ - plugin_scsi \ - plugin_uf2 \ - plugin_upower \ - sqlite" +PACKAGECONFIG ??= "\ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ + ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth polkit', d)} \ + gnutls \ + hsi \ + plugin_flashrom \ + plugin_modem_manager \ + protobuf \ +" PACKAGECONFIG[bluetooth] = "-Dbluez=enabled,-Dbluez=disabled" -PACKAGECONFIG[compat-cli] = "-Dcompat_cli=true,-Dcompat_cli=false" -PACKAGECONFIG[consolekit] = "-Dconsolekit=enabled,-Dconsolekit=disabled,consolekit" -PACKAGECONFIG[curl] = "-Dcurl=enabled,-Dcurl=disabled,curl" PACKAGECONFIG[firmware-packager] = "-Dfirmware-packager=true,-Dfirmware-packager=false" PACKAGECONFIG[fish-completion] = "-Dfish_completion=true,-Dfish_completion=false" PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls" -PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev" -PACKAGECONFIG[gusb] = "-Dgusb=enabled,-Dgusb=disabled,libgusb" PACKAGECONFIG[hsi] = "-Dhsi=enabled,-Dhsi=disabled" PACKAGECONFIG[libarchive] = "-Dlibarchive=enabled,-Dlibarchive=disabled,libarchive" +PACKAGECONFIG[libdrm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm" PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false" PACKAGECONFIG[metainfo] = "-Dmetainfo=true,-Dmetainfo=false" -PACKAGECONFIG[offline] = "-Doffline=enabled,-Doffline=disabled" PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit" -PACKAGECONFIG[sqlite] = "-Dsqlite=enabled,-Dsqlite=disabled,sqlite3" +PACKAGECONFIG[readline] = "-Dreadline=enabled,-Dreadline=disabled,readline" PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,gcab-native" - # TODO plugins-all meta-option that expands to all plugin_*? -PACKAGECONFIG[plugin_acpi_phat] = "-Dplugin_acpi_phat=enabled,-Dplugin_acpi_phat=disabled" -PACKAGECONFIG[plugin_android_boot] = "-Dplugin_android_boot=enabled,-Dplugin_android_boot=disabled" -PACKAGECONFIG[plugin_bcm57xx] = "-Dplugin_bcm57xx=enabled,-Dplugin_bcm57xx=disabled" -PACKAGECONFIG[plugin_cfu] = "-Dplugin_cfu=enabled,-Dplugin_cfu=disabled" -PACKAGECONFIG[plugin_emmc] = "-Dplugin_emmc=enabled,-Dplugin_emmc=disabled" -PACKAGECONFIG[plugin_ep963x] = "-Dplugin_ep963x=enabled,-Dplugin_ep963x=disabled" -PACKAGECONFIG[plugin_fastboot] = "-Dplugin_fastboot=enabled,-Dplugin_fastboot=disabled" PACKAGECONFIG[plugin_flashrom] = "-Dplugin_flashrom=enabled,-Dplugin_flashrom=disabled,flashrom" -PACKAGECONFIG[plugin_gpio] = "-Dplugin_gpio=enabled,-Dplugin_gpio=disabled" -PACKAGECONFIG[plugin_igsc] = "-Dplugin_igsc=enabled,-Dplugin_igsc=disabled" -PACKAGECONFIG[plugin_intel_me] = "-Dplugin_intel_me=enabled,-Dplugin_intel_me=disabled" -PACKAGECONFIG[plugin_intel_spi] = "-Dplugin_intel_spi=true -Dlzma=enabled,-Dplugin_intel_spi=false -Dlzma=disabled,xz" -PACKAGECONFIG[plugin_logitech_bulkcontroller] = "-Dplugin_logitech_bulkcontroller=enabled,-Dplugin_logitech_bulkcontroller=disabled,protobuf-c-native protobuf-c" -PACKAGECONFIG[plugin_logitech_scribe] = "-Dplugin_logitech_scribe=enabled,-Dplugin_logitech_scribe=disabled" +PACKAGECONFIG[protobuf] = "-Dprotobuf=enabled,-Dprotobuf=disabled,protobuf-c-native protobuf-c" PACKAGECONFIG[plugin_modem_manager] = "-Dplugin_modem_manager=enabled,-Dplugin_modem_manager=disabled,libqmi modemmanager" -PACKAGECONFIG[plugin_msr] = "-Dplugin_msr=enabled,-Dplugin_msr=disabled,cpuid" -PACKAGECONFIG[plugin_nitrokey] = "-Dplugin_nitrokey=enabled,-Dplugin_nitrokey=disabled" -PACKAGECONFIG[plugin_nvme] = "-Dplugin_nvme=enabled,-Dplugin_nvme=disabled" -PACKAGECONFIG[plugin_parade_lspcon] = "-Dplugin_parade_lspcon=enabled,-Dplugin_parade_lspcon=disabled" -PACKAGECONFIG[plugin_pixart_rf] = "-Dplugin_pixart_rf=enabled,-Dplugin_pixart_rf=disabled" -PACKAGECONFIG[plugin_powerd] = "-Dplugin_powerd=enabled,-Dplugin_powerd=disabled" -PACKAGECONFIG[plugin_realtek_mst] = "-Dplugin_realtek_mst=enabled,-Dplugin_realtek_mst=disabled" -PACKAGECONFIG[plugin_redfish] = "-Dplugin_redfish=enabled,-Dplugin_redfish=disabled" -PACKAGECONFIG[plugin_scsi] = "-Dplugin_scsi=enabled,-Dplugin_scsi=disabled" -PACKAGECONFIG[plugin_synaptics_mst] = "-Dplugin_synaptics_mst=enabled,-Dplugin_synaptics_mst=disabled" -PACKAGECONFIG[plugin_synaptics_rmi] = "-Dplugin_synaptics_rmi=enabled,-Dplugin_synaptics_rmi=disabled" -PACKAGECONFIG[plugin_tpm] = "-Dplugin_tpm=enabled,-Dplugin_tpm=disabled,tpm2-tss" -# Turn off the capsule splash as it needs G-I at buildtime, which isn't currently supported -PACKAGECONFIG[plugin_uefi_capsule] = "-Dplugin_uefi_capsule=enabled -Dplugin_uefi_capsule_splash=false,-Dplugin_uefi_capsule=disabled,efivar fwupd-efi" -PACKAGECONFIG[plugin_uefi_pk] = "-Dplugin_uefi_pk=enabled,-Dplugin_uefi_pk=disabled" -PACKAGECONFIG[plugin_uf2] = "-Dplugin_uf2=enabled,-Dplugin_uf2=disabled" -PACKAGECONFIG[plugin_upower] = "-Dplugin_upower=enabled,-Dplugin_upower=disabled" - -# Always disable these plugins on non-x86 platforms as they don't compile or are useless -DISABLE_NON_X86 = "plugin_intel_me plugin_intel_spi plugin_msr" -DISABLE_NON_X86:x86 = "" -DISABLE_NON_X86:x86-64 = "" -PACKAGECONFIG:remove = "${DISABLE_NON_X86}" +PACKAGECONFIG[plugin_uefi_capsule_splash] = "-Dplugin_uefi_capsule_splash=true,-Dplugin_uefi_capsule_splash=false,python3-pygobject" -FILES:${PN} += "${libdir}/fwupd-plugins-* \ - ${libdir}/fwupd-${PV} \ - ${systemd_unitdir} \ - ${nonarch_libdir}/sysusers.d/fwupd.conf \ - ${datadir}/fish \ - ${datadir}/metainfo \ - ${datadir}/icons \ - ${datadir}/dbus-1 \ - ${datadir}/polkit-1 \ - ${nonarch_libdir}/modules-load.d" +FILES:${PN} += "\ + ${libdir}/fwupd-plugins-* \ + ${libdir}/fwupd-${PV} \ + ${systemd_unitdir} \ + ${nonarch_libdir}/sysusers.d/fwupd.conf \ + ${datadir}/fish \ + ${datadir}/metainfo \ + ${datadir}/icons \ + ${datadir}/dbus-1 \ + ${datadir}/polkit-1 \ + ${nonarch_libdir}/modules-load.d \ +" FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \ ${datadir}/installed-tests/" -RDEPENDS:${PN}-ptest += "gnome-desktop-testing" +RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3" INSANE_SKIP:${PN}-ptest += "buildpaths" From patchwork Thu Jul 10 08:54:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 66558 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63E96C83F18 for ; Thu, 10 Jul 2025 08:55:12 +0000 (UTC) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mx.groups.io with SMTP id smtpd.web10.4138.1752137701942927164 for ; Thu, 10 Jul 2025 01:55:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=i/la0Erj; spf=pass (domain: linaro.org, ip: 209.85.167.41, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-558f7472d64so1473998e87.0 for ; Thu, 10 Jul 2025 01:55:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1752137700; x=1752742500; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GiJh54HMA7V6GC01ouX+yvEbgwU4tC9acVcz0sdPN+4=; b=i/la0Erjp47VPPW45SjT+Qd3xIkqPg94yNcGVgpRJG/hVejl0p0vStqtN/6IBRuBfR NtH8X8ickt3gJ0mzgOeJ5DDycG+L7okLSRN+zpZn5/iyjcjeqLtHzkeZ/aRx/tftbclD 4/kESfaZINd4l5/kHa5+z2Ur/j7dR23qJe6VPGxpY2UZ/iEiXg4X7V/935wNIFCI6wzX FT3QPKQF8Dv9cxre1eKb58Cny1K7G9xN7EqHP3E4FZFZOozN1ap0KLfXMRd36+IHj4fW KDbXACI6nWDLS9akemvDDKgeG6XfATLIJTpyWdjrr9pdcVzTH61srzFzo6+ON+dAyMGJ ENXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752137700; x=1752742500; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GiJh54HMA7V6GC01ouX+yvEbgwU4tC9acVcz0sdPN+4=; b=LSHFS6l3NLyvgP7zuwcreWgz/7Q9yz4cW79NlQtplGwL6Mbi75F68kx6NDw83C1Mhs 0k+KFam3rGRBte6FZrSIIvf7NUEo3KxS8oa3C2X1/4rT/K8GSfb/B16VVIPr/b4peYbx LZDs0A/WgkA1lnrl+0BHbEcp20LtJBOKpMrXQA6fNEesAZDwZQajMa3QmVBBDgI9YjnD yDHQ6Oz3QuPoUW0eS/fvKFvv3QsKNjNVlgiMjuGNOXAkcHYDgeITnwMhj1CNUzbq3BAy AuqfZtAbEeEj73ng5nxkhnb6aI/Z/fqIGuYHLC3FYbrlTe8Bany/GLJ88OdxlKqT9qzP WGCQ== X-Gm-Message-State: AOJu0YwUUtrjqrE5RsGlfDXKR48mUGsFaSkZ5glpXNCnq/JSLHlj3reK kzEyWPx38MMj5kt6YseRJ9ZlaZUAAa3V8S2CRW36cjIA3k9ZsOymZw0vDkrQO+CO+Di+hgwwjhn pMqVN X-Gm-Gg: ASbGncv+uEwAuTa4MNItaBRoxYo/MLSXOBfF0KmsAlotTCSohUyk156MQo4nbn9YxvO gNu+nG7Fe54LLkxxes72a6Qq0zE9hA7j2OPjba/nKqUBpXuHx9r6Pu1yiDQRAsXjr1OHQ30vtUW 3CneDWXeKPFwHxsvzA+WHpe1/VeQ1zRzBDIakB5U800fKFdXttvJs+DYez0nkPooiA3Qe75oFLH W35cSESC4jo7CA06JrAtLM23L4ke55gtoi8epTHLbKgpuV6FMsQr2VeBS5yUY8KDpE8tcY/yhqW zt+rdyCFZVGw/pLzUASNJewLv7TBhePLXB0WaCi5DdeLZOMfM22gq+/+MjB9EbO1bicETyngBvm KKtlFtJaoE2xj44hC5nMOScNLGqlZWETvbdFj3OJzcdxx00oWKA== X-Google-Smtp-Source: AGHT+IFfjbBZPwQ9LIob6Ai8uJZeU8dtjkD/DjQQPYcSjzmREVtZ4zQsBiwRMAF4ToWtQfNorxSZbQ== X-Received: by 2002:a05:6512:3b23:b0:553:2912:cfdc with SMTP id 2adb3069b0e04-559006e068bmr788667e87.9.1752137699696; Thu, 10 Jul 2025 01:54:59 -0700 (PDT) Received: from localhost.localdomain (87-100-218-141.bb.dnainternet.fi. [87.100.218.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-55943b6bb33sm282286e87.174.2025.07.10.01.54.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jul 2025 01:54:59 -0700 (PDT) From: Mikko Rapeli To: openembedded-devel@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH v2 4/4] fwupd: add conditional runtime dependency to udisks2 Date: Thu, 10 Jul 2025 11:54:38 +0300 Message-ID: <20250710085438.270911-4-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250710085438.270911-1-mikko.rapeli@linaro.org> References: <20250710085438.270911-1-mikko.rapeli@linaro.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 10 Jul 2025 08:55:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118403 fwupdtool uses udisks2 to setup access to ESP partition. udisks2 depends on polkit feature so make the dependency conditional in fwupd too. The dependency is not needed for all usecases. Signed-off-by: Mikko Rapeli --- meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb | 3 +++ 1 file changed, 3 insertions(+) v2: no changes diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb index ce21ad42fed9..e25fbe1f547e 100644 --- a/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb +++ b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb @@ -85,4 +85,7 @@ FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \ ${datadir}/installed-tests/" RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3" +# ESP mounting, not strictly necessary +RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'udisks2', '', d)}" + INSANE_SKIP:${PN}-ptest += "buildpaths"