mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01: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:
@@ -20,15 +20,15 @@ PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses"
|
||||
|
||||
PACKAGES += "libaspell libpspell libpspell-dev aspell-utils"
|
||||
|
||||
FILES_${PN}-dbg += "${libdir}/aspell-0.60/.debu*"
|
||||
FILES_libaspell = "${libdir}/libaspell.so.* ${libdir}/aspell*"
|
||||
FILES_aspell-utils = "${bindir}/word-list-compress ${bindir}/aspell-import ${bindir}/run-with-aspell ${bindir}/pre*"
|
||||
FILES_${PN} = "${bindir}/aspell"
|
||||
FILES_libpspell = "${libdir}/libpspell.so.*"
|
||||
FILES_libpspell-dev = "${libdir}/libpspell* ${bindir}/pspell-config ${includedir}/pspell"
|
||||
FILES:${PN}-dbg += "${libdir}/aspell-0.60/.debu*"
|
||||
FILES:libaspell = "${libdir}/libaspell.so.* ${libdir}/aspell*"
|
||||
FILES:aspell-utils = "${bindir}/word-list-compress ${bindir}/aspell-import ${bindir}/run-with-aspell ${bindir}/pre*"
|
||||
FILES:${PN} = "${bindir}/aspell"
|
||||
FILES:libpspell = "${libdir}/libpspell.so.*"
|
||||
FILES:libpspell-dev = "${libdir}/libpspell* ${bindir}/pspell-config ${includedir}/pspell"
|
||||
|
||||
ARM_INSTRUCTION_SET_armv4 = "arm"
|
||||
ARM_INSTRUCTION_SET_armv5 = "arm"
|
||||
ARM_INSTRUCTION_SET_armv6 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv4 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv5 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv6 = "arm"
|
||||
|
||||
inherit autotools gettext
|
||||
|
||||
@@ -2,7 +2,7 @@ LICENSE = "MIT"
|
||||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
install -d ${D}${bindir}
|
||||
touch ${D}${bindir}/theapp
|
||||
}
|
||||
|
||||
@@ -4,5 +4,5 @@ INHIBIT_DEFAULT_DEPS = "1"
|
||||
EXCLUDE_FROM_WORLD = "1"
|
||||
|
||||
SRC_URI = "file://source;subdir=${BP}"
|
||||
SRC_URI_append_qemuarm = " file://arm.patch;striplevel=0"
|
||||
SRC_URI_append_qemux86 = " file://x86.patch;striplevel=0"
|
||||
SRC_URI:append:qemuarm = " file://arm.patch;striplevel=0"
|
||||
SRC_URI:append:qemux86 = " file://x86.patch;striplevel=0"
|
||||
|
||||
@@ -7,9 +7,9 @@ IMAGE_INSTALL = "packagegroup-core-boot"
|
||||
IMAGE_FSTYPES = "wic"
|
||||
|
||||
WKS_FILE_DEPENDS = "dosfstools-native mtools-native gptfdisk-native"
|
||||
WKS_FILE_DEPENDS_append_x86 = " syslinux-native syslinux"
|
||||
WKS_FILE_DEPENDS_append_x86-64 = " syslinux-native syslinux"
|
||||
WKS_FILE_DEPENDS_append_x86-x32 = " syslinux-native syslinux"
|
||||
WKS_FILE_DEPENDS:append:x86 = " syslinux-native syslinux"
|
||||
WKS_FILE_DEPENDS:append:x86-64 = " syslinux-native syslinux"
|
||||
WKS_FILE_DEPENDS:append:x86-x32 = " syslinux-native syslinux"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
MCMACHINE_virtclass-mcextend-musl = "qemux86-64"
|
||||
MCMACHINE_virtclass-mcextend-tiny = "qemux86"
|
||||
MCIMGTYPE_virtclass-mcextend-musl = "ext4"
|
||||
MCIMGTYPE_virtclass-mcextend-tiny = "cpio.gz"
|
||||
MCMACHINE:virtclass-mcextend-musl = "qemux86-64"
|
||||
MCMACHINE:virtclass-mcextend-tiny = "qemux86"
|
||||
MCIMGTYPE:virtclass-mcextend-musl = "ext4"
|
||||
MCIMGTYPE:virtclass-mcextend-tiny = "cpio.gz"
|
||||
|
||||
MC_DEPLOY_DIR_IMAGE = "${TOPDIR}/tmp-mc-${MCNAME}/deploy/images/${MCMACHINE}"
|
||||
|
||||
|
||||
@@ -5,19 +5,19 @@ inherit allarch
|
||||
|
||||
PACKAGES = "${PN}-rootfs ${PN}-delayed-a ${PN}-delayed-b ${PN}-rootfs-failing"
|
||||
|
||||
ALLOW_EMPTY_${PN}-rootfs = "1"
|
||||
ALLOW_EMPTY_${PN}-delayed-a = "1"
|
||||
ALLOW_EMPTY_${PN}-delayed-b = "1"
|
||||
ALLOW_EMPTY_${PN}-rootfs-failing = "1"
|
||||
ALLOW_EMPTY:${PN}-rootfs = "1"
|
||||
ALLOW_EMPTY:${PN}-delayed-a = "1"
|
||||
ALLOW_EMPTY:${PN}-delayed-b = "1"
|
||||
ALLOW_EMPTY:${PN}-rootfs-failing = "1"
|
||||
|
||||
RDEPENDS_${PN}-delayed-a = "${PN}-rootfs"
|
||||
RDEPENDS_${PN}-delayed-b = "${PN}-delayed-a"
|
||||
RDEPENDS:${PN}-delayed-a = "${PN}-rootfs"
|
||||
RDEPENDS:${PN}-delayed-b = "${PN}-delayed-a"
|
||||
|
||||
TESTDIR = "${sysconfdir}/postinst-test"
|
||||
|
||||
# At rootfs time touch $TESTDIR/rootfs. Errors if the file already exists, or
|
||||
# if the function runs on first boot.
|
||||
pkg_postinst_${PN}-rootfs () {
|
||||
pkg_postinst:${PN}-rootfs () {
|
||||
set -e
|
||||
|
||||
if [ -z "$D" ]; then
|
||||
@@ -36,7 +36,7 @@ pkg_postinst_${PN}-rootfs () {
|
||||
|
||||
# Depends on rootfs, delays until first boot, verifies that the rootfs file was
|
||||
# written.
|
||||
pkg_postinst_ontarget_${PN}-delayed-a () {
|
||||
pkg_postinst_ontarget:${PN}-delayed-a () {
|
||||
set -e
|
||||
|
||||
if [ ! -e ${TESTDIR}/rootfs ]; then
|
||||
@@ -49,7 +49,7 @@ pkg_postinst_ontarget_${PN}-delayed-a () {
|
||||
|
||||
# Depends on delayed-a, delays until first boot, verifies that the delayed-a file was
|
||||
# written. This verifies the ordering between delayed postinsts.
|
||||
pkg_postinst_ontarget_${PN}-delayed-b () {
|
||||
pkg_postinst_ontarget:${PN}-delayed-b () {
|
||||
set -e
|
||||
|
||||
if [ ! -e ${TESTDIR}/delayed-a ]; then
|
||||
@@ -62,7 +62,7 @@ pkg_postinst_ontarget_${PN}-delayed-b () {
|
||||
|
||||
# This scriptlet intentionally includes a bogus command in the middle to test
|
||||
# that we catch and report such errors properly.
|
||||
pkg_postinst_${PN}-rootfs-failing () {
|
||||
pkg_postinst:${PN}-rootfs-failing () {
|
||||
mkdir -p $D${TESTDIR}
|
||||
touch $D${TESTDIR}/rootfs-before-failure
|
||||
run_a_really_broken_command
|
||||
|
||||
@@ -34,9 +34,9 @@ do_install() {
|
||||
install_extrafunc
|
||||
}
|
||||
|
||||
pkg_postinst_${PN} () {
|
||||
pkg_postinst:${PN} () {
|
||||
echo "Test file installed by postinst" > $D${datadir}/selftest-replaceme-postinst
|
||||
}
|
||||
|
||||
FILES_${PN} += "${datadir}"
|
||||
FILES:${PN} += "${datadir}"
|
||||
|
||||
|
||||
@@ -10,4 +10,4 @@ BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI += "file://somefile"
|
||||
|
||||
SRC_URI_append = " file://anotherfile"
|
||||
SRC_URI:append = " file://anotherfile"
|
||||
|
||||
@@ -10,7 +10,7 @@ S = "${WORKDIR}"
|
||||
inherit useradd allarch
|
||||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
USERADD_PARAM_${PN} = "-u 1234 -M test"
|
||||
USERADD_PARAM:${PN} = "-u 1234 -M test"
|
||||
TESTDIR = "${D}${sysconfdir}/selftest-chown"
|
||||
|
||||
do_install() {
|
||||
@@ -27,4 +27,4 @@ do_install() {
|
||||
chown -R test:test ${TESTDIR}/fifotest
|
||||
}
|
||||
|
||||
FILES_${PN} = "${sysconfdir}/selftest-chown/*"
|
||||
FILES:${PN} = "${sysconfdir}/selftest-chown/*"
|
||||
|
||||
@@ -17,8 +17,8 @@ S = "${WORKDIR}/ed-${PV}"
|
||||
|
||||
EXTRA_OECONF = "'CC=${CC}' 'CXX=${CXX}' 'CFLAGS=${CFLAGS}' 'CXXFLAGS=${CXXFLAGS}' 'CPPFLAGS=${CPPFLAGS}' 'LDFLAGS=${LDFLAGS}'"
|
||||
|
||||
CONFIGUREOPTS_remove = "--disable-dependency-tracking"
|
||||
CONFIGUREOPTS_remove = "--disable-silent-rules"
|
||||
EXTRA_OECONF_remove = "--disable-static"
|
||||
CONFIGUREOPTS:remove = "--disable-dependency-tracking"
|
||||
CONFIGUREOPTS:remove = "--disable-silent-rules"
|
||||
EXTRA_OECONF:remove = "--disable-static"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
@@ -25,6 +25,6 @@ do_install () {
|
||||
dd if=/dev/zero of=${D}${bindir}/sparsetest bs=1 count=0 seek=1M
|
||||
}
|
||||
|
||||
RDEPENDS_${PN}-gdb += "gdb"
|
||||
RDEPENDS:${PN}-gdb += "gdb"
|
||||
PACKAGES =+ "${PN}-gdb"
|
||||
FILES_${PN}-gdb = "${bindir}/gdb.sh"
|
||||
FILES:${PN}-gdb = "${bindir}/gdb.sh"
|
||||
|
||||
Reference in New Issue
Block a user