All the blivet custom tests are failing because anaconda is
warning about /boot being too small. Let's bump the sizes to
something more modern. 2G is the current /boot/efi default, 1G
is the floor to avoid the warning for /boot it seems like.
For software RAID we have to go 1 higher than the size we really
want as it seems like some kinda RAID overhead means we get a
partition 1 MiB smaller than we requested:
https://bugzilla.redhat.com/show_bug.cgi?id=2419063
Signed-off-by: Adam Williamson <awilliam@redhat.com>
From anaconda-37.12.1, anaconda defaults to GPT for all BIOS
installs. So we need to create a BIOS boot partition when doing
a BIOS install. I think all other potential configs (x86_64
UEFI, aarch64 (UEFI), ppc64le (OFW)) are covered under the other
two paths, so just making this `else` should be OK.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
There's some cheating/sloppiness going on here, with the same tag
and sometimes same needle being used to match "LVM2 Volume Group"
and "LVM2 Logical Volume". Today this caused us to pick the thin
pool entry instead in a test, so let's just clean this up and do
it right, with separate needles for matching each thing.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This PR adds a test that uses the Blivet interface to create an LVM
layout with ext4 filesystem as well as a postinstall test that checks
that the LVM layout has been created correctly.