distro/rhel86: compress azure-rhui images

Those images are forced to be 64GiB in size but mostly consist of zeros.
This makes them hard to handle, e.g. uploading to brew takes a forever.
The vhdPipelines is converted to a function returning the pipelinesFunc
and it has a single argument `compress` that will add the compression
pipeline bits if `true`. Will return exactly the old pipeline in case
of `false`.
This commit is contained in:
Christian Kellner 2022-05-25 13:18:01 +02:00
parent 34fb2b6001
commit 5c90abdd0a
6 changed files with 2747 additions and 2585 deletions

File diff suppressed because it is too large Load diff

View file

@ -3439,6 +3439,29 @@
}
}
]
},
{
"name": "archive",
"build": "name:build",
"stages": [
{
"type": "org.osbuild.xz",
"inputs": {
"file": {
"type": "org.osbuild.files",
"origin": "org.osbuild.pipeline",
"references": {
"name:vpc": {
"file": "disk.vhd"
}
}
}
},
"options": {
"filename": "disk.vhd.xz"
}
}
]
}
],
"sources": {

View file

@ -3439,6 +3439,29 @@
}
}
]
},
{
"name": "archive",
"build": "name:build",
"stages": [
{
"type": "org.osbuild.xz",
"inputs": {
"file": {
"type": "org.osbuild.files",
"origin": "org.osbuild.pipeline",
"references": {
"name:vpc": {
"file": "disk.vhd"
}
}
}
},
"options": {
"filename": "disk.vhd.xz"
}
}
]
}
],
"sources": {