]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
dbus: use ${PN} in pkg_postinst instead of 'dbus'
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 17 Apr 2026 08:24:42 +0000 (10:24 +0200)
committerYoann Congal <yoann.congal@smile.fr>
Fri, 24 Apr 2026 10:04:54 +0000 (12:04 +0200)
commit41a581f420eb69e86e30bbb7dfd1d1ec39d55334
tree0024820d3d1a490de7b3f20ab1209130ff6fcb0c
parent005b57b805228f2793265d6d1d1a2f52342935b3
dbus: use ${PN} in pkg_postinst instead of 'dbus'

All pkg_postinst in oe-core where the package name matches the recipe
name use ${PN} already.

We have a bbclass used by some recipes which does:
pkg_postinst:${PN}:append()
which works reasonably well for most of the recipes, except for dbus
where it causes:

WARNING: meta/recipes-core/dbus/dbus_1.16.2.bb:
  Variable key pkg_postinst:${PN} (...)
  replaces original key pkg_postinst:dbus (...)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
(cherry picked from commit efec0447c8e8a6003f00642b33a71ed94fc4ec82)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
meta/recipes-core/dbus/dbus_1.14.10.bb