arch: skip grub.cfg
Set grub.cfg only for ppc64le (using anaconda)
@@ -41,7 +41,8 @@ coreos_gf_run_mount "${tmp_dest}"
# * grub config
# * BLS config (for subsequent config regeneration)
# First, the grub config.
-if [ "$arch" != "x86_64" ]; then
+# Set grub.cfg in case the arch uses anaconda
+if [ "$arch" == "ppc64le" ]; then
if [ "$(coreos_gf exists '/boot/efi')" == 'true' ]; then
grubcfg_path=$(coreos_gf glob-expand /boot/efi/EFI/*/grub.cfg)
else
