postfix: Convert confusing appends to override syntax

While in this case `RDEPENDS:class-target +=` 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-target =` syntax here.

Signed-off-by: Michal Sieron <michalwsieron@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Michal Sieron 2026-03-29 23:37:07 +02:00 committed by Khem Raj
parent 87c5669a28
commit a4b25c01a5
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -240,8 +240,8 @@ pkg_postinst_ontarget:${PN}-cfg () {
}
PACKAGES =+ "${PN}-cfg"
RDEPENDS:${PN}-cfg:class-target += "${PN}-bin"
RDEPENDS:${PN}:class-target += "${PN}-cfg"
RDEPENDS:${PN}-cfg:append:class-target = " ${PN}-bin"
RDEPENDS:${PN}:append:class-target = " ${PN}-cfg"
# Exclude .debug directories from the main package
FILES:${PN}-bin += "${localstatedir} ${bindir}/* ${sbindir}/* \
${libexecdir}/* ${systemd_unitdir}/*"