From patchwork Mon Jan 28 19:24:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: systemd: honor ROOT_HOME Date: Mon, 28 Jan 2013 19:24:38 -0000 From: Enrico Scholz X-Patchwork-Id: 43565 Message-Id: <1359401078-13599-1-git-send-email-enrico.scholz@sigma-chemnitz.de> To: openembedded-core@lists.openembedded.org Cc: Enrico Scholz Use ${ROOT_HOME} which was added in commit a78cd0b3a69b829327cea035321051ab11cba70f. Signed-off-by: Enrico Scholz Acked-by: Ross Burton --- meta/recipes-core/systemd/systemd_197.bb | 3 +-- 1 file changed, 1 insertion(+), 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() {