Skip to content

Commit c3949f7

Browse files
committed
tmt: Use the boot partition UUID in the separate /var test
The test passed the EFI system partition's UUID as the boot mount spec, while /boot is a separate ext4 partition in its layout. Use the UUID of the boot partition, which is what the installed system needs to mount. This went unnoticed because the test does not boot the result. Generated-by: AI
1 parent eba4990 commit c3949f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tmt/tests/booted/test-install-to-filesystem-var-mount.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ mkfs.ext4 -F /dev/BL/root02
142142

143143
# Get UUIDs for bootc install
144144
ROOT_UUID=$(blkid -s UUID -o value /dev/BL/root02)
145-
BOOT_UUID=$(blkid -s UUID -o value "$EFI_PART")
145+
BOOT_UUID=$(blkid -s UUID -o value "$BOOT_PART")
146146

147147
# Mount the partitions
148148
mkdir -p /var/mnt/target

0 commit comments

Comments
 (0)