From 76a7310106992b9556f6944a9b86b831f60675ce Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 11 Dec 2019 18:08:10 -0600 Subject: Add a package to remove rs9113 when not needed --- recipes-kernel/rs9113/rs9113.inc | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/recipes-kernel/rs9113/rs9113.inc b/recipes-kernel/rs9113/rs9113.inc index 1eb4629..6f7f5ad 100644 --- a/recipes-kernel/rs9113/rs9113.inc +++ b/recipes-kernel/rs9113/rs9113.inc @@ -7,8 +7,18 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" # util contains the onebox utility for creating the VAP. # noarch contains the init script and configuration for the driver and # the firmware file (firmware/*.rps). +PACKAGES = " \ + ${PN}-utils-extra \ + ${PN}-rm \ + ${PN}-misc \ + kernel-module-${PN} \ + ${PN}-util \ + ${PN}-dbg \ + ${PN}-autostart \ + ${PN}-btclonly \ + ${PN}-noarch \ + " -PACKAGES = "${PN}-rm {PN}-utils-extra ${PN}-misc kernel-module-${PN} ${PN}-util ${PN}-dbg ${PN}-noarch ${PN}-autostart ${PN}-btclonly" ALLOW_EMPTY_${PN}-autostart = "1" PACKAGE_ARCH_${PN}-rm = "all" @@ -152,7 +162,14 @@ FILES_${PN}-misc = " \ " CONFFILES_${PN}-noarch = "${sysconfdir}/default/" -FILES_${PN}-noarch = "/opt/rs9113/ ${sysconfdir}/init.d/ ${sysconfdir}/default/ ${prefix}/" + +# noarch gets what is left to package. +FILES_${PN}-noarch = " \ + /opt/ \ + ${sysconfdir}/init.d/ \ + ${sysconfdir}/default/ \ + ${prefix}/ \ + " MR = "${WORKDIR}/rs9113" do_install () { -- cgit v1.2.3