From 6660e0fc41fe7a7fa8c47c9c82b2a37f76c65daa Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Thu, 18 Mar 2010 12:54:20 -0300 Subject: [syslinux-iso] make archiso-pxe-server compatible with archiso2dual scheme Signed-off-by: Gerardo Exequiel Pozzi --- configs/syslinux-iso/overlay/arch/archiso-pxe-server | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'configs/syslinux-iso/overlay/arch/archiso-pxe-server') diff --git a/configs/syslinux-iso/overlay/arch/archiso-pxe-server b/configs/syslinux-iso/overlay/arch/archiso-pxe-server index a4f0fd4..8743ad0 100755 --- a/configs/syslinux-iso/overlay/arch/archiso-pxe-server +++ b/configs/syslinux-iso/overlay/arch/archiso-pxe-server @@ -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 -- cgit v1.2.3-70-g09d2