1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-12-20 15:36:00 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Adam Williamson
08b22ff7f9 blivet custom: bump /boot and /boot/efi sizes
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>
2025-12-04 17:21:45 -08:00
Adam Williamson
f7a8550258 Create biosboot partitions in blivet tests
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>
2022-08-16 15:39:38 -04:00
Adam Williamson
1a65993d36 Add a perltidy check and apply it to the entire codebase
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-28 14:38:38 -07:00
Adam Williamson
232b224d22 Add 'with swap' tests, drop swap parts from other tests (#180)
In Fedora 33, we generally no longer include a disk-based swap
partition by default (instead swap-on-ZRAM is used, see
https://fedoraproject.org/wiki/Changes/SwapOnZRAM ). This tweaks
our tests to account for that. In tests that aren't to do with
swap at all, we stop including a swap partition in order to be
closer to the default layout. We replace the old _no_swap blivet
and custom tests with _with_swap tests that, as the name implies,
*explicitly include* a swap partition, and adjust the postinstall
test to check the disk swap partition is there.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-08-11 15:09:33 -07:00