File: 0001-Fix-installation-path-for-mtd-tests.patch

package info (click to toggle)
fwupd 2.0.17-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 32,148 kB
  • sloc: ansic: 271,872; python: 11,323; xml: 9,357; sh: 1,590; makefile: 167; cpp: 19; asm: 11; javascript: 9
file content (25 lines) | stat: -rw-r--r-- 856 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 7ded10f22875da9b0f5f21cb41f8663049da6311 Mon Sep 17 00:00:00 2001
From: Mario Limonciello <mario.limonciello@amd.com>
Date: Thu, 6 Nov 2025 09:30:17 -0600
Subject: [PATCH] Fix installation path for mtd tests

Closes: https://github.com/fwupd/fwupd/issues/9514
---
 plugins/mtd/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/mtd/meson.build b/plugins/mtd/meson.build
index d723ded12..82e33450a 100644
--- a/plugins/mtd/meson.build
+++ b/plugins/mtd/meson.build
@@ -49,6 +49,6 @@ if get_option('tests')
   test('mtd-self-test', e, env: env)  # added to installed-tests
   install_data(
     ['tests/mtd-fmap.builder.xml', 'tests/mtd-ifd.builder.xml', 'tests/mtd-uswid.builder.xml'],
-    install_dir: installed_test_datadir,
+    install_dir: join_paths(installed_test_datadir, 'tests'),
   )
 endif
-- 
2.43.0