Don't install modules no longer provided by currently used syslinux
This commit is contained in:
parent
5796d137c2
commit
3230b080e5
@ -55,7 +55,7 @@ mv $MOUNTDIR/boot/memtest.bin $MOUNTDIR/boot/memtest
|
|||||||
cp -a --no-preserve=ownership $MOUNTDIR/boot $MOUNTDIR2
|
cp -a --no-preserve=ownership $MOUNTDIR/boot $MOUNTDIR2
|
||||||
|
|
||||||
# copy syslinux addons to final root /boot dir
|
# copy syslinux addons to final root /boot dir
|
||||||
cp $MOUNTDIR/usr/share/syslinux/{libcom32,libutil,vesamenu}.c32 $MOUNTDIR2/boot/
|
cp $MOUNTDIR/usr/share/syslinux/vesamenu.c32 $MOUNTDIR2/boot/
|
||||||
|
|
||||||
# copy static files for specific platform
|
# copy static files for specific platform
|
||||||
[ -e $TARGETDIR/platforms/$PLATFORM/root ] &&
|
[ -e $TARGETDIR/platforms/$PLATFORM/root ] &&
|
||||||
|
@ -79,7 +79,7 @@ mv $MOUNTDIR/boot/memtest.bin $MOUNTDIR/boot/memtest
|
|||||||
cp -a --no-preserve=ownership $MOUNTDIR/boot $MOUNTDIR2
|
cp -a --no-preserve=ownership $MOUNTDIR/boot $MOUNTDIR2
|
||||||
|
|
||||||
# copy syslinux addons to final root /boot dir
|
# copy syslinux addons to final root /boot dir
|
||||||
cp $MOUNTDIR/usr/share/syslinux/{libcom32,libutil,vesamenu}.c32 $MOUNTDIR2/boot/
|
cp $MOUNTDIR/usr/share/syslinux/vesamenu.c32 $MOUNTDIR2/boot/
|
||||||
|
|
||||||
# copy static files for specific platform
|
# copy static files for specific platform
|
||||||
[ -e $TARGETDIR/platforms/$PLATFORM/root ] &&
|
[ -e $TARGETDIR/platforms/$PLATFORM/root ] &&
|
||||||
|
@ -64,7 +64,7 @@ _EOF
|
|||||||
exit 1; }
|
exit 1; }
|
||||||
|
|
||||||
# copy syslinux addons to final root /boot dir
|
# copy syslinux addons to final root /boot dir
|
||||||
cp $MOUNTDIR/usr/share/syslinux/{ldlinux,libcom32,libutil,vesamenu}.c32 $MOUNTDIR2/boot/isolinux/
|
cp $MOUNTDIR/usr/share/syslinux/vesamenu.c32 $MOUNTDIR2/boot/isolinux/
|
||||||
|
|
||||||
# install memtest
|
# install memtest
|
||||||
[ -e $MOUNTDIR/boot/memtest.bin ] && cp $MOUNTDIR/boot/memtest.bin $MOUNTDIR2/boot/isolinux/memtest ||
|
[ -e $MOUNTDIR/boot/memtest.bin ] && cp $MOUNTDIR/boot/memtest.bin $MOUNTDIR2/boot/isolinux/memtest ||
|
||||||
|
@ -103,7 +103,7 @@ _EOF
|
|||||||
exit 1; }
|
exit 1; }
|
||||||
|
|
||||||
# copy syslinux addons to final root /boot dir
|
# copy syslinux addons to final root /boot dir
|
||||||
cp $MOUNTDIR/usr/share/syslinux/{ldlinux,libcom32,libutil,vesamenu}.c32 $MOUNTDIR2/boot/isolinux/
|
cp $MOUNTDIR/usr/share/syslinux/vesamenu.c32 $MOUNTDIR2/boot/isolinux/
|
||||||
|
|
||||||
# install memtest
|
# install memtest
|
||||||
[ -e $MOUNTDIR/boot/memtest.bin ] && cp $MOUNTDIR/boot/memtest.bin $MOUNTDIR2/boot/isolinux/memtest ||
|
[ -e $MOUNTDIR/boot/memtest.bin ] && cp $MOUNTDIR/boot/memtest.bin $MOUNTDIR2/boot/isolinux/memtest ||
|
||||||
|
Loading…
Reference in New Issue
Block a user