summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2012-12-18 18:22:52 +0100
committerJonathan Bauer2012-12-18 18:22:52 +0100
commitef1bfbc4f9d5a0be9fabbc40f91f76db6b8bbb2a (patch)
tree7e006710568c415e6f213f5e1d02ac6583b9cd97
parentudev: copy systemd specific files from data (diff)
downloadtm-scripts-ef1bfbc4f9d5a0be9fabbc40f91f76db6b8bbb2a.tar.gz
tm-scripts-ef1bfbc4f9d5a0be9fabbc40f91f76db6b8bbb2a.tar.xz
tm-scripts-ef1bfbc4f9d5a0be9fabbc40f91f76db6b8bbb2a.zip
minor
-rw-r--r--.gitignore1
-rw-r--r--remote/tools/systemd/systemd.build5
2 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 09d79f16..8faa9aaf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ src
build
.built
.fetched_source
+list*
diff --git a/remote/tools/systemd/systemd.build b/remote/tools/systemd/systemd.build
index 922b7fcb..c5e7e67a 100644
--- a/remote/tools/systemd/systemd.build
+++ b/remote/tools/systemd/systemd.build
@@ -35,9 +35,10 @@ build () {
}
post_copy() {
+ [ ! -d $INIT_DIR/etc/systemd/system/sysinit.target.wants ] && mkdir -p $INIT_DIR/etc/systemd/system/sysinit.target.wants
#debug shell on tty9
- cp $TOOL_DIR/$TOOL/data/debug-shell.service $INIT_DIR/usr/lib/systemd/system
- ln -s ../debug-shell.service $INIT_DIR/usr/lib/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
# dont clear systemd log at startup
sed -i.bak "s/ExecStart=-\/sbin\/agetty %I 38400/ExecStart=-\/sbin\/agetty --noclear %I 38400/g" \