| Message ID | 20260329-fix-confusing-appends-v1-12-df7e87b8b879@gmail.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | Confusing and invalid conditional appends | expand |
diff --git a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_2.0.3.bb b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_2.0.3.bb index 169630d319..9e3c98bb97 100644 --- a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_2.0.3.bb +++ b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_2.0.3.bb @@ -34,7 +34,7 @@ PACKAGES = "${PN} ${PN}-dbg ${PN}-dev ${PN}-lib ${PN}-doc ${PN}-spy ${PN}-spy-de RRECOMMENDS:${PN} = "ccid" RRECOMMENDS:${PN}:class-native = "" -RPROVIDES:${PN}:class-native += "pcsc-lite-lib-native" +RPROVIDES:${PN}:append:class-native = " pcsc-lite-lib-native" FILES:${PN} = "${sbindir}/pcscd \ ${datadir}/polkit-1"
While in this case `RPROVIDES:${PN}:class-native +=` wouldn't result in any unwanted override, there is no guarantee there won't be a change, which would be hidden by this override. To avoid any surprises in the future let's use `:append:class-native =` syntax here. Signed-off-by: Michal Sieron <michalwsieron@gmail.com> --- meta-oe/recipes-support/pcsc-lite/pcsc-lite_2.0.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)