diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-03-18 12:54:20 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-03-18 12:55:10 -0300 |
commit | 6660e0fc41fe7a7fa8c47c9c82b2a37f76c65daa (patch) | |
tree | 5d84f86ce5eb2e9cbd459b32a53bf1548c658a14 /configs/syslinux-iso/overlay | |
parent | 7483cffb30bcc1910cfd1ffb14c2ac9ef94ba319 (diff) |
[syslinux-iso] make archiso-pxe-server compatible with archiso2dual scheme
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/syslinux-iso/overlay')
-rwxr-xr-x | configs/syslinux-iso/overlay/arch/archiso-pxe-server | 11 |
1 files changed, 8 insertions, 3 deletions
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 |