+if [ "x$machine" != xaarch64 ]; then
- multiboot_cmd="multiboot"
- module_linux_cmd="module"
- module_initrd_cmd="module --nounzip"
+else
- multiboot_cmd="xen_hypervisor"
- module_linux_cmd="xen_linux"
- module_initrd_cmd="xen_initrd"
+fi
Please do not hardcode an assumption that grub-mkconfig is executed on the same machine as GRUB is booted. I know that we have instances of such assumption in some cases but we'd like to eliminate them. Alternatives: - Check arch on boot time - Check that new xen commands are supported (define a new feature) Please add xen_* aliases on x86 as well