summaryrefslogtreecommitdiffstats
path: root/remote/tools/base
diff options
context:
space:
mode:
authorSimon Rettberg2013-02-20 19:23:17 +0100
committerSimon Rettberg2013-02-20 19:23:17 +0100
commit251736ef43c9f7f0093b65b93c7cb6ccc429b0ef (patch)
tree0f95c3fad2f06cc169e20eb1618bc252dd894da4 /remote/tools/base
parent[base module] clean passwd/group/shadow of host system: remove local users/gr... (diff)
parent:Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-251736ef43c9f7f0093b65b93c7cb6ccc429b0ef.tar.gz
tm-scripts-251736ef43c9f7f0093b65b93c7cb6ccc429b0ef.tar.xz
tm-scripts-251736ef43c9f7f0093b65b93c7cb6ccc429b0ef.zip
Merge branch 'master' of ssh://openslx/openslx-ng/tm-scripts
Diffstat (limited to 'remote/tools/base')
-rw-r--r--remote/tools/base/base.build2
-rw-r--r--remote/tools/base/base.conf1
-rw-r--r--remote/tools/base/data/etc/systemd/system/basic.target.wants/rsyslog.service12
3 files changed, 14 insertions, 1 deletions
diff --git a/remote/tools/base/base.build b/remote/tools/base/base.build
index 38435261..e580e359 100644
--- a/remote/tools/base/base.build
+++ b/remote/tools/base/base.build
@@ -1,5 +1,5 @@
install_dependencies() {
- :
+ apt-get install -y $DEPS
}
fetch_source() {
diff --git a/remote/tools/base/base.conf b/remote/tools/base/base.conf
index cb5ea532..c03579b0 100644
--- a/remote/tools/base/base.conf
+++ b/remote/tools/base/base.conf
@@ -1,3 +1,4 @@
+DEPS="nfs-common aufs-tools squashfs-tools"
REQUIRED_BINARIES=" bash
agetty
cat
diff --git a/remote/tools/base/data/etc/systemd/system/basic.target.wants/rsyslog.service b/remote/tools/base/data/etc/systemd/system/basic.target.wants/rsyslog.service
new file mode 100644
index 00000000..8e253ee1
--- /dev/null
+++ b/remote/tools/base/data/etc/systemd/system/basic.target.wants/rsyslog.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=System Logging Service
+Before=udev.service
+
+[Service]
+ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service
+ExecStart=/usr/sbin/rsyslogd -n -c5
+Sockets=syslog.socket
+StandardOutput=null
+
+[Install]
+WantedBy=multi-user.target