image: image_installer, use gzip compression
This commit is contained in:
parent
0b864c4306
commit
3443484502
18 changed files with 35 additions and 34 deletions
|
|
@ -62,7 +62,7 @@ func (img *ImageInstaller) InstantiateManifest(m *manifest.Manifest,
|
|||
img.OSVersion)
|
||||
|
||||
interactiveDefaults := manifest.NewAnacondaInteractiveDefaults(
|
||||
"file:///run/install/repo/liveimg.tar",
|
||||
"file:///run/install/repo/liveimg.tar.gz",
|
||||
)
|
||||
|
||||
anacondaPipeline.ExtraPackages = img.ExtraBasePackages.Include
|
||||
|
|
|
|||
|
|
@ -209,7 +209,8 @@ func (p *ISOTree) serialize() osbuild.Pipeline {
|
|||
}
|
||||
|
||||
if p.OSPipeline != nil {
|
||||
pipeline.AddStage(osbuild.NewTarStage(&osbuild.TarStageOptions{Filename: "/liveimg.tar"}, p.OSPipeline.name))
|
||||
// The TarStage has --autocompress
|
||||
pipeline.AddStage(osbuild.NewTarStage(&osbuild.TarStageOptions{Filename: "/liveimg.tar.gz"}, p.OSPipeline.name))
|
||||
|
||||
// In the case of OSPipeline then the ImageInstaller has already set InteractiveDefaults on the anaconda-tree,
|
||||
// eliminating the need to set a separate kickstart here.
|
||||
|
|
|
|||
|
|
@ -9931,7 +9931,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -12929,7 +12929,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9961,7 +9961,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -12959,7 +12959,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10124,7 +10124,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13162,7 +13162,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10154,7 +10154,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13192,7 +13192,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10219,7 +10219,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13585,7 +13585,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10249,7 +10249,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13615,7 +13615,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10412,7 +10412,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13866,7 +13866,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10442,7 +10442,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13896,7 +13896,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10345,7 +10345,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13757,7 +13757,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10375,7 +10375,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13787,7 +13787,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10546,7 +10546,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -14046,7 +14046,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10576,7 +10576,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -14076,7 +14076,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10213,7 +10213,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13637,7 +13637,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10243,7 +10243,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13667,7 +13667,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10398,7 +10398,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13902,7 +13902,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10428,7 +10428,7 @@
|
|||
"options": {
|
||||
"path": "/usr/share/anaconda/interactive-defaults.ks",
|
||||
"liveimg": {
|
||||
"url": "file:///run/install/repo/liveimg.tar"
|
||||
"url": "file:///run/install/repo/liveimg.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13932,7 +13932,7 @@
|
|||
}
|
||||
},
|
||||
"options": {
|
||||
"filename": "/liveimg.tar"
|
||||
"filename": "/liveimg.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue