diff options
-rw-r--r-- | 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 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() { |