Whitelist not recognized needles in check-needles.py

This commit is contained in:
Lukáš Růžička 2020-05-26 18:05:38 +02:00 committed by Adam Williamson
parent 5f1db40ebe
commit 2a3e67991b
3 changed files with 5 additions and 3 deletions

View File

@ -78,8 +78,10 @@ for user in ("jack", "jim"):
testliterals.append(f"user_confirm_{user}") testliterals.append(f"user_confirm_{user}")
# partitioning stuff, there's a bunch of this, all in anaconda.pm # partitioning stuff, there's a bunch of this, all in anaconda.pm
# multiple things use this # multiple things use this
for part in ("swap", "root"): for part in ("swap", "root", "ext4", "efi", "boot"):
testliterals.append(f"anaconda_part_select_{part}") testliterals.append(f"anaconda_part_select_{part}")
testliterals.append(f"anaconda_blivet_part_select_{part}")
testliterals.append(f"anaconda_blivet_part_inactive_{part}")
# select_disks # select_disks
for num in range(1, 10): for num in range(1, 10):
testliterals.append(f"anaconda_install_destination_select_disk_{num}") testliterals.append(f"anaconda_install_destination_select_disk_{num}")

View File

@ -10,6 +10,6 @@
], ],
"properties": [], "properties": [],
"tags": [ "tags": [
"anaconda_blivet_part_inactive_bootpart" "anaconda_blivet_part_inactive_boot"
] ]
} }

View File

@ -42,7 +42,7 @@ sub run {
} }
# Select the boot partition and reformat it and remount. # Select the boot partition and reformat it and remount.
activate("bootpart"); activate("boot");
# Boot is the only ext4 partition on that scheme, so we will use that to make a needle. # Boot is the only ext4 partition on that scheme, so we will use that to make a needle.
wait_still_screen 5; wait_still_screen 5;
custom_blivet_format_partition(type => 'ext4', label => 'boot', mountpoint => '/boot'); custom_blivet_format_partition(type => 'ext4', label => 'boot', mountpoint => '/boot');