From ec4d914143f0972afc201fc1cf3fa335838a5784 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Tue, 2 Jun 2020 13:51:16 +0200 Subject: [PATCH] fwupd: fix configuration on aarch64 The fwupd service was failing on aarch64 with: fwupd: Failed to load engine: Failed to load remotes: failed to load /etc/fwupd/remotes.d/dell-esrt.conf: No such file or directory The /etc/fwupd/remotes.d/dell-esrt.conf symlink existed but it pointed to a non-existent file. --- pkgs/os-specific/linux/firmware/fwupd/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/firmware/fwupd/default.nix b/pkgs/os-specific/linux/firmware/fwupd/default.nix index 9fe40cb60f7..87a37feb1cc 100644 --- a/pkgs/os-specific/linux/firmware/fwupd/default.nix +++ b/pkgs/os-specific/linux/firmware/fwupd/default.nix @@ -247,7 +247,6 @@ stdenv.mkDerivation rec { "fwupd/ata.conf" # "fwupd/daemon.conf" # already created by the module "fwupd/redfish.conf" - "fwupd/remotes.d/dell-esrt.conf" "fwupd/remotes.d/lvfs-testing.conf" "fwupd/remotes.d/lvfs.conf" "fwupd/remotes.d/vendor.conf" @@ -262,6 +261,8 @@ stdenv.mkDerivation rec { "pki/fwupd-metadata/GPG-KEY-Linux-Foundation-Metadata" "pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service" "pki/fwupd-metadata/LVFS-CA.pem" + ] ++ stdenv.lib.optionals haveDell [ + "fwupd/remotes.d/dell-esrt.conf" ]; # BlacklistPlugins key in fwupd/daemon.conf