summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-09-05 15:24:39 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-06 23:04:50 +0100
commit9f19820b82fed1b90fd18ad8cb9f97cbb4270785 (patch)
treedad2a8fbb4043d1b7eba410c36fd2f2213d7611e
parent41d1c2d630731ebabe4ba8b805f801be590fb48c (diff)
downloadpoky-9f19820b82fed1b90fd18ad8cb9f97cbb4270785.tar.gz
resolvconf: 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 OE-Core rev: 24f9280c35001ff6c1d5a263fab41ae21a8056f3) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/resolvconf/resolvconf_1.74.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.74.bb b/meta/recipes-connectivity/resolvconf/resolvconf_1.74.bb
index eb1ce8d76f..5897e40489 100644
--- a/meta/recipes-connectivity/resolvconf/resolvconf_1.74.bb
+++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.74.bb
@@ -45,7 +45,7 @@ do_install () {
45pkg_postinst_${PN} () { 45pkg_postinst_${PN} () {
46 if [ -z "$D" ]; then 46 if [ -z "$D" ]; then
47 if command -v systemd-tmpfiles >/dev/null; then 47 if command -v systemd-tmpfiles >/dev/null; then
48 systemd-tmpfiles --create 48 systemd-tmpfiles --create ${sysconfdir}/tmpfiles.d/resolvconf.conf
49 elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then 49 elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then
50 ${sysconfdir}/init.d/populate-volatile.sh update 50 ${sysconfdir}/init.d/populate-volatile.sh update
51 fi 51 fi