mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +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:
@@ -19,11 +19,11 @@ PV = "1.0+git${SRCPV}"
|
||||
#
|
||||
# Default is prelinking is enabled.
|
||||
#
|
||||
SUMMARY_${PN}-cron = "Cron scripts to control automatic prelinking"
|
||||
DESCRIPTION_${PN}-cron = "Cron scripts to control automatic prelinking. \
|
||||
SUMMARY:${PN}-cron = "Cron scripts to control automatic prelinking"
|
||||
DESCRIPTION:${PN}-cron = "Cron scripts to control automatic prelinking. \
|
||||
See: ${sysconfdir}/cron.daily/prelink for configuration information."
|
||||
|
||||
FILES_${PN}-cron = "${sysconfdir}/cron.daily ${sysconfdir}/default"
|
||||
FILES:${PN}-cron = "${sysconfdir}/cron.daily ${sysconfdir}/default"
|
||||
|
||||
PACKAGES =+ "${PN}-cron"
|
||||
|
||||
@@ -37,10 +37,10 @@ SRC_URI = "git://git.yoctoproject.org/prelink-cross.git;branch=cross_prelink_sta
|
||||
UPSTREAM_CHECK_COMMITS = "1"
|
||||
|
||||
# error: error.h: No such file or directory
|
||||
COMPATIBLE_HOST_libc-musl = 'null'
|
||||
COMPATIBLE_HOST:libc-musl = 'null'
|
||||
|
||||
TARGET_OS_ORIG := "${TARGET_OS}"
|
||||
OVERRIDES_append = ":${TARGET_OS_ORIG}"
|
||||
OVERRIDES:append = ":${TARGET_OS_ORIG}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -144,12 +144,12 @@ python () {
|
||||
bb.build.addtask('do_linkerpaths', 'do_configure', 'do_patch', d)
|
||||
}
|
||||
|
||||
do_configure_prepend () {
|
||||
do_configure:prepend () {
|
||||
# Disable documentation!
|
||||
echo "all:" > ${S}/doc/Makefile.am
|
||||
}
|
||||
|
||||
do_install_append () {
|
||||
do_install:append () {
|
||||
install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default ${D}${sysconfdir}/rpm
|
||||
install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf
|
||||
install -m 0644 ${WORKDIR}/prelink.cron.daily ${D}${sysconfdir}/cron.daily/prelink
|
||||
@@ -161,7 +161,7 @@ do_install_append () {
|
||||
# Prelinking during a cross install should be handled by the image-prelink
|
||||
# bbclass. If the user desires this to run on the target at first boot
|
||||
# they will need to create a custom boot script.
|
||||
pkg_postinst_prelink() {
|
||||
pkg_postinst:prelink() {
|
||||
#!/bin/sh
|
||||
|
||||
if [ "x$D" != "x" ]; then
|
||||
@@ -171,7 +171,7 @@ fi
|
||||
prelink -a
|
||||
}
|
||||
|
||||
pkg_prerm_prelink() {
|
||||
pkg_prerm:prelink() {
|
||||
#!/bin/sh
|
||||
|
||||
if [ "x$D" != "x" ]; then
|
||||
|
||||
Reference in New Issue
Block a user