summaryrefslogtreecommitdiffstats
path: root/remote/tools/systemd/systemd.build
diff options
context:
space:
mode:
authorJonathan Bauer2013-01-14 14:30:24 +0100
committerJonathan Bauer2013-01-14 14:30:24 +0100
commite41f215770c7f5d8ee9d420e9f8b22f1c7f7c5ca (patch)
tree4cb484422556d5ee9885c0f7ef9ea8d5377649fb /remote/tools/systemd/systemd.build
parentold file deleted (diff)
downloadtm-scripts-e41f215770c7f5d8ee9d420e9f8b22f1c7f7c5ca.tar.gz
tm-scripts-e41f215770c7f5d8ee9d420e9f8b22f1c7f7c5ca.tar.xz
tm-scripts-e41f215770c7f5d8ee9d420e9f8b22f1c7f7c5ca.zip
[systemd] update to version 197, integrated udev.
Diffstat (limited to 'remote/tools/systemd/systemd.build')
-rw-r--r--remote/tools/systemd/systemd.build11
1 files changed, 3 insertions, 8 deletions
diff --git a/remote/tools/systemd/systemd.build b/remote/tools/systemd/systemd.build
index 14cef7e1..c77033ac 100644
--- a/remote/tools/systemd/systemd.build
+++ b/remote/tools/systemd/systemd.build
@@ -26,7 +26,7 @@ build () {
if [ ! -e .built ]; then
cd src/$VERSION
./configure --disable-manpages
- make
+ make -j5
[ ! -d $TOOL_DIR/$TOOL/build ] && mkdir -p $TOOL_DIR/$TOOL/build
DESTDIR=$TOOL_DIR/$TOOL/build make install
cd -
@@ -35,14 +35,9 @@ build () {
}
post_copy() {
- # debug shell on tty9
- [ ! -d $INIT_DIR/etc/systemd/system/sysinit.target.wants ] && mkdir -p $INIT_DIR/etc/systemd/system/sysinit.target.wants
- cp $TOOL_DIR/$TOOL/data/debug-shell.service $INIT_DIR/etc/systemd/system
- ln -s ../debug-shell.service $INIT_DIR/etc/systemd/system/sysinit.target.wants
+ # copy static data files
+ cp -r $TOOL_DIR/$TOOL/data/* $INIT_DIR
# dont clear systemd log at startup
sed -i.bak "s/TTYVTDisallocate=yes/TTYVTDisallocate=no/g" $INIT_DIR/usr/lib/systemd/system/getty@.service
-
- # copy custom network@.service
- cp $TOOL_DIR/$TOOL/data/network@.service $INIT_DIR/etc/systemd/system
}