From: Jonathan Liu Date: Thu, 5 Sep 2013 05:29:55 +0000 (+0000) Subject: lmbench: specify configuration for systemd-tmpfiles --update X-Git-Tag: rev_ivi_2015_02_04~2821 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50c8e6dbe8db8d75de367f483ccd67c87b9dd927;p=scm%2Fbb%2Ftizen-distro.git 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.". (From meta-openembedded rev: 52c3377b19f63a9ebb516df03630f753c65c2f8e) Signed-off-by: Jonathan Liu Signed-off-by: Martin Jansa Signed-off-by: Patrick Ohly --- diff --git a/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb b/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb index d42d62c..fb8cf4f 100644 --- a/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +++ b/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb @@ -64,7 +64,7 @@ do_install () { pkg_postinst_${PN} () { if [ -z "$D" ]; then if command -v systemd-tmpfiles >/dev/null; then - systemd-tmpfiles --create + systemd-tmpfiles --create ${sysconfdir}/tmpfiles.d/lmbench.conf elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then ${sysconfdir}/init.d/populate-volatile.sh update fi