diff options
author | Jonathan Liu <net147@gmail.com> | 2013-09-05 05:29:55 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-09-10 22:42:46 +0200 |
commit | 52c3377b19f63a9ebb516df03630f753c65c2f8e (patch) | |
tree | 276c2d98780f4b1b9b134fb3c8352e29884bd172 /meta-oe/recipes-benchmark/lmbench | |
parent | 84443914db568e5f837a4e31e0f8e1ac7b389ce1 (diff) | |
download | meta-openembedded-52c3377b19f63a9ebb516df03630f753c65c2f8e.tar.gz |
lmbench: 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-oe/recipes-benchmark/lmbench')
-rw-r--r-- | meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb index d42d62c900..fb8cf4f041 100644 --- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | |||
@@ -64,7 +64,7 @@ do_install () { | |||
64 | pkg_postinst_${PN} () { | 64 | pkg_postinst_${PN} () { |
65 | if [ -z "$D" ]; then | 65 | if [ -z "$D" ]; then |
66 | if command -v systemd-tmpfiles >/dev/null; then | 66 | if command -v systemd-tmpfiles >/dev/null; then |
67 | systemd-tmpfiles --create | 67 | systemd-tmpfiles --create ${sysconfdir}/tmpfiles.d/lmbench.conf |
68 | elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then | 68 | elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then |
69 | ${sysconfdir}/init.d/populate-volatile.sh update | 69 | ${sysconfdir}/init.d/populate-volatile.sh update |
70 | fi | 70 | fi |