summaryrefslogtreecommitdiff
path: root/recipes-support
diff options
context:
space:
mode:
authorMing Liu <ming.liu@toradex.com>2020-06-12 13:33:24 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-06-17 19:06:21 +0200
commit718ef63bb2deded4ea9f118c9f01265b9809eea5 (patch)
treeaaab642d1fd9ca525cc51defded3c0457e05f218 /recipes-support
parent0a5c49717782cba8c015d69dcfb5918ac0adcead (diff)
libusbgx: fix a packaging issue and some cleaning up
It's ${PN}-examples rather than ${PN} should be set in SYSTEMD_PACKAGES. Also do some cleaning up: - Drop deprecated NATIVE_SYSTEMD_SUPPORT. - Drop ${systemd_unitdir}/system/usbg.service from FILES. Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 3966043524aa76454c96903af5e9f73f4cf750e3)
Diffstat (limited to 'recipes-support')
-rw-r--r--recipes-support/libusbgx/libusbgx_git.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/recipes-support/libusbgx/libusbgx_git.bb b/recipes-support/libusbgx/libusbgx_git.bb
index 2cd9e21..6449f9c 100644
--- a/recipes-support/libusbgx/libusbgx_git.bb
+++ b/recipes-support/libusbgx/libusbgx_git.bb
@@ -36,9 +36,8 @@ do_install_append () {
install -m 0644 ${WORKDIR}/g1.schema ${D}${sysconfdir}/usbg/g1.schema
}
-NATIVE_SYSTEMD_SUPPORT = "1"
-SYSTEMD_PACKAGES = "${PN}"
-SYSTEMD_SERVICE_${PN} = "usbg.service"
+SYSTEMD_PACKAGES = "${PN}-examples"
+SYSTEMD_SERVICE_${PN}-examples = "usbg.service"
PACKAGES =+ "${PN}-examples"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -47,6 +46,5 @@ FILES_${PN}-examples = " \
${bindir}/gadget-* \
${bindir}/show-gadgets \
${bindir}/show-udcs \
- ${systemd_unitdir}/system/usbg.service \
${sysconfdir}/usbg/g1.schema \
"