[Marco Menardi]
> I think that the directory should be created when needed, instead of
> the current behaviour where the client build just crash.
I'm not sure how to best handle this, as the directory is part of the
ltsp-server package, and removing a package directory are expected to
have strange effects. But I do intend to at least improve the error
message using this patch.
--- orig/server/ltsp-update-kernels
+++ mod/server/ltsp-update-kernels
@@ -6,6 +6,10 @@
PXECFG=$TFTPBOOT/pxelinux.cfg
test -z "$LTSPROOT" && LTSPROOT=/opt/ltsp
+if [ ! -d $TFTPBOOT ] ; then
+ echo "error: Directory $TFTPBOOT is missing. Unable to continue"
+fi
+
for file in $LTSPROOT/*/boot/vmlinuz* $LTSPROOT/*/boot/initrd.img*; do
cp -a -v "$file" $TFTPBOOT
done
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]