From df9f84c80f60625e00c3328eb9b8a606d6fa4f78 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Mon, 10 Aug 2026 10:28:59 +0100 Subject: [PATCH] tools: set user agent string when fetching acpi/pnp data uefi.org now refuses connections if a user agent is not set, failing the "update-hwdb" command. Set one so that it works again. --- tools/update-hwdb.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/update-hwdb.sh b/tools/update-hwdb.sh index 096a10016b..b8614ab880 100755 --- a/tools/update-hwdb.sh +++ b/tools/update-hwdb.sh @@ -21,8 +21,8 @@ if [ "${2:-}" != "-n" ]; then ( curl --fail -L -o ma-large.txt 'http://standards-oui.ieee.org/oui/oui.txt' curl --fail -L -o ma-medium.txt 'http://standards-oui.ieee.org/oui28/mam.txt' curl --fail -L -o ma-small.txt 'http://standards-oui.ieee.org/oui36/oui36.txt' - curl --fail -L -o pnp_id_registry.csv 'https://uefi.org/uefi-pnp-export' - curl --fail -L -o acpi_id_registry.csv 'https://uefi.org/uefi-acpi-export' + curl -A 'CustomUserAgentString' --fail -L -o pnp_id_registry.csv 'https://uefi.org/uefi-pnp-export' + curl -A 'CustomUserAgentString' --fail -L -o acpi_id_registry.csv 'https://uefi.org/uefi-acpi-export' ) fi set -x