mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00: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:
@@ -18,11 +18,11 @@ SRC_URI[sha256sum] = "3b680e81709b740387335fac8f8806d71611dcf60874e1a792e862e48a
|
||||
inherit autotools update-alternatives
|
||||
|
||||
S = "${WORKDIR}/debianutils"
|
||||
do_configure_prepend() {
|
||||
do_configure:prepend() {
|
||||
sed -i -e 's:tempfile.1 which.1:which.1:g' ${S}/Makefile.am
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
if [ "${base_bindir}" != "${bindir}" ]; then
|
||||
# Debian places some utils into ${base_bindir} as does busybox
|
||||
install -d ${D}${base_bindir}
|
||||
@@ -35,18 +35,18 @@ do_install_append() {
|
||||
# Note that we package the update-alternatives name.
|
||||
#
|
||||
PACKAGES =+ "${PN}-run-parts"
|
||||
FILES_${PN}-run-parts = "${base_bindir}/run-parts.debianutils"
|
||||
FILES:${PN}-run-parts = "${base_bindir}/run-parts.debianutils"
|
||||
|
||||
RDEPENDS_${PN} += "${PN}-run-parts"
|
||||
RDEPENDS_${PN}_class-native = ""
|
||||
RDEPENDS:${PN} += "${PN}-run-parts"
|
||||
RDEPENDS:${PN}:class-native = ""
|
||||
|
||||
ALTERNATIVE_PRIORITY = "30"
|
||||
ALTERNATIVE_${PN} = "add-shell installkernel remove-shell savelog tempfile which"
|
||||
ALTERNATIVE:${PN} = "add-shell installkernel remove-shell savelog tempfile which"
|
||||
|
||||
ALTERNATIVE_PRIORITY_${PN}-run-parts = "60"
|
||||
ALTERNATIVE_${PN}-run-parts = "run-parts"
|
||||
ALTERNATIVE:${PN}-run-parts = "run-parts"
|
||||
|
||||
ALTERNATIVE_${PN}-doc = "which.1"
|
||||
ALTERNATIVE:${PN}-doc = "which.1"
|
||||
ALTERNATIVE_LINK_NAME[which.1] = "${mandir}/man1/which.1"
|
||||
|
||||
ALTERNATIVE_LINK_NAME[add-shell] = "${sbindir}/add-shell"
|
||||
|
||||
Reference in New Issue
Block a user