[oe-commits] Enrico Scholz : systemd: honor ROOT_HOME
git at git.openembedded.org
git at git.openembedded.org
Thu Jan 31 13:01:30 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: 45c8c2b7344e2000ab76274719168126da2478fe
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=45c8c2b7344e2000ab76274719168126da2478fe
Author: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
Date: Mon Jan 28 20:24:38 2013 +0100
systemd: honor ROOT_HOME
Use ${ROOT_HOME} which was added in commit
a78cd0b3a69b829327cea035321051ab11cba70f.
Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-core/systemd/systemd_197.bb | 3 +--
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 500c3ec..a1d9a09 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() {
More information about the Openembedded-commits
mailing list