summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>2013-01-28 20:24:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-01 15:54:29 +0000
commitb5392a43eee001d2c850a77b2183f7a370d5251c (patch)
tree3055cdf7aa3e655543460ccb96f1c76e2ebd49ab /meta/recipes-core
parent8b8caef6295e657f3ddf4dd27cc307bee92444ea (diff)
downloadpoky-b5392a43eee001d2c850a77b2183f7a370d5251c.tar.gz
systemd: honor ROOT_HOME
Use ${ROOT_HOME} which was added in commit a78cd0b3a69b829327cea035321051ab11cba70f. (From OE-Core rev: b783b0fe2ac7d6733eaaa4ba9f078ed67d0de944) (From OE-Core rev: 6ad2b3e18358a075b5a93edc2e620ac0ce9a15c8) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/systemd/systemd_197.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-core/systemd/systemd_197.bb b/meta/recipes-core/systemd/systemd_197.bb
index 500c3ec68a..a1d9a09b0c 100644
--- a/meta/recipes-core/systemd/systemd_197.bb
+++ b/meta/recipes-core/systemd/systemd_197.bb
@@ -73,8 +73,7 @@ EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname "
73do_configure_prepend() { 73do_configure_prepend() {
74 export CPP="${HOST_PREFIX}cpp ${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}" 74 export CPP="${HOST_PREFIX}cpp ${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}"
75 75
76 # we only have /home/root, not /root 76 sed -i -e 's:=/root:=${ROOT_HOME}:g' units/*.service*
77 sed -i -e 's:=/root:=/home/root:g' units/*.service*
78} 77}
79 78
80do_install() { 79do_install() {