sysprof: Correct systemdunitdir location

package sysprof3.service as well

Fix
ERROR: sysprof-3.34.1-r0 do_package: SYSTEMD_SERVICE_sysprof value sysprof2.service does not exist

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2020-01-15 23:11:30 -08:00
parent 77e647912e
commit 881da06044

View File

@ -22,12 +22,12 @@ PACKAGECONFIG[sysprofd] = "-Dwith_sysprofd=bundled,-Dwith_sysprofd=none,polkit"
PACKAGECONFIG[libsysprof] = "-Dlibsysprof=true,-Dlibsysprof=false,polkit"
# Enablig this requries yelp
EXTRA_OEMESON += "-Dhelp=false -Dsystemdunitdir=${systemd_unitdir}"
EXTRA_OEMESON += "-Dhelp=false -Dsystemdunitdir=${systemd_unitdir}/system"
SOLIBS = ".so"
FILES_SOLIBSDEV = ""
SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'sysprofd', 'sysprof2.service', '', d)}"
SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'sysprofd', 'sysprof2.service sysprof3.service', '', d)}"
FILES_${PN} += " \
${datadir}/dbus-1/system-services \