diff options
-rw-r--r-- | meta/recipes-core/systemd/systemd_208.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_208.bb b/meta/recipes-core/systemd/systemd_208.bb index 219607f18f..1bcedaa28a 100644 --- a/meta/recipes-core/systemd/systemd_208.bb +++ b/meta/recipes-core/systemd/systemd_208.bb | |||
@@ -89,6 +89,11 @@ EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname " | |||
89 | do_configure_prepend() { | 89 | do_configure_prepend() { |
90 | export CPP="${HOST_PREFIX}cpp ${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}" | 90 | export CPP="${HOST_PREFIX}cpp ${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}" |
91 | export KMOD="${base_bindir}/kmod" | 91 | export KMOD="${base_bindir}/kmod" |
92 | if [ -d ${S}/units.pre_sed ] ; then | ||
93 | cp -r ${S}/units.pre_sed ${S}/units | ||
94 | else | ||
95 | cp -r ${S}/units ${S}/units.pre_sed | ||
96 | fi | ||
92 | sed -i -e 's:=/root:=${ROOT_HOME}:g' ${S}/units/*.service* | 97 | sed -i -e 's:=/root:=${ROOT_HOME}:g' ${S}/units/*.service* |
93 | } | 98 | } |
94 | 99 | ||