summaryrefslogtreecommitdiff
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:51:31 +0000
commit6ad2b3e18358a075b5a93edc2e620ac0ce9a15c8 (patch)
treee783be2139086b1c02d47e109e02943918211aa6
parent6fac31c7930e228efe5fed978964885e37a4da80 (diff)
downloadopenembedded-core-6ad2b3e18358a075b5a93edc2e620ac0ce9a15c8.tar.gz
openembedded-core-6ad2b3e18358a075b5a93edc2e620ac0ce9a15c8.tar.bz2
openembedded-core-6ad2b3e18358a075b5a93edc2e620ac0ce9a15c8.zip
systemd: honor ROOT_HOME
Use ${ROOT_HOME} which was added in commit a78cd0b3a69b829327cea035321051ab11cba70f. (From OE-Core rev: b783b0fe2ac7d6733eaaa4ba9f078ed67d0de944) 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>
-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 "
do_configure_prepend() {
export CPP="${HOST_PREFIX}cpp ${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}"
- # we only have /home/root, not /root
- sed -i -e 's:=/root:=/home/root:g' units/*.service*
+ sed -i -e 's:=/root:=${ROOT_HOME}:g' units/*.service*
}
do_install() {