Blame SOURCES/qemu-fix-compat-option.patch

1026b5
From 21ad9fa3992ba0f28750b5808cebdacdde104e08 Mon Sep 17 00:00:00 2001
1026b5
From: Christian Kellner <christian@kellner.me>
1026b5
Date: Wed, 22 Sep 2021 10:30:52 +0000
1026b5
Subject: [PATCH] stages/qemu: fix 'compat' option
1026b5
1026b5
The option got renamed to `compat` (and moved into the `qemu`
1026b5
object) when the stage was extracted from the `qemu` assembler;
1026b5
but the code, taken from the assembler, still used the old
1026b5
`qcow2_compat` name for the option. Fix this.
1026b5
---
1026b5
 stages/org.osbuild.qemu | 2 +-
1026b5
 1 file changed, 1 insertion(+), 1 deletion(-)
1026b5
1026b5
diff --git a/stages/org.osbuild.qemu b/stages/org.osbuild.qemu
1026b5
index bfefac3..cb6b3a8 100755
1026b5
--- a/stages/org.osbuild.qemu
1026b5
+++ b/stages/org.osbuild.qemu
1026b5
@@ -126,7 +126,7 @@ SCHEMA_2 = r"""
1026b5
 
1026b5
 def qcow2_arguments(options):
1026b5
     argv = ["-c"]
1026b5
-    compat = options.get("qcow2_compat")
1026b5
+    compat = options.get("compat")
1026b5
 
1026b5
     if compat:
1026b5
         argv += ["-o", f"compat={compat}"]
1026b5
-- 
1026b5
2.32.0
1026b5