mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +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:
parent
87c5669a28
commit
a4b25c01a5
@ -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}/*"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user