Loading nixos/tests/installed-tests/fwupd.nix +3 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,9 @@ makeInstalledTest { tested = pkgs.fwupd; # same as fwupd upstream CI testRunnerFlags = [ "--timeout=1200" ]; testConfig = { services.fwupd = { enable = true; Loading pkgs/by-name/fw/fwupd/0001-Install-fwupdplugin-to-out.patch +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ Subject: [PATCH] Install fwupdplugin to out 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index b711ab04b..7b065f278 100644 index 1a56d3308..c7bf2c9aa 100644 --- a/meson.build +++ b/meson.build @@ -734,7 +734,7 @@ if build_standalone Loading pkgs/by-name/fw/fwupd/0002-Add-output-for-installed-tests.patch +5 −5 Original line number Diff line number Diff line Loading @@ -24,11 +24,11 @@ index e15cab2fa..bad033dbf 100644 if umockdev_integration_tests.allowed() diff --git a/meson.build b/meson.build index 7b065f278..1a4b0ea1f 100644 index c7bf2c9aa..bf77bf6d6 100644 --- a/meson.build +++ b/meson.build @@ -239,8 +239,8 @@ else datadir = join_paths(prefix, get_option('datadir')) @@ -241,8 +241,8 @@ else includedir = join_paths(prefix, get_option('includedir')) sysconfdir = join_paths(prefix, get_option('sysconfdir')) localstatedir = join_paths(prefix, get_option('localstatedir')) - installed_test_bindir = join_paths(libexecdir, 'installed-tests', meson.project_name()) Loading @@ -47,10 +47,10 @@ index 7b065f278..1a4b0ea1f 100644 conf.set_quoted('FWUPD_LIBDIR', libdir) conf.set_quoted('FWUPD_LIBEXECDIR', libexecdir) diff --git a/meson_options.txt b/meson_options.txt index 18991b983..937578f19 100644 index eb57391eb..420997355 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -197,6 +197,11 @@ option( @@ -198,6 +198,11 @@ option( value: 'fwupd-refresh', description: 'User account to use for fwupd-refresh.service (empty for DynamicUser)', ) Loading pkgs/by-name/fw/fwupd/0003-Add-option-for-installation-sysconfdir.patch +12 −27 Original line number Diff line number Diff line Loading @@ -6,13 +6,13 @@ Subject: [PATCH] Add option for installation sysconfdir --- data/bios-settings.d/meson.build | 2 +- data/meson.build | 2 +- data/pki/meson.build | 8 ++++---- data/pki/meson.build | 4 ++-- data/remotes.d/meson.build | 8 ++++---- docs/meson.build | 16 ++++++++-------- meson.build | 6 ++++++ meson_options.txt | 6 ++++++ plugins/uefi-capsule/meson.build | 4 ++-- 8 files changed, 32 insertions(+), 20 deletions(-) 8 files changed, 30 insertions(+), 18 deletions(-) diff --git a/data/bios-settings.d/meson.build b/data/bios-settings.d/meson.build index 2a2a07016..99df55afb 100644 Loading @@ -27,7 +27,7 @@ index 2a2a07016..99df55afb 100644 ) endif diff --git a/data/meson.build b/data/meson.build index 5716669f0..78e754f40 100644 index 70d08c55e..5a5d8bf46 100644 --- a/data/meson.build +++ b/data/meson.build @@ -29,7 +29,7 @@ if build_standalone Loading @@ -40,25 +40,10 @@ index 5716669f0..78e754f40 100644 ) plugin_quirks += files('cfi.quirk', 'ds20.quirk', 'power.quirk', 'vendors.quirk') diff --git a/data/pki/meson.build b/data/pki/meson.build index 1072051c0..6ef9c9111 100644 index b87068405..21f59753a 100644 --- a/data/pki/meson.build +++ b/data/pki/meson.build @@ -12,12 +12,12 @@ if supported_gpg install_data( ['GPG-KEY-Linux-Foundation-Firmware', 'GPG-KEY-Linux-Vendor-Firmware-Service'], install_tag: 'runtime', - install_dir: join_paths(sysconfdir, 'pki', 'fwupd'), + install_dir: join_paths(sysconfdir_install, 'pki', 'fwupd'), ) install_data( ['GPG-KEY-Linux-Foundation-Metadata', 'GPG-KEY-Linux-Vendor-Firmware-Service'], install_tag: 'runtime', - install_dir: join_paths(sysconfdir, 'pki', 'fwupd-metadata'), + install_dir: join_paths(sysconfdir_install, 'pki', 'fwupd-metadata'), ) endif @@ -25,11 +25,11 @@ if supported_pkcs7 @@ -8,11 +8,11 @@ if supported_pkcs7 install_data( ['LVFS-CA.pem', 'LVFS-CA-2025PQ.pem'], install_tag: 'runtime', Loading Loading @@ -111,7 +96,7 @@ index b8d24c267..0dd4ad32a 100644 + install_dir: join_paths(sysconfdir_install, 'fwupd', 'remotes.d'), ) diff --git a/docs/meson.build b/docs/meson.build index 787b4387c..b3144757f 100644 index b4d48b086..8a1f8fc8c 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -196,7 +196,7 @@ if build_docs Loading @@ -123,7 +108,7 @@ index 787b4387c..b3144757f 100644 ) subdir('hsi-tests.d') @@ -247,7 +247,7 @@ if build_docs @@ -257,7 +257,7 @@ if build_docs build_by_default: true, install: true, install_tag: 'doc', Loading @@ -132,7 +117,7 @@ index 787b4387c..b3144757f 100644 ) man_cmd = [] foreach man : man_md @@ -260,36 +260,36 @@ if build_docs @@ -270,36 +270,36 @@ if build_docs command: [generate_index, '@INPUT@', '-o', '@OUTPUT@', man_cmd], install: true, install_tag: 'doc', Loading Loading @@ -176,10 +161,10 @@ index 787b4387c..b3144757f 100644 ) endif diff --git a/meson.build b/meson.build index 1a4b0ea1f..16c7cad40 100644 index bf77bf6d6..f1f51e841 100644 --- a/meson.build +++ b/meson.build @@ -246,6 +246,12 @@ endif @@ -248,6 +248,12 @@ endif mandir = join_paths(prefix, get_option('mandir')) localedir = join_paths(prefix, get_option('localedir')) Loading @@ -193,7 +178,7 @@ index 1a4b0ea1f..16c7cad40 100644 gio = dependency( 'gio-2.0', diff --git a/meson_options.txt b/meson_options.txt index 937578f19..08b26b3ad 100644 index 420997355..67b3058d5 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -14,6 +14,12 @@ option( Loading @@ -210,7 +195,7 @@ index 937578f19..08b26b3ad 100644 'build', type: 'combo', diff --git a/plugins/uefi-capsule/meson.build b/plugins/uefi-capsule/meson.build index 647ace53e..4ee0192df 100644 index f104f36d7..30356ea53 100644 --- a/plugins/uefi-capsule/meson.build +++ b/plugins/uefi-capsule/meson.build @@ -23,7 +23,7 @@ if host_machine.system() == 'linux' Loading pkgs/by-name/fw/fwupd/0004-Get-the-efi-app-from-fwupd-efi.patch +2 −2 Original line number Diff line number Diff line Loading @@ -8,10 +8,10 @@ Subject: [PATCH] Get the efi app from fwupd-efi 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 16c7cad40..81804bf3b 100644 index f1f51e841..aaefe55d9 100644 --- a/meson.build +++ b/meson.build @@ -657,7 +657,7 @@ endif @@ -646,7 +646,7 @@ endif # EFI if build_standalone Loading Loading
nixos/tests/installed-tests/fwupd.nix +3 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,9 @@ makeInstalledTest { tested = pkgs.fwupd; # same as fwupd upstream CI testRunnerFlags = [ "--timeout=1200" ]; testConfig = { services.fwupd = { enable = true; Loading
pkgs/by-name/fw/fwupd/0001-Install-fwupdplugin-to-out.patch +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ Subject: [PATCH] Install fwupdplugin to out 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index b711ab04b..7b065f278 100644 index 1a56d3308..c7bf2c9aa 100644 --- a/meson.build +++ b/meson.build @@ -734,7 +734,7 @@ if build_standalone Loading
pkgs/by-name/fw/fwupd/0002-Add-output-for-installed-tests.patch +5 −5 Original line number Diff line number Diff line Loading @@ -24,11 +24,11 @@ index e15cab2fa..bad033dbf 100644 if umockdev_integration_tests.allowed() diff --git a/meson.build b/meson.build index 7b065f278..1a4b0ea1f 100644 index c7bf2c9aa..bf77bf6d6 100644 --- a/meson.build +++ b/meson.build @@ -239,8 +239,8 @@ else datadir = join_paths(prefix, get_option('datadir')) @@ -241,8 +241,8 @@ else includedir = join_paths(prefix, get_option('includedir')) sysconfdir = join_paths(prefix, get_option('sysconfdir')) localstatedir = join_paths(prefix, get_option('localstatedir')) - installed_test_bindir = join_paths(libexecdir, 'installed-tests', meson.project_name()) Loading @@ -47,10 +47,10 @@ index 7b065f278..1a4b0ea1f 100644 conf.set_quoted('FWUPD_LIBDIR', libdir) conf.set_quoted('FWUPD_LIBEXECDIR', libexecdir) diff --git a/meson_options.txt b/meson_options.txt index 18991b983..937578f19 100644 index eb57391eb..420997355 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -197,6 +197,11 @@ option( @@ -198,6 +198,11 @@ option( value: 'fwupd-refresh', description: 'User account to use for fwupd-refresh.service (empty for DynamicUser)', ) Loading
pkgs/by-name/fw/fwupd/0003-Add-option-for-installation-sysconfdir.patch +12 −27 Original line number Diff line number Diff line Loading @@ -6,13 +6,13 @@ Subject: [PATCH] Add option for installation sysconfdir --- data/bios-settings.d/meson.build | 2 +- data/meson.build | 2 +- data/pki/meson.build | 8 ++++---- data/pki/meson.build | 4 ++-- data/remotes.d/meson.build | 8 ++++---- docs/meson.build | 16 ++++++++-------- meson.build | 6 ++++++ meson_options.txt | 6 ++++++ plugins/uefi-capsule/meson.build | 4 ++-- 8 files changed, 32 insertions(+), 20 deletions(-) 8 files changed, 30 insertions(+), 18 deletions(-) diff --git a/data/bios-settings.d/meson.build b/data/bios-settings.d/meson.build index 2a2a07016..99df55afb 100644 Loading @@ -27,7 +27,7 @@ index 2a2a07016..99df55afb 100644 ) endif diff --git a/data/meson.build b/data/meson.build index 5716669f0..78e754f40 100644 index 70d08c55e..5a5d8bf46 100644 --- a/data/meson.build +++ b/data/meson.build @@ -29,7 +29,7 @@ if build_standalone Loading @@ -40,25 +40,10 @@ index 5716669f0..78e754f40 100644 ) plugin_quirks += files('cfi.quirk', 'ds20.quirk', 'power.quirk', 'vendors.quirk') diff --git a/data/pki/meson.build b/data/pki/meson.build index 1072051c0..6ef9c9111 100644 index b87068405..21f59753a 100644 --- a/data/pki/meson.build +++ b/data/pki/meson.build @@ -12,12 +12,12 @@ if supported_gpg install_data( ['GPG-KEY-Linux-Foundation-Firmware', 'GPG-KEY-Linux-Vendor-Firmware-Service'], install_tag: 'runtime', - install_dir: join_paths(sysconfdir, 'pki', 'fwupd'), + install_dir: join_paths(sysconfdir_install, 'pki', 'fwupd'), ) install_data( ['GPG-KEY-Linux-Foundation-Metadata', 'GPG-KEY-Linux-Vendor-Firmware-Service'], install_tag: 'runtime', - install_dir: join_paths(sysconfdir, 'pki', 'fwupd-metadata'), + install_dir: join_paths(sysconfdir_install, 'pki', 'fwupd-metadata'), ) endif @@ -25,11 +25,11 @@ if supported_pkcs7 @@ -8,11 +8,11 @@ if supported_pkcs7 install_data( ['LVFS-CA.pem', 'LVFS-CA-2025PQ.pem'], install_tag: 'runtime', Loading Loading @@ -111,7 +96,7 @@ index b8d24c267..0dd4ad32a 100644 + install_dir: join_paths(sysconfdir_install, 'fwupd', 'remotes.d'), ) diff --git a/docs/meson.build b/docs/meson.build index 787b4387c..b3144757f 100644 index b4d48b086..8a1f8fc8c 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -196,7 +196,7 @@ if build_docs Loading @@ -123,7 +108,7 @@ index 787b4387c..b3144757f 100644 ) subdir('hsi-tests.d') @@ -247,7 +247,7 @@ if build_docs @@ -257,7 +257,7 @@ if build_docs build_by_default: true, install: true, install_tag: 'doc', Loading @@ -132,7 +117,7 @@ index 787b4387c..b3144757f 100644 ) man_cmd = [] foreach man : man_md @@ -260,36 +260,36 @@ if build_docs @@ -270,36 +270,36 @@ if build_docs command: [generate_index, '@INPUT@', '-o', '@OUTPUT@', man_cmd], install: true, install_tag: 'doc', Loading Loading @@ -176,10 +161,10 @@ index 787b4387c..b3144757f 100644 ) endif diff --git a/meson.build b/meson.build index 1a4b0ea1f..16c7cad40 100644 index bf77bf6d6..f1f51e841 100644 --- a/meson.build +++ b/meson.build @@ -246,6 +246,12 @@ endif @@ -248,6 +248,12 @@ endif mandir = join_paths(prefix, get_option('mandir')) localedir = join_paths(prefix, get_option('localedir')) Loading @@ -193,7 +178,7 @@ index 1a4b0ea1f..16c7cad40 100644 gio = dependency( 'gio-2.0', diff --git a/meson_options.txt b/meson_options.txt index 937578f19..08b26b3ad 100644 index 420997355..67b3058d5 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -14,6 +14,12 @@ option( Loading @@ -210,7 +195,7 @@ index 937578f19..08b26b3ad 100644 'build', type: 'combo', diff --git a/plugins/uefi-capsule/meson.build b/plugins/uefi-capsule/meson.build index 647ace53e..4ee0192df 100644 index f104f36d7..30356ea53 100644 --- a/plugins/uefi-capsule/meson.build +++ b/plugins/uefi-capsule/meson.build @@ -23,7 +23,7 @@ if host_machine.system() == 'linux' Loading
pkgs/by-name/fw/fwupd/0004-Get-the-efi-app-from-fwupd-efi.patch +2 −2 Original line number Diff line number Diff line Loading @@ -8,10 +8,10 @@ Subject: [PATCH] Get the efi app from fwupd-efi 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 16c7cad40..81804bf3b 100644 index f1f51e841..aaefe55d9 100644 --- a/meson.build +++ b/meson.build @@ -657,7 +657,7 @@ endif @@ -646,7 +646,7 @@ endif # EFI if build_standalone Loading