genode/tool/run/load/pxe.inc
Adrian-Ken Rueegsegger 9cb71d0260 run: Move shared procedure to load/pxe.inc
The install_pxe_bootloader_to_run_dir procedure is required by the tftp
as well as the ipxe load script. Move it to a separate file which is
include by both.
2018-03-08 12:05:04 +01:00

13 lines
415 B
PHP

##
# Install files needed to boot via PXE
#
proc install_pxe_bootloader_to_run_dir { } {
exec mkdir -p [run_dir]/boot
exec cp [genode_dir]/tool/boot/pulsar [run_dir]/boot/pulsar
exec chmod a+r [run_dir]/boot/pulsar
exec cp [genode_dir]/tool/boot/bender [run_dir]/boot/bender
exec chmod a+r [run_dir]/boot/bender
exec cp [genode_dir]/tool/boot/unzip [run_dir]/boot/unzip
exec chmod a+r [run_dir]/boot/unzip
}