mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 15:49:36 +02:00
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# depending on whether 'api-documentation' is in DISTRO_FEATURES. Such building
|
||||
# tends to pull in the entire XML stack and other tools, so it's not enabled
|
||||
# by default.
|
||||
PACKAGECONFIG_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'manpages', '', d)}"
|
||||
PACKAGECONFIG:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'manpages', '', d)}"
|
||||
|
||||
inherit qemu
|
||||
|
||||
@@ -10,9 +10,9 @@ inherit qemu
|
||||
MAN_PKG ?= "${PN}-doc"
|
||||
|
||||
# only add man-db to RDEPENDS when manual files are built and installed
|
||||
RDEPENDS_${MAN_PKG} += "${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'man-db', '', d)}"
|
||||
RDEPENDS:${MAN_PKG} += "${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'man-db', '', d)}"
|
||||
|
||||
pkg_postinst_append_${MAN_PKG} () {
|
||||
pkg_postinst:append_${MAN_PKG} () {
|
||||
# only update manual page index caches when manual files are built and installed
|
||||
if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', d)}; then
|
||||
if test -n "$D"; then
|
||||
@@ -36,7 +36,7 @@ pkg_postinst_append_${MAN_PKG} () {
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm_append_${MAN_PKG} () {
|
||||
pkg_postrm:append_${MAN_PKG} () {
|
||||
# only update manual page index caches when manual files are built and installed
|
||||
if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', d)}; then
|
||||
mandb -q
|
||||
|
||||
Reference in New Issue
Block a user