Skip to content

Commit

Permalink
skipping EFI on arch ppc64le and s390x
Browse files Browse the repository at this point in the history
EFI does not work for Powerpc and s390x. It reports error when mounting /boot/efi eg:"(mount: /boot/efi: mount point does not exist)"
  • Loading branch information
mrcxavier authored and HuijingHei committed Oct 10, 2023
1 parent b83bff9 commit 1f1a248
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/kola/reboot/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ ok "boot mounted by UUID"
[ -f /boot/.root_uuid ]

# s390x does not have grub, skip this part
if [ "$(arch)" != "s390x" ]; then

if [ "$(arch)" == "ppc64le" ] || [ "$(arch)" == "s390x" ]; then
echo "skipping EFI verification on arch $(arch)"
else
# check for the UUID dropins
[ -f /boot/grub2/bootuuid.cfg ]
mount -o ro /dev/disk/by-label/EFI-SYSTEM /boot/efi
Expand Down

0 comments on commit 1f1a248

Please sign in to comment.