distro: don't include grub2 stage in ext4 images

There is no point in having the grub2 stage in pipelines for image types
that are not bootable. The current version is probably a result of
previous refactoring where the member variable was named `IncludeFSTab`.

Moving the grub2 stage into the conditional branch should also fix test
generation on aarch64.

Finally it is necessary to regenerate test cases for non-bootable image
types.
This commit is contained in:
Martin Sehnoutka 2020-04-06 14:41:01 +02:00 committed by Tom Gundersen
parent bceb51b330
commit ae294f967d
7 changed files with 3 additions and 43 deletions

View file

@ -770,14 +770,6 @@
}
}
},
{
"name": "org.osbuild.grub2",
"options": {
"root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
"kernel_opts": "ro biosdevname=0 net.ifnames=0",
"legacy": true
}
},
{
"name": "org.osbuild.selinux",
"options": {
@ -5447,10 +5439,6 @@
}
},
"image-info": {
"boot-environment": {
"GRUB2_ROOT_FS_UUID": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
"kernelopts": "root=UUID=76a22bf4-f153-4541-b6c7-0332c0dfaeac ro biosdevname=0 net.ifnames=0"
},
"bootloader": "unknown",
"bootmenu": [
{

View file

@ -770,14 +770,6 @@
}
}
},
{
"name": "org.osbuild.grub2",
"options": {
"root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
"kernel_opts": "ro biosdevname=0 net.ifnames=0",
"legacy": true
}
},
{
"name": "org.osbuild.selinux",
"options": {

View file

@ -882,14 +882,6 @@
}
}
},
{
"name": "org.osbuild.grub2",
"options": {
"root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
"kernel_opts": "ro biosdevname=0 net.ifnames=0",
"legacy": true
}
},
{
"name": "org.osbuild.selinux",
"options": {
@ -6142,10 +6134,6 @@
}
},
"image-info": {
"boot-environment": {
"GRUB2_ROOT_FS_UUID": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
"kernelopts": "root=UUID=76a22bf4-f153-4541-b6c7-0332c0dfaeac ro biosdevname=0 net.ifnames=0"
},
"bootloader": "unknown",
"bootmenu": [],
"firewall-enabled": [

View file

@ -882,14 +882,6 @@
}
}
},
{
"name": "org.osbuild.grub2",
"options": {
"root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
"kernel_opts": "ro biosdevname=0 net.ifnames=0",
"legacy": true
}
},
{
"name": "org.osbuild.selinux",
"options": {