nixpkgs/pkgs/by-name/fw/fwupd/efi-app-path.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
626 B
Diff
Raw Normal View History

2024-10-27 22:53:36 +00:00
commit 1770b1871a567dfa78ae1e32094b6007bb7639e9
Author: r-vdp <ramses@well-founded.dev>
Date: Mon Oct 28 12:08:49 2024 +0100
Get the efi app from fwupd-efi
2021-12-03 18:59:15 +00:00
diff --git a/meson.build b/meson.build
2024-10-27 22:53:36 +00:00
index e4e764b97..8acaa3d2d 100644
2021-12-03 18:59:15 +00:00
--- a/meson.build
+++ b/meson.build
2024-10-27 22:53:36 +00:00
@@ -482,7 +482,7 @@ endif
# EFI
if build_standalone
2021-12-03 18:59:15 +00:00
- efi_app_location = join_paths(libexecdir, 'fwupd', 'efi')
2023-01-22 02:16:58 +00:00
+ efi_app_location = join_paths(dependency('fwupd-efi').get_variable(pkgconfig: 'prefix'), 'libexec', 'fwupd', 'efi')
2021-12-03 18:59:15 +00:00
conf.set_quoted('EFI_APP_LOCATION', efi_app_location)
if host_cpu == 'x86'
EFI_MACHINE_TYPE_NAME = 'ia32'