#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.2.4
-# [S] 4-3
-# [D] openMosixUserland-0.2.4.tgz http://belnet.dl.sourceforge.net/sourceforge/openmosix/
+# [V] cvs
+# [S] 5-10
+# [D] userspace-tools.tar.bz2 cvs:anonymous:cvs.sourceforge.net:cvsroot/openmosix:userspace-tools
+# [D] linux-openmosix-2_6.tar.bz2 cvs:anonymous:cvs.sourceforge.net:cvsroot/openmosix:linux-openmosix-2_6
+
+srcdir="userspace-tools"
+confopt="$confopt --with-kerneldir=/tmp/linux-openmosix-2_6/linux-openmosix-2_6"
-srcdir="openMosixUserland-${ver}"
pre_install() {
- echo "patching configuration file ..."
- sed 's%^OPENMOSIX.*%OPENMOSIX = /usr/src/linux%' configuration > \
- config.new &&
- mv config.new configuration
+ echo "extracting & configuring kernel tree ..."
+ tar --use-compress-program=$compress -xvf \
+ $archdir/linux-openmosix-2_6.tar.bz2 -C /tmp
+ cd /tmp/linux-openmosix-2_6/linux-openmosix-2_6
+ make oldconfig
+ cd -
+ # it's cvs
+ ./autogen.sh
}
-build_main() {
- make
+post_install() {
+ rm -rf /tmp/linux-openmosix-2_6
}