summaryrefslogtreecommitdiffstats
path: root/meta-webserver
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-09-05 05:30:16 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-09-10 22:42:46 +0200
commit4dc8ba955ff88505ca2fc5ad27889fa3870db417 (patch)
treee13d39354d2446fe4b45cf096e65407ce31f1382 /meta-webserver
parent52c3377b19f63a9ebb516df03630f753c65c2f8e (diff)
downloadmeta-openembedded-4dc8ba955ff88505ca2fc5ad27889fa3870db417.tar.gz
nostromo: specify configuration for systemd-tmpfiles --update
Running systemd-tmpfiles --update without specifying a configuration file results in all tmpfiles.d configuration files being processed. /usr/lib/tmpfiles.d/systemd.conf creates /run/nologin on boot to prevent non-root users from logging in while the system is booting. If systemd-tmpfiles --update is run after the system has started, it will still create /run/nologin which would prevent non-root users from logging in with the message "System is booting up.". Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver')
-rw-r--r--meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
index 3aaa5c2d4..fe860ec9a 100644
--- a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
+++ b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
@@ -61,7 +61,7 @@ CONFFILES_${PN} += "/var/nostromo/conf/mimes ${sysconfdir}/nhttpd.conf"
61pkg_postinst_${PN} () { 61pkg_postinst_${PN} () {
62 if [ -z "$D" ]; then 62 if [ -z "$D" ]; then
63 if [ -e /sys/fs/cgroup/systemd ]; then 63 if [ -e /sys/fs/cgroup/systemd ]; then
64 systemd-tmpfiles --create 64 systemd-tmpfiles --create ${sysconfdir}/tmpfiles.d/nostromo.conf
65 elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then 65 elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then
66 ${sysconfdir}/init.d/populate-volatile.sh update 66 ${sysconfdir}/init.d/populate-volatile.sh update
67 fi 67 fi