Tweak LVM partition scheme needles a bit

In https://openqa.fedoraproject.org/tests/1938847 , we wound up
doing an LVM thinp install when we meant to do a regular LVM
install, because LVM was already highlighted (for some reason)
in the scheme list, and the "LVM" needle is narrow enough that
it matched on the start of "LVM Thin Provisioning".

To avoid this, we make the match area in the existing needle
wider so it can't match on "LVM Thin Provisioning", and add an
alternate needle for LVM when it's highlighted.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-05-16 14:42:23 -07:00
parent c9deb243cd
commit 0e6553f4d1
3 changed files with 34 additions and 16 deletions

View File

@ -0,0 +1,18 @@
{
"area": [
{
"width": 86,
"ypos": 255,
"height": 18,
"type": "match",
"xpos": 66
}
],
"properties": [],
"tags": [
"anaconda_part_scheme_lvm",
"ENV-DISTRI-fedora",
"LANGUAGE-english",
"ENV-FLAVOR-server"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

View File

@ -1,18 +1,18 @@
{
"area": [
{
"xpos": 64,
"ypos": 311,
"width": 33,
"height": 18,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_part_scheme_lvm",
"ENV-DISTRI-fedora",
"LANGUAGE-english",
"ENV-FLAVOR-server"
]
"area": [
{
"height": 18,
"type": "match",
"width": 73,
"xpos": 64,
"ypos": 311
}
],
"properties": [],
"tags": [
"anaconda_part_scheme_lvm",
"ENV-DISTRI-fedora",
"LANGUAGE-english",
"ENV-FLAVOR-server"
]
}