The openmosix user tools now include an autodiscovery daemon, but the daemon is not compiled with the default Makefile. Adding the following to the ebuild in the unpack section prior to the configuration will compile the autodiscovery daemon (omdiscd): cat Makefile | sed s/DIRS.*=/DIRS=autodiscovery/g > Makefile Additionally, the /usr/share/include directory needs to be dodir'd. The attached diff will make both changes. I've tested this, and it works for me.
Created attachment 4456 [details] openmosix-user-0.2.4-r1.diff Here is the diff.
Created attachment 4457 [details] cleaner fix oop, this one takes out the recatting of the Makefile. This should obsolete the first attachment, but alas, I do not have permission to do so.
Thanks a lot for the diff! I just released openmosix-user-0.2.4-r2 including this patch. Please test it and write a bug if anything goes wrong.
Works great! This of course does not do everything needed to use omdiscd, since omdiscd is still alpha code, but it does build it for testing. Adding the following to the end of the src_unpack() function enables omdiscd in non-alpha mode: cd ${S}/autodicsovery cat openmosix.c | grep -v "define ALPHA" > openmosix.c.tmp mv openmosix.c.tmp openmosix.c cat showmap.c | grep -v "define ALPHA" > showmap.c.tmp mv showmap.c.tmp showmap.c
Thanks! Added openmosix-user-0.2.4-r3 which enabled autodiscovery in non-alpha-mode. Please test and report :-) (works fine here)
Created attachment 4747 [details, diff] diff to openmosix-user-0.2.4-r3.ebuild Sometimes (I only saw this on the third system I was installing on) the original line: cat Makefile | sed s/DIRS.*=/DIRS=autodiscovery/g > Makefile would result in a Makefile of zero length. I do not know why, but this works around it... cat Makefile | sed s/DIRS.*=/DIRS=autodiscovery/g > Makefile.tmp mv Makefile.tmp Makefile
the solve you are posting is usually used in every ebuild
Fixed that and released openmosix-user-0.2.4-r4.