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-extended/sudo/sudo_1.9.7p1.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-extended/sudo/sudo_1.9.7p1.bb')
-rw-r--r-- | meta/recipes-extended/sudo/sudo_1.9.7p1.bb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.9.7p1.bb b/meta/recipes-extended/sudo/sudo_1.9.7p1.bb index aba6f4a595..8d47c01706 100644 --- a/meta/recipes-extended/sudo/sudo_1.9.7p1.bb +++ b/meta/recipes-extended/sudo/sudo_1.9.7p1.bb | |||
@@ -10,7 +10,7 @@ PAM_SRC_URI = "file://sudo.pam" | |||
10 | SRC_URI[sha256sum] = "391431f454e55121b60c6ded0fcf30ddb80d623d7d16a6d1907cfa6a0b91d8cf" | 10 | SRC_URI[sha256sum] = "391431f454e55121b60c6ded0fcf30ddb80d623d7d16a6d1907cfa6a0b91d8cf" |
11 | 11 | ||
12 | DEPENDS += " virtual/crypt ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 12 | DEPENDS += " virtual/crypt ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
13 | RDEPENDS_${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" | 13 | RDEPENDS:${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" |
14 | 14 | ||
15 | CACHED_CONFIGUREVARS = " \ | 15 | CACHED_CONFIGUREVARS = " \ |
16 | ac_cv_type_rsize_t=no \ | 16 | ac_cv_type_rsize_t=no \ |
@@ -28,7 +28,7 @@ EXTRA_OECONF += " \ | |||
28 | --libexecdir=${libdir} \ | 28 | --libexecdir=${libdir} \ |
29 | " | 29 | " |
30 | 30 | ||
31 | do_install_append () { | 31 | do_install:append () { |
32 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then | 32 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then |
33 | install -D -m 644 ${WORKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo | 33 | install -D -m 644 ${WORKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo |
34 | if ${@bb.utils.contains('PACKAGECONFIG', 'pam-wheel', 'true', 'false', d)} ; then | 34 | if ${@bb.utils.contains('PACKAGECONFIG', 'pam-wheel', 'true', 'false', d)} ; then |
@@ -44,7 +44,7 @@ do_install_append () { | |||
44 | rmdir -p --ignore-fail-on-non-empty ${D}/run/sudo | 44 | rmdir -p --ignore-fail-on-non-empty ${D}/run/sudo |
45 | } | 45 | } |
46 | 46 | ||
47 | FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/*.la \ | 47 | FILES:${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/*.la \ |
48 | ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la" | 48 | ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la" |
49 | 49 | ||
50 | SUDO_PACKAGES = "${PN}-sudo\ | 50 | SUDO_PACKAGES = "${PN}-sudo\ |
@@ -52,8 +52,8 @@ SUDO_PACKAGES = "${PN}-sudo\ | |||
52 | 52 | ||
53 | PACKAGE_BEFORE_PN = "${SUDO_PACKAGES}" | 53 | PACKAGE_BEFORE_PN = "${SUDO_PACKAGES}" |
54 | 54 | ||
55 | RDEPENDS_${PN}-sudo = "${PN}-lib" | 55 | RDEPENDS:${PN}-sudo = "${PN}-lib" |
56 | RDEPENDS_${PN} += "${SUDO_PACKAGES}" | 56 | RDEPENDS:${PN} += "${SUDO_PACKAGES}" |
57 | 57 | ||
58 | FILES_${PN}-sudo = "${bindir}/sudo ${bindir}/sudoedit" | 58 | FILES:${PN}-sudo = "${bindir}/sudo ${bindir}/sudoedit" |
59 | FILES_${PN}-lib = "${localstatedir} ${libexecdir} ${sysconfdir} ${libdir} ${nonarch_libdir}" | 59 | FILES:${PN}-lib = "${localstatedir} ${libexecdir} ${sysconfdir} ${libdir} ${nonarch_libdir}" |