mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 01:50:18 +00:00
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:
@@ -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}/*"
|
||||
|
||||
Reference in New Issue
Block a user