summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/tar
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-extended/tar
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-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/tar')
-rw-r--r--meta/recipes-extended/tar/tar_1.34.bb16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-extended/tar/tar_1.34.bb b/meta/recipes-extended/tar/tar_1.34.bb
index af04919c41..c096a8c9a8 100644
--- a/meta/recipes-extended/tar/tar_1.34.bb
+++ b/meta/recipes-extended/tar/tar_1.34.bb
@@ -13,7 +13,7 @@ SRC_URI[sha256sum] = "b44cc67f8a1f6b0250b7c860e952b37e8ed932a90bd9b1862a51107925
13inherit autotools gettext texinfo 13inherit autotools gettext texinfo
14 14
15PACKAGECONFIG ??= "" 15PACKAGECONFIG ??= ""
16PACKAGECONFIG_append_class-target = " ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)}" 16PACKAGECONFIG:append:class-target = " ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)}"
17 17
18PACKAGECONFIG[acl] = "--with-posix-acls,--without-posix-acls,acl" 18PACKAGECONFIG[acl] = "--with-posix-acls,--without-posix-acls,acl"
19 19
@@ -32,7 +32,7 @@ do_install () {
32 ln -s tar ${D}${bindir}/gtar 32 ln -s tar ${D}${bindir}/gtar
33} 33}
34 34
35do_install_append_class-target() { 35do_install:append:class-target() {
36 if [ "${base_bindir}" != "${bindir}" ]; then 36 if [ "${base_bindir}" != "${bindir}" ]; then
37 install -d ${D}${base_bindir} 37 install -d ${D}${base_bindir}
38 mv ${D}${bindir}/tar ${D}${base_bindir}/tar 38 mv ${D}${bindir}/tar ${D}${base_bindir}/tar
@@ -43,21 +43,21 @@ do_install_append_class-target() {
43 43
44PACKAGES =+ "${PN}-rmt" 44PACKAGES =+ "${PN}-rmt"
45 45
46FILES_${PN}-rmt = "${sbindir}/rmt*" 46FILES:${PN}-rmt = "${sbindir}/rmt*"
47 47
48inherit update-alternatives 48inherit update-alternatives
49 49
50ALTERNATIVE_PRIORITY = "100" 50ALTERNATIVE_PRIORITY = "100"
51 51
52ALTERNATIVE_${PN} = "tar" 52ALTERNATIVE:${PN} = "tar"
53ALTERNATIVE_${PN}-rmt = "rmt" 53ALTERNATIVE:${PN}-rmt = "rmt"
54ALTERNATIVE_${PN}_class-nativesdk = "" 54ALTERNATIVE:${PN}:class-nativesdk = ""
55ALTERNATIVE_${PN}-rmt_class-nativesdk = "" 55ALTERNATIVE:${PN}-rmt:class-nativesdk = ""
56 56
57ALTERNATIVE_LINK_NAME[tar] = "${base_bindir}/tar" 57ALTERNATIVE_LINK_NAME[tar] = "${base_bindir}/tar"
58ALTERNATIVE_LINK_NAME[rmt] = "${sbindir}/rmt" 58ALTERNATIVE_LINK_NAME[rmt] = "${sbindir}/rmt"
59 59
60PROVIDES_append_class-native = " tar-replacement-native" 60PROVIDES:append:class-native = " tar-replacement-native"
61NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" 61NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
62 62
63BBCLASSEXTEND = "native nativesdk" 63BBCLASSEXTEND = "native nativesdk"