Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stages/org.osbuild.qemu: make qcow2 compression optional #5

Closed
wants to merge 4 commits into from

Conversation

lukewarmtemp
Copy link
Owner

@lukewarmtemp lukewarmtemp commented Feb 6, 2024

Modify the stages/org.osbuild.qemu stage such that compression is optional. This resolves the image size differences between an image built with coreos assember vs osbuild, as discussed in: coreos/fedora-coreos-tracker#1653 (comment)

Size of the image after disabling compression:

$ du -h qemu.qcow2
1.6G    qemu.qcow2

stages/org.osbuild.qemu Outdated Show resolved Hide resolved
stages/org.osbuild.qemu Outdated Show resolved Hide resolved
@lukewarmtemp lukewarmtemp force-pushed the luyang-disable-compression branch 2 times, most recently from 7ee8a57 to 326ca7b Compare February 6, 2024 20:50
@dustymabe
Copy link

LGTM - I think while we are here let's go ahead and do this same thing for vmdk too if you don't mind. We're going to need it for our aws and vmware images.

Go ahead and post it upstream when you're ready.

dustymabe and others added 3 commits February 7, 2024 11:28
Runs bootupctl generate-update-metadata in the tree to transform
/usr/lib/ostree-boot into a bootupd-compatible update payload.

This stage should be run on the sysroot of an ostree deployment or
ostree-converted tree.
Since the stage depends on quite a specific tree state (ostree prepped
tree with boot files), we can't really unit test it any simpler than
generating a tree with and without running the stage and diffing the
tree.
@lukewarmtemp lukewarmtemp force-pushed the luyang-disable-compression branch 3 times, most recently from 1a3f2c3 to 94c8d51 Compare February 7, 2024 13:44
Modify the stages/org.osbuild.qemu stage such that compression is
optional. This resolves the image size differences between an image
built with coreos assember vs osbuild, as discussed in:
coreos/fedora-coreos-tracker#1653 (comment)
@lukewarmtemp
Copy link
Owner Author

Upstream PR: osbuild#1574

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants