kexec-boot patch so that xen can be booted from bootdir and referred xen.gz and not internal flash xen.gz

This commit is contained in:
Thierry Laurion 2018-03-06 20:57:52 -05:00 committed by Trammell hudson
parent d9808f6659
commit 31dd1f4b62
No known key found for this signature in database
GPG Key ID: 687A5005935B1533

View File

@ -68,7 +68,7 @@ do
if [ "$key" = "kernel" ]; then
if [ "$kexectype" = "xen" ]; then
# always overload xen and with custom arguments
kexeccmd="$kexeccmd -l /bin/xen.gz"
kexeccmd="$kexeccmd -l $bootdir$firstval"
kexeccmd="$kexeccmd --command-line \"no-real-mode reboot=no vga=current\""
elif [ "$kexectype" = "multiboot" ]; then
fix_file_path