File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash -e
2+
3+ sudo zypper -n install cross-aarch64-gcc11 xz-devel
4+
5+ test -d ipxe || git clone https://github.com/ipxe/ipxe.git
6+ pushd ipxe/src
7+
8+ # this would compile the ipxe version using its internal driver implementations
9+ # make -j3 EMBED=../../boot.ipxe bin/ipxe.pxe bin-x86_64-efi/ipxe.efi
10+ # make -j3 EMBED=../../boot.ipxe CROSS=aarch64-suse-linux- bin-arm64-efi/ipxe.efi
11+
12+ # undionly / snponly uses the network driver of the PXE / UEFI stack
13+ make -j3 EMBED=../../boot.ipxe bin/undionly.kpxe bin-x86_64-efi/snponly.efi
14+ make -j3 EMBED=../../boot.ipxe CROSS=aarch64-suse-linux- bin-arm64-efi/snponly.efi
15+
16+ sudo mv -v bin/undionly.kpxe /srv/tftpboot/ipxe/ipxe.pxe
17+ sudo mv -v bin-x86_64-efi/snponly.efi /srv/tftpboot/ipxe/ipxe.efi
18+ sudo mv -v bin-arm64-efi/snponly.efi /srv/tftpboot/ipxe/ipxe-arm64.efi
19+ popd
You can’t perform that action at this time.
0 commit comments