summary refs log tree commit diff
path: root/pkgs/os-specific/linux/firmware/fwupd
diff options
context:
space:
mode:
authorRicardo M. Correia <rcorreia@wizy.org>2020-06-02 13:51:16 +0200
committerRicardo M. Correia <rcorreia@wizy.org>2020-06-02 14:23:20 +0200
commitec4d914143f0972afc201fc1cf3fa335838a5784 (patch)
tree2db82d50a6d900c60bcf224d19e6ff646abf9be9 /pkgs/os-specific/linux/firmware/fwupd
parent30d9df50ecd0cdb32afcf02e8012e08fa1bb7c6b (diff)
downloadnixpkgs-ec4d914143f0972afc201fc1cf3fa335838a5784.tar
nixpkgs-ec4d914143f0972afc201fc1cf3fa335838a5784.tar.gz
nixpkgs-ec4d914143f0972afc201fc1cf3fa335838a5784.tar.bz2
nixpkgs-ec4d914143f0972afc201fc1cf3fa335838a5784.tar.lz
nixpkgs-ec4d914143f0972afc201fc1cf3fa335838a5784.tar.xz
nixpkgs-ec4d914143f0972afc201fc1cf3fa335838a5784.tar.zst
nixpkgs-ec4d914143f0972afc201fc1cf3fa335838a5784.zip
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.
Diffstat (limited to 'pkgs/os-specific/linux/firmware/fwupd')
-rw-r--r--pkgs/os-specific/linux/firmware/fwupd/default.nix3
1 files changed, 2 insertions, 1 deletions
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