systemd: Use ${ROOT_HOME} instead of /root
authorDan McGregor <dan.mcgregor@usask.ca>
Wed, 3 Sep 2014 19:49:28 +0000 (13:49 -0600)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 17:18:36 +0000 (09:18 -0800)
commit7294984cf641c0e4373984d6135e5686bb74e8dd
treebdbd61b267eda15be1a844d7208ea52379773bf1
parent45d8e0389e95812c174cc5b20f59d36ecf510dd2
systemd: Use ${ROOT_HOME} instead of /root

systemd avoids using nss lookups for the root user, so
naturally it assumes that root's home directory is /root.
In OE that's not the case, and it can lead to long delays when
shutting down due to user shutdown unit failures.

(From OE-Core rev: e0e8a904cd287a23352e5713a93aeab3933e4563)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd/0001-Make-root-s-home-directory-configurable.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd_216.bb