| Message ID | 20260329-fix-confusing-appends-v1-9-df7e87b8b879@gmail.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | Confusing and invalid conditional appends | expand |
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz_14.1.4.bb b/meta-oe/recipes-graphics/graphviz/graphviz_14.1.4.bb index bfc59c3ca1..a5f08d0c85 100644 --- a/meta-oe/recipes-graphics/graphviz/graphviz_14.1.4.bb +++ b/meta-oe/recipes-graphics/graphviz/graphviz_14.1.4.bb @@ -68,7 +68,7 @@ do_install:append:class-nativesdk() { install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d install -m 0755 ${UNPACKDIR}/graphviz-setup.sh ${D}${SDKPATHNATIVE}/post-relocate-setup.d } -FILES:${PN}:class-nativesdk += "${SDKPATHNATIVE}" +FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}" # create /usr/lib/graphviz/config6 graphviz_sstate_postinst() {
It actually overrides value of FILES:${PN} instead of appending. In this case SDKPATHNATIVE is the prefix so everything was still working, but let's convert it to a proper conditional append. Signed-off-by: Michal Sieron <michalwsieron@gmail.com> --- meta-oe/recipes-graphics/graphviz/graphviz_14.1.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)