diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta-selftest | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
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>
Diffstat (limited to 'meta-selftest')
12 files changed, 41 insertions, 41 deletions
diff --git a/meta-selftest/recipes-devtools/python/python-async-test.inc b/meta-selftest/recipes-devtools/python/python-async-test.inc index c9602e8e52..439a0b9276 100644 --- a/meta-selftest/recipes-devtools/python/python-async-test.inc +++ b/meta-selftest/recipes-devtools/python/python-async-test.inc | |||
@@ -11,6 +11,6 @@ PYPI_PACKAGE = "async" | |||
11 | SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b" | 11 | SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b" |
12 | SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051" | 12 | SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051" |
13 | 13 | ||
14 | RDEPENDS_${PN} += "${PYTHON_PN}-threading" | 14 | RDEPENDS:${PN} += "${PYTHON_PN}-threading" |
15 | 15 | ||
16 | BBCLASSEXTEND = "nativesdk" | 16 | BBCLASSEXTEND = "nativesdk" |
diff --git a/meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb b/meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb index dcf6c8ba63..d6f3628e60 100644 --- a/meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb +++ b/meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb | |||
@@ -20,15 +20,15 @@ PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses" | |||
20 | 20 | ||
21 | PACKAGES += "libaspell libpspell libpspell-dev aspell-utils" | 21 | PACKAGES += "libaspell libpspell libpspell-dev aspell-utils" |
22 | 22 | ||
23 | FILES_${PN}-dbg += "${libdir}/aspell-0.60/.debu*" | 23 | FILES:${PN}-dbg += "${libdir}/aspell-0.60/.debu*" |
24 | FILES_libaspell = "${libdir}/libaspell.so.* ${libdir}/aspell*" | 24 | FILES:libaspell = "${libdir}/libaspell.so.* ${libdir}/aspell*" |
25 | FILES_aspell-utils = "${bindir}/word-list-compress ${bindir}/aspell-import ${bindir}/run-with-aspell ${bindir}/pre*" | 25 | FILES:aspell-utils = "${bindir}/word-list-compress ${bindir}/aspell-import ${bindir}/run-with-aspell ${bindir}/pre*" |
26 | FILES_${PN} = "${bindir}/aspell" | 26 | FILES:${PN} = "${bindir}/aspell" |
27 | FILES_libpspell = "${libdir}/libpspell.so.*" | 27 | FILES:libpspell = "${libdir}/libpspell.so.*" |
28 | FILES_libpspell-dev = "${libdir}/libpspell* ${bindir}/pspell-config ${includedir}/pspell" | 28 | FILES:libpspell-dev = "${libdir}/libpspell* ${bindir}/pspell-config ${includedir}/pspell" |
29 | 29 | ||
30 | ARM_INSTRUCTION_SET_armv4 = "arm" | 30 | ARM_INSTRUCTION_SET:armv4 = "arm" |
31 | ARM_INSTRUCTION_SET_armv5 = "arm" | 31 | ARM_INSTRUCTION_SET:armv5 = "arm" |
32 | ARM_INSTRUCTION_SET_armv6 = "arm" | 32 | ARM_INSTRUCTION_SET:armv6 = "arm" |
33 | 33 | ||
34 | inherit autotools gettext | 34 | inherit autotools gettext |
diff --git a/meta-selftest/recipes-test/container-image/container-image-testpkg.bb b/meta-selftest/recipes-test/container-image/container-image-testpkg.bb index f8dd2290b3..929bc29753 100644 --- a/meta-selftest/recipes-test/container-image/container-image-testpkg.bb +++ b/meta-selftest/recipes-test/container-image/container-image-testpkg.bb | |||
@@ -2,7 +2,7 @@ LICENSE = "MIT" | |||
2 | 2 | ||
3 | INHIBIT_DEFAULT_DEPS = "1" | 3 | INHIBIT_DEFAULT_DEPS = "1" |
4 | 4 | ||
5 | do_install_append() { | 5 | do_install:append() { |
6 | install -d ${D}${bindir} | 6 | install -d ${D}${bindir} |
7 | touch ${D}${bindir}/theapp | 7 | touch ${D}${bindir}/theapp |
8 | } | 8 | } |
diff --git a/meta-selftest/recipes-test/devtool/devtool-patch-overrides.bb b/meta-selftest/recipes-test/devtool/devtool-patch-overrides.bb index d36c9edee4..f12bee0b3d 100644 --- a/meta-selftest/recipes-test/devtool/devtool-patch-overrides.bb +++ b/meta-selftest/recipes-test/devtool/devtool-patch-overrides.bb | |||
@@ -4,5 +4,5 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
4 | EXCLUDE_FROM_WORLD = "1" | 4 | EXCLUDE_FROM_WORLD = "1" |
5 | 5 | ||
6 | SRC_URI = "file://source;subdir=${BP}" | 6 | SRC_URI = "file://source;subdir=${BP}" |
7 | SRC_URI_append_qemuarm = " file://arm.patch;striplevel=0" | 7 | SRC_URI:append:qemuarm = " file://arm.patch;striplevel=0" |
8 | SRC_URI_append_qemux86 = " file://x86.patch;striplevel=0" | 8 | SRC_URI:append:qemux86 = " file://x86.patch;striplevel=0" |
diff --git a/meta-selftest/recipes-test/images/wic-image-minimal.bb b/meta-selftest/recipes-test/images/wic-image-minimal.bb index 1cb019898d..84d3721885 100644 --- a/meta-selftest/recipes-test/images/wic-image-minimal.bb +++ b/meta-selftest/recipes-test/images/wic-image-minimal.bb | |||
@@ -7,9 +7,9 @@ IMAGE_INSTALL = "packagegroup-core-boot" | |||
7 | IMAGE_FSTYPES = "wic" | 7 | IMAGE_FSTYPES = "wic" |
8 | 8 | ||
9 | WKS_FILE_DEPENDS = "dosfstools-native mtools-native gptfdisk-native" | 9 | WKS_FILE_DEPENDS = "dosfstools-native mtools-native gptfdisk-native" |
10 | WKS_FILE_DEPENDS_append_x86 = " syslinux-native syslinux" | 10 | WKS_FILE_DEPENDS:append:x86 = " syslinux-native syslinux" |
11 | WKS_FILE_DEPENDS_append_x86-64 = " syslinux-native syslinux" | 11 | WKS_FILE_DEPENDS:append:x86-64 = " syslinux-native syslinux" |
12 | WKS_FILE_DEPENDS_append_x86-x32 = " syslinux-native syslinux" | 12 | WKS_FILE_DEPENDS:append:x86-x32 = " syslinux-native syslinux" |
13 | 13 | ||
14 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 14 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
15 | 15 | ||
diff --git a/meta-selftest/recipes-test/multiconfig/multiconfig-image-packager_0.1.bb b/meta-selftest/recipes-test/multiconfig/multiconfig-image-packager_0.1.bb index a76a6bea1b..daf2834958 100644 --- a/meta-selftest/recipes-test/multiconfig/multiconfig-image-packager_0.1.bb +++ b/meta-selftest/recipes-test/multiconfig/multiconfig-image-packager_0.1.bb | |||
@@ -1,10 +1,10 @@ | |||
1 | LICENSE = "MIT" | 1 | LICENSE = "MIT" |
2 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 2 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
3 | 3 | ||
4 | MCMACHINE_virtclass-mcextend-musl = "qemux86-64" | 4 | MCMACHINE:virtclass-mcextend-musl = "qemux86-64" |
5 | MCMACHINE_virtclass-mcextend-tiny = "qemux86" | 5 | MCMACHINE:virtclass-mcextend-tiny = "qemux86" |
6 | MCIMGTYPE_virtclass-mcextend-musl = "ext4" | 6 | MCIMGTYPE:virtclass-mcextend-musl = "ext4" |
7 | MCIMGTYPE_virtclass-mcextend-tiny = "cpio.gz" | 7 | MCIMGTYPE:virtclass-mcextend-tiny = "cpio.gz" |
8 | 8 | ||
9 | MC_DEPLOY_DIR_IMAGE = "${TOPDIR}/tmp-mc-${MCNAME}/deploy/images/${MCMACHINE}" | 9 | MC_DEPLOY_DIR_IMAGE = "${TOPDIR}/tmp-mc-${MCNAME}/deploy/images/${MCMACHINE}" |
10 | 10 | ||
diff --git a/meta-selftest/recipes-test/postinst/postinst_1.0.bb b/meta-selftest/recipes-test/postinst/postinst_1.0.bb index 913bfabf89..b936c4f44b 100644 --- a/meta-selftest/recipes-test/postinst/postinst_1.0.bb +++ b/meta-selftest/recipes-test/postinst/postinst_1.0.bb | |||
@@ -5,19 +5,19 @@ inherit allarch | |||
5 | 5 | ||
6 | PACKAGES = "${PN}-rootfs ${PN}-delayed-a ${PN}-delayed-b ${PN}-rootfs-failing" | 6 | PACKAGES = "${PN}-rootfs ${PN}-delayed-a ${PN}-delayed-b ${PN}-rootfs-failing" |
7 | 7 | ||
8 | ALLOW_EMPTY_${PN}-rootfs = "1" | 8 | ALLOW_EMPTY:${PN}-rootfs = "1" |
9 | ALLOW_EMPTY_${PN}-delayed-a = "1" | 9 | ALLOW_EMPTY:${PN}-delayed-a = "1" |
10 | ALLOW_EMPTY_${PN}-delayed-b = "1" | 10 | ALLOW_EMPTY:${PN}-delayed-b = "1" |
11 | ALLOW_EMPTY_${PN}-rootfs-failing = "1" | 11 | ALLOW_EMPTY:${PN}-rootfs-failing = "1" |
12 | 12 | ||
13 | RDEPENDS_${PN}-delayed-a = "${PN}-rootfs" | 13 | RDEPENDS:${PN}-delayed-a = "${PN}-rootfs" |
14 | RDEPENDS_${PN}-delayed-b = "${PN}-delayed-a" | 14 | RDEPENDS:${PN}-delayed-b = "${PN}-delayed-a" |
15 | 15 | ||
16 | TESTDIR = "${sysconfdir}/postinst-test" | 16 | TESTDIR = "${sysconfdir}/postinst-test" |
17 | 17 | ||
18 | # At rootfs time touch $TESTDIR/rootfs. Errors if the file already exists, or | 18 | # At rootfs time touch $TESTDIR/rootfs. Errors if the file already exists, or |
19 | # if the function runs on first boot. | 19 | # if the function runs on first boot. |
20 | pkg_postinst_${PN}-rootfs () { | 20 | pkg_postinst:${PN}-rootfs () { |
21 | set -e | 21 | set -e |
22 | 22 | ||
23 | if [ -z "$D" ]; then | 23 | if [ -z "$D" ]; then |
@@ -36,7 +36,7 @@ pkg_postinst_${PN}-rootfs () { | |||
36 | 36 | ||
37 | # Depends on rootfs, delays until first boot, verifies that the rootfs file was | 37 | # Depends on rootfs, delays until first boot, verifies that the rootfs file was |
38 | # written. | 38 | # written. |
39 | pkg_postinst_ontarget_${PN}-delayed-a () { | 39 | pkg_postinst_ontarget:${PN}-delayed-a () { |
40 | set -e | 40 | set -e |
41 | 41 | ||
42 | if [ ! -e ${TESTDIR}/rootfs ]; then | 42 | if [ ! -e ${TESTDIR}/rootfs ]; then |
@@ -49,7 +49,7 @@ pkg_postinst_ontarget_${PN}-delayed-a () { | |||
49 | 49 | ||
50 | # Depends on delayed-a, delays until first boot, verifies that the delayed-a file was | 50 | # Depends on delayed-a, delays until first boot, verifies that the delayed-a file was |
51 | # written. This verifies the ordering between delayed postinsts. | 51 | # written. This verifies the ordering between delayed postinsts. |
52 | pkg_postinst_ontarget_${PN}-delayed-b () { | 52 | pkg_postinst_ontarget:${PN}-delayed-b () { |
53 | set -e | 53 | set -e |
54 | 54 | ||
55 | if [ ! -e ${TESTDIR}/delayed-a ]; then | 55 | if [ ! -e ${TESTDIR}/delayed-a ]; then |
@@ -62,7 +62,7 @@ pkg_postinst_ontarget_${PN}-delayed-b () { | |||
62 | 62 | ||
63 | # This scriptlet intentionally includes a bogus command in the middle to test | 63 | # This scriptlet intentionally includes a bogus command in the middle to test |
64 | # that we catch and report such errors properly. | 64 | # that we catch and report such errors properly. |
65 | pkg_postinst_${PN}-rootfs-failing () { | 65 | pkg_postinst:${PN}-rootfs-failing () { |
66 | mkdir -p $D${TESTDIR} | 66 | mkdir -p $D${TESTDIR} |
67 | touch $D${TESTDIR}/rootfs-before-failure | 67 | touch $D${TESTDIR}/rootfs-before-failure |
68 | run_a_really_broken_command | 68 | run_a_really_broken_command |
diff --git a/meta-selftest/recipes-test/recipetool/selftest-recipetool-appendfile.bb b/meta-selftest/recipes-test/recipetool/selftest-recipetool-appendfile.bb index b5f976708f..e127b48b15 100644 --- a/meta-selftest/recipes-test/recipetool/selftest-recipetool-appendfile.bb +++ b/meta-selftest/recipes-test/recipetool/selftest-recipetool-appendfile.bb | |||
@@ -34,9 +34,9 @@ do_install() { | |||
34 | install_extrafunc | 34 | install_extrafunc |
35 | } | 35 | } |
36 | 36 | ||
37 | pkg_postinst_${PN} () { | 37 | pkg_postinst:${PN} () { |
38 | echo "Test file installed by postinst" > $D${datadir}/selftest-replaceme-postinst | 38 | echo "Test file installed by postinst" > $D${datadir}/selftest-replaceme-postinst |
39 | } | 39 | } |
40 | 40 | ||
41 | FILES_${PN} += "${datadir}" | 41 | FILES:${PN} += "${datadir}" |
42 | 42 | ||
diff --git a/meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb b/meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb index 0cd0494da8..062d6a7a05 100644 --- a/meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb +++ b/meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb | |||
@@ -10,4 +10,4 @@ BBCLASSEXTEND = "native nativesdk" | |||
10 | 10 | ||
11 | SRC_URI += "file://somefile" | 11 | SRC_URI += "file://somefile" |
12 | 12 | ||
13 | SRC_URI_append = " file://anotherfile" | 13 | SRC_URI:append = " file://anotherfile" |
diff --git a/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb b/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb index 440471fe80..aa6ce0c2a0 100644 --- a/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb +++ b/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb | |||
@@ -10,7 +10,7 @@ S = "${WORKDIR}" | |||
10 | inherit useradd allarch | 10 | inherit useradd allarch |
11 | 11 | ||
12 | USERADD_PACKAGES = "${PN}" | 12 | USERADD_PACKAGES = "${PN}" |
13 | USERADD_PARAM_${PN} = "-u 1234 -M test" | 13 | USERADD_PARAM:${PN} = "-u 1234 -M test" |
14 | TESTDIR = "${D}${sysconfdir}/selftest-chown" | 14 | TESTDIR = "${D}${sysconfdir}/selftest-chown" |
15 | 15 | ||
16 | do_install() { | 16 | do_install() { |
@@ -27,4 +27,4 @@ do_install() { | |||
27 | chown -R test:test ${TESTDIR}/fifotest | 27 | chown -R test:test ${TESTDIR}/fifotest |
28 | } | 28 | } |
29 | 29 | ||
30 | FILES_${PN} = "${sysconfdir}/selftest-chown/*" | 30 | FILES:${PN} = "${sysconfdir}/selftest-chown/*" |
diff --git a/meta-selftest/recipes-test/selftest-ed/selftest-ed_0.5.bb b/meta-selftest/recipes-test/selftest-ed/selftest-ed_0.5.bb index 4f713f5c0e..7595e8ef16 100644 --- a/meta-selftest/recipes-test/selftest-ed/selftest-ed_0.5.bb +++ b/meta-selftest/recipes-test/selftest-ed/selftest-ed_0.5.bb | |||
@@ -17,8 +17,8 @@ S = "${WORKDIR}/ed-${PV}" | |||
17 | 17 | ||
18 | EXTRA_OECONF = "'CC=${CC}' 'CXX=${CXX}' 'CFLAGS=${CFLAGS}' 'CXXFLAGS=${CXXFLAGS}' 'CPPFLAGS=${CPPFLAGS}' 'LDFLAGS=${LDFLAGS}'" | 18 | EXTRA_OECONF = "'CC=${CC}' 'CXX=${CXX}' 'CFLAGS=${CFLAGS}' 'CXXFLAGS=${CXXFLAGS}' 'CPPFLAGS=${CPPFLAGS}' 'LDFLAGS=${LDFLAGS}'" |
19 | 19 | ||
20 | CONFIGUREOPTS_remove = "--disable-dependency-tracking" | 20 | CONFIGUREOPTS:remove = "--disable-dependency-tracking" |
21 | CONFIGUREOPTS_remove = "--disable-silent-rules" | 21 | CONFIGUREOPTS:remove = "--disable-silent-rules" |
22 | EXTRA_OECONF_remove = "--disable-static" | 22 | EXTRA_OECONF:remove = "--disable-static" |
23 | 23 | ||
24 | BBCLASSEXTEND = "native" | 24 | BBCLASSEXTEND = "native" |
diff --git a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb index 842a9772cb..be346b8a0e 100644 --- a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb +++ b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb | |||
@@ -25,6 +25,6 @@ do_install () { | |||
25 | dd if=/dev/zero of=${D}${bindir}/sparsetest bs=1 count=0 seek=1M | 25 | dd if=/dev/zero of=${D}${bindir}/sparsetest bs=1 count=0 seek=1M |
26 | } | 26 | } |
27 | 27 | ||
28 | RDEPENDS_${PN}-gdb += "gdb" | 28 | RDEPENDS:${PN}-gdb += "gdb" |
29 | PACKAGES =+ "${PN}-gdb" | 29 | PACKAGES =+ "${PN}-gdb" |
30 | FILES_${PN}-gdb = "${bindir}/gdb.sh" | 30 | FILES:${PN}-gdb = "${bindir}/gdb.sh" |