Update the grub build script

This commit is contained in:
longpanda
2026-10-22 08:57:28 +08:00
parent 472c4987b5
commit c16806c6af
+3 -1
View File
@@ -123,7 +123,9 @@ else
rm -f $VT_DIR/GRUB2/NBP/core.0
cp -a $VT_DIR/GRUB2/PXE/grub2/i386-pc/core.0 $VT_DIR/GRUB2/NBP/core.0 || exit 1
rm -f $VT_DIR/INSTALL/grub/i386-pc/boot.img
rm -rf $VT_DIR/INSTALL/grub/i386-pc
mkdir -p $VT_DIR/INSTALL/grub/i386-pc
cp -a $VT_DIR/GRUB2/INSTALL/lib/grub/i386-pc/boot.img $VT_DIR/INSTALL/grub/i386-pc/boot.img || exit 1
#copy other modules