[syslinux-iso] make archiso-pxe-server compatible with archiso2dual scheme
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
7483cffb30
commit
6660e0fc41
1 changed files with 8 additions and 3 deletions
|
@ -32,10 +32,15 @@ usage()
|
|||
copy_files()
|
||||
{
|
||||
if [ ! -d $TFTPBOOT ]; then
|
||||
mkdir -p $TFTPBOOT/boot
|
||||
mkdir -p $TFTPBOOT/boot/i686
|
||||
mkdir -p $TFTPBOOT/boot/x86_64
|
||||
mkdir -p $TFTPBOOT/pxelinux.cfg
|
||||
cp $BOOT/vmlinuz26 $TFTPBOOT/boot
|
||||
cp $BOOT/archiso.img $TFTPBOOT/boot
|
||||
[ -f $BOOT/vmlinuz26 ] && cp $BOOT/vmlinuz26 $TFTPBOOT/boot
|
||||
[ -f $BOOT/archiso.img ] && cp $BOOT/archiso.img $TFTPBOOT/boot
|
||||
[ -f $BOOT/i686/vmlinuz26 ] && cp $BOOT/i686/vmlinuz26 $TFTPBOOT/boot/i686
|
||||
[ -f $BOOT/i686/archiso.img ] && cp $BOOT/i686/archiso.img $TFTPBOOT/boot/i686
|
||||
[ -f $BOOT/x86_64/vmlinuz26 ] && cp $BOOT/x86_64/vmlinuz26 $TFTPBOOT/boot/x86_64
|
||||
[ -f $BOOT/x86_64/archiso.img ] && cp $BOOT/x86_64/archiso.img $TFTPBOOT/boot/x86_64
|
||||
cp $BOOT/memtest $TFTPBOOT/boot
|
||||
cp $BOOT/x86test $TFTPBOOT/boot
|
||||
cp $BOOT/splash.png $TFTPBOOT/boot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue