forked from coreos/coreos-assembler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osbuild: don't compress in the qemu stage for now
We'll open a PR upstream to make compression an option for this stage, but for now we'll just disable it in the code because we know we don't want it: coreos/fedora-coreos-tracker#1653 (comment)
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
src/0001-stages-qemu-don-t-use-internal-compression-for-now.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From 372df8e1adb3c76f092ed47a45ee8637a247c786 Mon Sep 17 00:00:00 2001 | ||
From: Dusty Mabe <dusty@dustymabe.com> | ||
Date: Mon, 5 Feb 2024 17:38:41 -0500 | ||
Subject: [PATCH] stages(qemu): don't use internal compression for now | ||
|
||
Until this is an option in the stage let's disable it for now | ||
https://github.com/coreos/fedora-coreos-tracker/issues/1653#issuecomment-1928342241 | ||
--- | ||
stages/org.osbuild.qemu | 5 ++++- | ||
1 file changed, 4 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/stages/org.osbuild.qemu b/stages/org.osbuild.qemu | ||
index 98a04f00..07172b3d 100755 | ||
--- a/stages/org.osbuild.qemu | ||
+++ b/stages/org.osbuild.qemu | ||
@@ -140,7 +140,10 @@ SCHEMA_2 = r""" | ||
|
||
|
||
def qcow2_arguments(options): | ||
- argv = ["-c"] | ||
+ # No internal compression in CoreOS for now. | ||
+ # https://github.com/coreos/fedora-coreos-tracker/issues/1653#issuecomment-1928342241 | ||
+ # argv = ["-c"] | ||
+ argv = [] | ||
compat = options.get("compat") | ||
|
||
if compat: | ||
-- | ||
2.43.0 | ||
|