I tested the BitTorrent transport in trunk - it works after
a bit of tweaking.
I need to apply the following patch
otherwise bittorrent-console will complain about not being able to find
libdl.so.2:
Index: initrd_source/skel/etc/init.d/functions
===================================================================
--- initrd_source/skel/etc/init.d/functions (revision 3528)
+++ initrd_source/skel/etc/init.d/functions (working copy)
@@ -19,6 +19,7 @@
# Variables
#
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/tmp
+LD_LIBRARY_PATH=/lib
SCRIPTS=scripts
SCRIPTS_DIR=/scripts
TORRENTS=torrents
Index: initrd_source/skel/etc/init.d/functions
===================================================================
--- initrd_source/skel/etc/init.d/functions (revision 3528)
+++ initrd_source/skel/etc/init.d/functions (working copy)
@@ -19,6 +19,7 @@
# Variables
#
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/tmp
+LD_LIBRARY_PATH=/lib
SCRIPTS=scripts
SCRIPTS_DIR=/scripts
TORRENTS=torrents
Andrea, if it looks ok to you, then
I'll commit it.
We need to modify si_installbtimage a
bit, so that you can stop or restart the seeder. Right now if you run it
with --quiet, there is no easy way to stop it (unless you kill the process
manually).
Reporting to si_monitor seems a bit
off. si_monitortk reports that the node is "done" but in actual fact only
file transfer has completed but it still needs to extract the image (which may
take some time depending on what kind of hardware you have). Perhaps we
need to add an intermediate state for si_monitor after all file transfers are
completed but before the node is rebooted.
I may have more feedback after I've
done more testing with multiple nodes.
Cheers,
Bernard