platforms: syslinux 5 support
This commit is contained in:
parent
aef1e3b039
commit
bee13b60b1
@ -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/vesamenu.c32 $MOUNTDIR2/boot/
|
cp $MOUNTDIR/usr/share/syslinux/{libcom32,libutil,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/vesamenu.c32 $MOUNTDIR2/boot/
|
cp $MOUNTDIR/usr/share/syslinux/{libcom32,libutil,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 ] &&
|
||||||
|
@ -62,7 +62,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/vesamenu.c32 $MOUNTDIR2/boot/isolinux/
|
cp $MOUNTDIR/usr/share/syslinux/{libcom32,libutil,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 ||
|
||||||
|
@ -60,7 +60,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/vesamenu.c32 $MOUNTDIR2/boot/isolinux/
|
cp $MOUNTDIR/usr/share/syslinux/{libcom32,libutil,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 ||
|
||||||
|
@ -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/vesamenu.c32 $MOUNTDIR2/boot/isolinux/
|
cp $MOUNTDIR/usr/share/syslinux/{libcom32,libutil,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/vesamenu.c32 $MOUNTDIR2/boot/isolinux/
|
cp $MOUNTDIR/usr/share/syslinux/{libcom32,libutil,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/vesamenu.c32 $MOUNTDIR2/boot/isolinux/
|
cp $MOUNTDIR/usr/share/syslinux/{libcom32,libutil,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/vesamenu.c32 $MOUNTDIR2/boot/isolinux/
|
cp $MOUNTDIR/usr/share/syslinux/{libcom32,libutil,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