Enrico Scholz | 28 Jan 20:24 2013
Picon

[PATCH] systemd: honor ROOT_HOME

Use ${ROOT_HOME} which was added in commit
a78cd0b3a69b829327cea035321051ab11cba70f.

Signed-off-by: Enrico Scholz <enrico.scholz@...>
---
 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
 <at>  <at>  -73,8 +73,7  <at>  <at>  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() {
--

-- 
1.7.11.7
Burton, Ross | 28 Jan 20:30 2013
Picon

Re: [PATCH] systemd: honor ROOT_HOME

On 28 January 2013 19:24, Enrico Scholz
<enrico.scholz@...> wrote:
> Use ${ROOT_HOME} which was added in commit
> a78cd0b3a69b829327cea035321051ab11cba70f.
>
> Signed-off-by: Enrico Scholz <enrico.scholz@...>

Acked-by: Ross Burton <ross.burton@...>

Ross

Gmane