From db28e95f962d65f6d25034a9b336b9dd9b7559f6 Mon Sep 17 00:00:00 2001 From: alberand Date: Sun, 28 Feb 2021 20:55:54 +0100 Subject: [PATCH] tftpd: Add call to grub-mknetdir --- novaboot | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/novaboot b/novaboot index 7e0bcb6..3403bfd 100755 --- a/novaboot +++ b/novaboot @@ -1161,6 +1161,10 @@ host server { if (defined $dhcp_tftp || defined $tftp) { $tftp_port ||= 69; + + # Prepare a GRUB netboot directory + system_verbose("grub-mknetdir --net-directory=$builddir") if (defined $grub2_config); + # Generate TFTP mapfile open(my $fh, '>', "$builddir/mapfile"); print $fh "# Some PXE clients (mainly UEFI) have bug. They add zero byte to the end of the -- 2.39.2