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/recipes-devtools/opkg-utils/opkg-utils_0.4.5.bb | |
| 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/recipes-devtools/opkg-utils/opkg-utils_0.4.5.bb')
| -rw-r--r-- | meta/recipes-devtools/opkg-utils/opkg-utils_0.4.5.bb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.5.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.5.bb index 93d2911104..a2bcc7f661 100644 --- a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.5.bb +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.5.bb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | SUMMARY = "Additional utilities for the opkg package manager" | 1 | SUMMARY = "Additional utilities for the opkg package manager" |
| 2 | SUMMARY_update-alternatives-opkg = "Utility for managing the alternatives system" | 2 | SUMMARY:update-alternatives-opkg = "Utility for managing the alternatives system" |
| 3 | SECTION = "base" | 3 | SECTION = "base" |
| 4 | HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils" | 4 | HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils" |
| 5 | LICENSE = "GPLv2+" | 5 | LICENSE = "GPLv2+" |
| @@ -17,13 +17,13 @@ SRC_URI[sha256sum] = "528635e674addea5c2b3a3268404ad04a952c4f410d17c3d754f5dd552 | |||
| 17 | 17 | ||
| 18 | TARGET_CC_ARCH += "${LDFLAGS}" | 18 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 19 | 19 | ||
| 20 | RDEPENDS_${PN} += "bash" | 20 | RDEPENDS:${PN} += "bash" |
| 21 | 21 | ||
| 22 | inherit perlnative | 22 | inherit perlnative |
| 23 | 23 | ||
| 24 | # For native builds we use the host Python | 24 | # For native builds we use the host Python |
| 25 | PYTHONRDEPS = "python3 python3-shell python3-io python3-math python3-crypt python3-logging python3-fcntl python3-pickle python3-compression python3-stringold" | 25 | PYTHONRDEPS = "python3 python3-shell python3-io python3-math python3-crypt python3-logging python3-fcntl python3-pickle python3-compression python3-stringold" |
| 26 | PYTHONRDEPS_class-native = "" | 26 | PYTHONRDEPS:class-native = "" |
| 27 | 27 | ||
| 28 | PACKAGECONFIG = "python update-alternatives" | 28 | PACKAGECONFIG = "python update-alternatives" |
| 29 | PACKAGECONFIG[python] = ",,,${PYTHONRDEPS}" | 29 | PACKAGECONFIG[python] = ",,,${PYTHONRDEPS}" |
| @@ -36,7 +36,7 @@ do_install() { | |||
| 36 | fi | 36 | fi |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | do_install_append_class-target() { | 39 | do_install:append:class-target() { |
| 40 | if ! ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then | 40 | if ! ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then |
| 41 | grep -lZ "/usr/bin/env.*python" ${D}${bindir}/* | xargs -0 rm | 41 | grep -lZ "/usr/bin/env.*python" ${D}${bindir}/* | xargs -0 rm |
| 42 | fi | 42 | fi |
| @@ -48,15 +48,15 @@ do_install_append_class-target() { | |||
| 48 | 48 | ||
| 49 | # These are empty and will pull python3-dev into images where it wouldn't | 49 | # These are empty and will pull python3-dev into images where it wouldn't |
| 50 | # have been otherwise, so don't generate them. | 50 | # have been otherwise, so don't generate them. |
| 51 | PACKAGES_remove = "${PN}-dev ${PN}-staticdev" | 51 | PACKAGES:remove = "${PN}-dev ${PN}-staticdev" |
| 52 | 52 | ||
| 53 | PACKAGES =+ "update-alternatives-opkg" | 53 | PACKAGES =+ "update-alternatives-opkg" |
| 54 | FILES_update-alternatives-opkg = "${bindir}/update-alternatives" | 54 | FILES:update-alternatives-opkg = "${bindir}/update-alternatives" |
| 55 | RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth" | 55 | RPROVIDES:update-alternatives-opkg = "update-alternatives update-alternatives-cworth" |
| 56 | RREPLACES_update-alternatives-opkg = "update-alternatives-cworth" | 56 | RREPLACES:update-alternatives-opkg = "update-alternatives-cworth" |
| 57 | RCONFLICTS_update-alternatives-opkg = "update-alternatives-cworth" | 57 | RCONFLICTS:update-alternatives-opkg = "update-alternatives-cworth" |
| 58 | 58 | ||
| 59 | pkg_postrm_update-alternatives-opkg() { | 59 | pkg_postrm:update-alternatives-opkg() { |
| 60 | rm -rf $D${nonarch_libdir}/opkg/alternatives | 60 | rm -rf $D${nonarch_libdir}/opkg/alternatives |
| 61 | rmdir $D${nonarch_libdir}/opkg || true | 61 | rmdir $D${nonarch_libdir}/opkg || true |
| 62 | } | 62 | } |
