[yocto] Fix 'PACKAGES' in net-snmp recipe
Kosta Zertsekel
KZertsekel at advaoptical.com
Mon Mar 19 04:27:23 PDT 2018
On Monday, March 19, 2018 9:38 AM Huang, Jie (Jackie) wrote:
> It was changed for two reasons referred to the commit 5eec0615e:
>
> """
> - Change to use append for PACKAGES so that:
> * ptest package is added from ptest bbcalss
> * the PN is back, allow empty and add rdepends on net-snmp-client
> in case the user try to add net-snmp to the image
> """
>
> 1) The 'PACKAGEs = ...' will override the definition from bbclass like ptest.bbclass
> 2) We had customers assume that the ${PN} package for each recipe always exist so when they wanted to
> use net-snmp clients, they tried to install net-snmp but failed.
>
> If you don't like the solution, you can use _remove operation to remove PN from PACKAGES.
>
> Other default packages like ${PN}-doc and ${PN}-locale, them are also empty for many other recipes,
> I don't think it's an issue, so no need to re-define the PACKAGES or remove them with _remove operation.
Ok. Agree. Non-issue.
Thank you guys a lot for the explanation!
--- Kosta Z.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180319/d48391ff/attachment.html>
More information about the yocto
mailing list