]> xenbits.xensource.com Git - xen.git/commitdiff
ci: create boot.ipxe for legacy boot
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Mon, 31 Mar 2025 23:41:35 +0000 (01:41 +0200)
committerStefano Stabellini <stefano.stabellini@amd.com>
Wed, 2 Apr 2025 23:53:02 +0000 (16:53 -0700)
Hardware runners that use legacy boot use iPXE instead of grub2. Create
boot.ipxe for those too - with exact same options.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
automation/scripts/qubes-x86-64.sh

index 7c80e0c23318cd8eddab2c64b9814b3374b590b3..f272964459013d2d25ceefa4dbc4fff256ee8980 100755 (executable)
@@ -251,6 +251,14 @@ module2 (http)/gitlab-ci/vmlinuz console=hvc0 root=/dev/ram0 earlyprintk=xen
 module2 (http)/gitlab-ci/initrd-dom0
 " > $TFTP/grub.cfg
 
+echo "#!ipxe
+
+kernel /gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot $extra_xen_opts || reboot
+module /gitlab-ci/vmlinuz console=hvc0 root=/dev/ram0 earlyprintk=xen || reboot
+module /gitlab-ci/initrd-dom0 || reboot
+boot
+" > $TFTP/boot.ipxe
+
 cp -f binaries/xen $TFTP/xen
 cp -f binaries/bzImage $TFTP/vmlinuz
 cp -f binaries/dom0-rootfs.cpio.gz $TFTP/initrd-dom0