fwupd: 1.7.1 → 1.7.2 (#147032)
This commit is contained in:
parent
fdf8fc7c00
commit
f0faf7cf3f
2 changed files with 18 additions and 2 deletions
|
@ -112,7 +112,7 @@ let
|
|||
|
||||
self = stdenv.mkDerivation rec {
|
||||
pname = "fwupd";
|
||||
version = "1.7.1";
|
||||
version = "1.7.2";
|
||||
|
||||
# libfwupd goes to lib
|
||||
# daemon, plug-ins and libfwupdplugin go to out
|
||||
|
@ -121,7 +121,7 @@ let
|
|||
|
||||
src = fetchurl {
|
||||
url = "https://people.freedesktop.org/~hughsient/releases/fwupd-${version}.tar.xz";
|
||||
sha256 = "sha256-rlbOtEt4byH1TRM6xwvF2cuM1L2gFnM5xmmiKNpn+jw=";
|
||||
sha256 = "sha256-hjLfacO6/Fk4fNy1F8POMaWXoJAm5E9ZB9g4RnG5+DQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -142,6 +142,9 @@ let
|
|||
|
||||
# Tests detect fwupd is installed when prefix is /usr.
|
||||
./fix-install-detection.patch
|
||||
|
||||
# EFI capsule is located in fwupd-efi now.
|
||||
./efi-app-path.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
13
pkgs/os-specific/linux/firmware/fwupd/efi-app-path.patch
Normal file
13
pkgs/os-specific/linux/firmware/fwupd/efi-app-path.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/meson.build b/meson.build
|
||||
index 4330512e..e53b70ab 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -403,7 +403,7 @@ endif
|
||||
if build_standalone and get_option('plugin_uefi_capsule')
|
||||
efiboot = dependency('efiboot')
|
||||
|
||||
- efi_app_location = join_paths(libexecdir, 'fwupd', 'efi')
|
||||
+ efi_app_location = join_paths(dependency('fwupd-efi').get_pkgconfig_variable('prefix'), 'libexec', 'fwupd', 'efi')
|
||||
conf.set_quoted('EFI_APP_LOCATION', efi_app_location)
|
||||
|
||||
if host_cpu == 'x86'
|
Loading…
Reference in a new issue