summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
Diffstat (limited to 'remote')
-rw-r--r--remote/tools.conf17
-rw-r--r--remote/tools/systemd/systemd.build27
2 files changed, 14 insertions, 30 deletions
diff --git a/remote/tools.conf b/remote/tools.conf
deleted file mode 100644
index 7fccb297..00000000
--- a/remote/tools.conf
+++ /dev/null
@@ -1,17 +0,0 @@
-default=" base
- busybox
- dbus
- systemd
- kdm"
-
-basic=" base
- busybox
- dbus
- systemd"
-
-lightdm=" base
- busybox
- dbus
- systemd
- ldm
- gtk-greeter"
diff --git a/remote/tools/systemd/systemd.build b/remote/tools/systemd/systemd.build
index 1d5a9a87..5b96666f 100644
--- a/remote/tools/systemd/systemd.build
+++ b/remote/tools/systemd/systemd.build
@@ -1,23 +1,24 @@
#tool/distro specific functions for fetching, building and installing dependencies
fetch_source () {
- [ ! -e .fetched_source ] && download_untar "$URL" "src/"
- touch .fetched_source
+ if [ ! -e .fetched_source ]; then
+ download_untar "$URL" "src/"
+ local LIBKMOD_VERSION="kmod-12"
+ download_untar "http://www.kernel.org/pub/linux/utils/kernel/kmod/${LIBKMOD_VERSION}.tar.gz" "src/"
+ touch .fetched_source
+ fi
}
build () {
if [ ! -e .built ]; then
- local libkmodversion=kmod-12
- if [ ! -d $libkmodversion ]; then
- wget http://www.kernel.org/pub/linux/utils/kernel/kmod/${libkmodversion}.tar.gz
- tar xf $libkmodversion.tar.gz
- rm ${libkmodversion}.tar.gz
- cd $libkmodversion
- ./configure
- make -j5
- make install
- cd -
- fi
+ #build libkmod
+ cd "src/$LIBKMOD_VERSION/"
+ ./configure
+ make -j5
+ make install
+ cd -
+
+ #build systemd
cd "src/$VERSION/"
pinfo "calling configure"
./configure --disable-manpages --enable-split-usr --sysconfdir="/etc" --enable-gtk-doc-html=no || perror "configure failed."