teelime
teeli****@users*****
2006年 3月 10日 (金) 02:59:59 JST
Index: dlkit2/sv.setup diff -u dlkit2/sv.setup:1.15 dlkit2/sv.setup:1.16 --- dlkit2/sv.setup:1.15 Thu Mar 9 03:51:54 2006 +++ dlkit2/sv.setup Fri Mar 10 02:59:59 2006 @@ -326,12 +326,12 @@ echon "Preparing TFTP..." echon " pxegrub" - mkdir -p /tftpboot/boot - rm -rf /tftpboot/boot/grub - cp -rp $SV_DVDDIR/boot/grub /tftpboot/boot + mkdir -p $SV_PXEBOOTDIR + rm -rf $SV_PXEBOOTDIR/grub + cp -rp $SV_DVDDIR/boot/grub $SV_PXEBOOTDIR echon " multiboot" - cp $SV_DVDDIR/boot/multiboot /tftpboot/boot + cp $SV_DVDDIR/boot/multiboot $SV_PXEBOOTDIR echon " menu.lst" @@ -370,8 +370,8 @@ echo "get /boot/multiboot .v.multiboot" | $tftp $SV_NAME > /dev/null 2>&1 warn_tftp=false - diff .v.pxegrub /tftpboot/boot/grub/pxegrub > /dev/null 2>&1 || warn_tftp=true - diff .v.multiboot /tftpboot/boot/multiboot > /dev/null 2>&1 || warn_tftp=true + diff .v.pxegrub $SV_PXEBOOTDIR/grub/pxegrub > /dev/null 2>&1 || warn_tftp=true + diff .v.multiboot $SV_PXEBOOTDIR/multiboot > /dev/null 2>&1 || warn_tftp=true if $warn_tftp; then echo "failed" @@ -751,7 +751,8 @@ check_install_type $use_instroot && create_mininfsroot prepare_base_dirs -$use_fin_root && enumerate_packages +[ $INSTALL_TYPE = diskless ] && enumerate_packages +[ $INSTALL_TYPE = offline ] && enumerate_packages $use_fin_root && make_swap_file check_nfs_export prepare_tftpboot