summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-12-19 23:03:36 -0800
committerKhem Raj <raj.khem@gmail.com>2019-12-20 16:07:50 -0800
commitce82124e04ab5130507594409b3494667fe67ed2 (patch)
tree6ea0e11b8dd2448f02dc75a9d25d4749bb55b1c0
parent262a36a076cc2207c2fcc03ce1d758fc6909d29c (diff)
downloadmeta-openembedded-ce82124e04ab5130507594409b3494667fe67ed2.tar.gz
rygel: Use nonarch_libdir for systemd units
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-multimedia/recipes-connectivity/rygel/rygel_0.37.0.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-multimedia/recipes-connectivity/rygel/rygel_0.37.0.bb b/meta-multimedia/recipes-connectivity/rygel/rygel_0.37.0.bb
index 0adc721d8..6ee02fcc0 100644
--- a/meta-multimedia/recipes-connectivity/rygel/rygel_0.37.0.bb
+++ b/meta-multimedia/recipes-connectivity/rygel/rygel_0.37.0.bb
@@ -37,10 +37,12 @@ do_install_append() {
37 # Remove .la files for loadable modules 37 # Remove .la files for loadable modules
38 rm -f ${D}/${libdir}/rygel-${LIBV}/engines/*.la 38 rm -f ${D}/${libdir}/rygel-${LIBV}/engines/*.la
39 rm -f ${D}/${libdir}/rygel-${LIBV}/plugins/*.la 39 rm -f ${D}/${libdir}/rygel-${LIBV}/plugins/*.la
40 if [ -e ${D}${libdir}/systemd/user/rygel.service ]; then 40 if [ -e ${D}${nonarch_libdir}/systemd/user/rygel.service ]; then
41 mkdir -p ${D}${systemd_unitdir}/system 41 mkdir -p ${D}${systemd_unitdir}/system
42 mv ${D}${libdir}/systemd/user/rygel.service ${D}${systemd_unitdir}/system 42 mv ${D}${nonarch_libdir}/systemd/user/rygel.service ${D}${systemd_unitdir}/system
43 rmdir ${D}${libdir}/systemd/user ${D}${libdir}/systemd 43 rmdir --ignore-fail-on-non-empty ${D}${nonarch_libdir}/systemd/user \
44 ${D}${nonarch_libdir}/systemd \
45 ${D}${nonarch_libdir}
44 fi 46 fi
45} 47}
46 48