summaryrefslogtreecommitdiffstats
path: root/debian/patches/ignore-roms-dependency-in-qtest.patch
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2025-06-06 10:05:27 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2025-06-06 10:05:27 +0000
commit43904a02caeb311a505bbb5ffa431ea9859db5f4 (patch)
treecd841d75f639d9092243b0d02a3bb93cbdea5804 /debian/patches/ignore-roms-dependency-in-qtest.patch
parentAdding upstream version 1:7.2+dfsg. (diff)
downloadqemu-debian.tar.xz
qemu-debian.zip
Adding debian version 1:7.2+dfsg-7+deb12u13.debian/1%7.2+dfsg-7+deb12u13debian
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r--debian/patches/ignore-roms-dependency-in-qtest.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/ignore-roms-dependency-in-qtest.patch b/debian/patches/ignore-roms-dependency-in-qtest.patch
new file mode 100644
index 00000000..53bf1af2
--- /dev/null
+++ b/debian/patches/ignore-roms-dependency-in-qtest.patch
@@ -0,0 +1,20 @@
+Description: roms as dependencies won't be available in packaged qemu
+ Due to the removal of blobs the packaging will not have the roms
+ dependency set and would fail at configure stage with:
+ ../../tests/qtest/meson.build:272:2: ERROR: Unknown variable "roms".
+ Switch it back to the former empty initializer.
+Forwarded: no
+Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
+Last-Update: 2022-01-05
+--- a/tests/qtest/meson.build
++++ b/tests/qtest/meson.build
+@@ -269,7 +269,8 @@ foreach dir : target_dirs
+ qtest_emulator = emulators['qemu-system-' + target_base]
+ target_qtests = get_variable('qtests_' + target_base, []) + qtests_generic
+
+- test_deps = roms
++ # roms as dependencies won't be available in packaged qemu
++ test_deps = []
+ qtest_env = environment()
+ if have_tools
+ qtest_env.set('QTEST_QEMU_IMG', './qemu-img')