summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc
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-core/glibc
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-core/glibc')
-rw-r--r--meta/recipes-core/glibc/glibc-common.inc8
-rw-r--r--meta/recipes-core/glibc/glibc-ld.inc2
-rw-r--r--meta/recipes-core/glibc/glibc-locale.inc30
-rw-r--r--meta/recipes-core/glibc/glibc-mtrace.inc4
-rw-r--r--meta/recipes-core/glibc/glibc-package.inc134
-rw-r--r--meta/recipes-core/glibc/glibc-scripts.inc4
-rw-r--r--meta/recipes-core/glibc/glibc-testsuite_2.33.bb4
-rw-r--r--meta/recipes-core/glibc/glibc.inc8
-rw-r--r--meta/recipes-core/glibc/glibc_2.33.bb8
9 files changed, 101 insertions, 101 deletions
diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc
index 41ff7e9a19..782b2605cc 100644
--- a/meta/recipes-core/glibc/glibc-common.inc
+++ b/meta/recipes-core/glibc/glibc-common.inc
@@ -13,13 +13,13 @@ CVE_PRODUCT = "glibc"
13 13
14INHIBIT_DEFAULT_DEPS = "1" 14INHIBIT_DEFAULT_DEPS = "1"
15 15
16ARM_INSTRUCTION_SET_armv4 = "arm" 16ARM_INSTRUCTION_SET:armv4 = "arm"
17ARM_INSTRUCTION_SET_armv5 = "arm" 17ARM_INSTRUCTION_SET:armv5 = "arm"
18ARM_INSTRUCTION_SET_armv6 = "arm" 18ARM_INSTRUCTION_SET:armv6 = "arm"
19# 19#
20# We will skip parsing glibc when target system C library selection is not glibc 20# We will skip parsing glibc when target system C library selection is not glibc
21# this helps in easing out parsing for non-glibc system libraries 21# this helps in easing out parsing for non-glibc system libraries
22# 22#
23COMPATIBLE_HOST_libc-musl_class-target = "null" 23COMPATIBLE_HOST:libc-musl:class-target = "null"
24 24
25PV = "2.33" 25PV = "2.33"
diff --git a/meta/recipes-core/glibc/glibc-ld.inc b/meta/recipes-core/glibc/glibc-ld.inc
index 041ffbb9cb..da8fcc430b 100644
--- a/meta/recipes-core/glibc/glibc-ld.inc
+++ b/meta/recipes-core/glibc/glibc-ld.inc
@@ -16,5 +16,5 @@ def glibc_dl_info(d):
16 16
17EGLIBC_KNOWN_INTERPRETER_NAMES = "${@glibc_dl_info(d)['ldconfig']}" 17EGLIBC_KNOWN_INTERPRETER_NAMES = "${@glibc_dl_info(d)['ldconfig']}"
18RTLDLIST = "${@glibc_dl_info(d)['lddrewrite']}" 18RTLDLIST = "${@glibc_dl_info(d)['lddrewrite']}"
19RTLDLIST_class-nativesdk = "${base_libdir}/${@bb.utils.contains('SDK_ARCH', 'x86_64', 'ld-linux-x86-64.so.2', 'ld-linux.so.2', d)}" 19RTLDLIST:class-nativesdk = "${base_libdir}/${@bb.utils.contains('SDK_ARCH', 'x86_64', 'ld-linux-x86-64.so.2', 'ld-linux.so.2', d)}"
20glibc_dl_info[vardepsexclude] = "OVERRIDES" 20glibc_dl_info[vardepsexclude] = "OVERRIDES"
diff --git a/meta/recipes-core/glibc/glibc-locale.inc b/meta/recipes-core/glibc/glibc-locale.inc
index ef06389ff9..b8de7d3192 100644
--- a/meta/recipes-core/glibc/glibc-locale.inc
+++ b/meta/recipes-core/glibc/glibc-locale.inc
@@ -9,7 +9,7 @@ LOCALEBASEPN = "${MLPREFIX}glibc"
9# ERROR: objcopy failed with exit code 127 (cmd was 'i586-webos-linux-objcopy' --only-keep-debug 'glibc-locale/2.17-r0/package/usr/lib/gconv/IBM1166.so' 'glibc-locale/2.17-r0/package/usr/lib/gconv/.debug/IBM1166.so') 9# ERROR: objcopy failed with exit code 127 (cmd was 'i586-webos-linux-objcopy' --only-keep-debug 'glibc-locale/2.17-r0/package/usr/lib/gconv/IBM1166.so' 'glibc-locale/2.17-r0/package/usr/lib/gconv/.debug/IBM1166.so')
10# ERROR: Function failed: split_and_strip_files 10# ERROR: Function failed: split_and_strip_files
11BINUTILSDEP = "virtual/${MLPREFIX}${TARGET_PREFIX}binutils:do_populate_sysroot" 11BINUTILSDEP = "virtual/${MLPREFIX}${TARGET_PREFIX}binutils:do_populate_sysroot"
12BINUTILSDEP_class-nativesdk = "virtual/${TARGET_PREFIX}binutils-crosssdk:do_populate_sysroot" 12BINUTILSDEP:class-nativesdk = "virtual/${TARGET_PREFIX}binutils-crosssdk:do_populate_sysroot"
13do_package[depends] += "${BINUTILSDEP}" 13do_package[depends] += "${BINUTILSDEP}"
14 14
15DEPENDS += "virtual/libc" 15DEPENDS += "virtual/libc"
@@ -21,7 +21,7 @@ DEPENDS += "virtual/libc"
21 21
22# default to disabled 22# default to disabled
23ENABLE_BINARY_LOCALE_GENERATION ?= "0" 23ENABLE_BINARY_LOCALE_GENERATION ?= "0"
24ENABLE_BINARY_LOCALE_GENERATION_pn-nativesdk-glibc-locale = "1" 24ENABLE_BINARY_LOCALE_GENERATION:pn-nativesdk-glibc-locale = "1"
25 25
26#enable locale generation on these arches 26#enable locale generation on these arches
27# BINARY_LOCALE_ARCHES is a space separated list of regular expressions 27# BINARY_LOCALE_ARCHES is a space separated list of regular expressions
@@ -40,32 +40,32 @@ PACKAGES_DYNAMIC = "^locale-base-.* \
40 ^${MLPREFIX}glibc-gconv$" 40 ^${MLPREFIX}glibc-gconv$"
41 41
42# Create a glibc-binaries package 42# Create a glibc-binaries package
43ALLOW_EMPTY_${BPN}-binaries = "1" 43ALLOW_EMPTY:${BPN}-binaries = "1"
44PACKAGES += "${BPN}-binaries" 44PACKAGES += "${BPN}-binaries"
45RRECOMMENDS_${BPN}-binaries = "${@" ".join([p for p in d.getVar('PACKAGES').split() if p.find("glibc-binary") != -1])}" 45RRECOMMENDS:${BPN}-binaries = "${@" ".join([p for p in d.getVar('PACKAGES').split() if p.find("glibc-binary") != -1])}"
46 46
47# Create a glibc-charmaps package 47# Create a glibc-charmaps package
48ALLOW_EMPTY_${BPN}-charmaps = "1" 48ALLOW_EMPTY:${BPN}-charmaps = "1"
49PACKAGES += "${BPN}-charmaps" 49PACKAGES += "${BPN}-charmaps"
50RRECOMMENDS_${BPN}-charmaps = "${@" ".join([p for p in d.getVar('PACKAGES').split() if p.find("glibc-charmap") != -1])}" 50RRECOMMENDS:${BPN}-charmaps = "${@" ".join([p for p in d.getVar('PACKAGES').split() if p.find("glibc-charmap") != -1])}"
51 51
52# Create a glibc-gconvs package 52# Create a glibc-gconvs package
53ALLOW_EMPTY_${BPN}-gconvs = "1" 53ALLOW_EMPTY:${BPN}-gconvs = "1"
54PACKAGES += "${BPN}-gconvs" 54PACKAGES += "${BPN}-gconvs"
55RRECOMMENDS_${BPN}-gconvs = "${@" ".join([p for p in d.getVar('PACKAGES').split() if p.find("glibc-gconv") != -1])}" 55RRECOMMENDS:${BPN}-gconvs = "${@" ".join([p for p in d.getVar('PACKAGES').split() if p.find("glibc-gconv") != -1])}"
56 56
57# Create a glibc-localedatas package 57# Create a glibc-localedatas package
58ALLOW_EMPTY_${BPN}-localedatas = "1" 58ALLOW_EMPTY:${BPN}-localedatas = "1"
59PACKAGES += "${BPN}-localedatas" 59PACKAGES += "${BPN}-localedatas"
60RRECOMMENDS_${BPN}-localedatas = "${@" ".join([p for p in d.getVar('PACKAGES').split() if p.find("glibc-localedata") != -1])}" 60RRECOMMENDS:${BPN}-localedatas = "${@" ".join([p for p in d.getVar('PACKAGES').split() if p.find("glibc-localedata") != -1])}"
61 61
62DESCRIPTION_localedef = "glibc: compile locale definition files" 62DESCRIPTION:localedef = "glibc: compile locale definition files"
63 63
64# glibc-gconv is dynamically added into PACKAGES, thus 64# glibc-gconv is dynamically added into PACKAGES, thus
65# FILES_glibc-gconv will not be automatically extended in multilib. 65# FILES:glibc-gconv will not be automatically extended in multilib.
66# Explicitly add ${MLPREFIX} for FILES_glibc-gconv. 66# Explicitly add ${MLPREFIX} for FILES:glibc-gconv.
67FILES_${MLPREFIX}glibc-gconv = "${libdir}/gconv/*" 67FILES:${MLPREFIX}glibc-gconv = "${libdir}/gconv/*"
68FILES_localedef = "${bindir}/localedef" 68FILES:localedef = "${bindir}/localedef"
69 69
70LOCALETREESRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale" 70LOCALETREESRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale"
71 71
diff --git a/meta/recipes-core/glibc/glibc-mtrace.inc b/meta/recipes-core/glibc/glibc-mtrace.inc
index ef9d60ec23..734a566562 100644
--- a/meta/recipes-core/glibc/glibc-mtrace.inc
+++ b/meta/recipes-core/glibc/glibc-mtrace.inc
@@ -2,8 +2,8 @@ require glibc-collateral.inc
2 2
3SUMMARY = "mtrace utility provided by glibc" 3SUMMARY = "mtrace utility provided by glibc"
4DESCRIPTION = "mtrace utility provided by glibc" 4DESCRIPTION = "mtrace utility provided by glibc"
5RDEPENDS_${PN} = "perl" 5RDEPENDS:${PN} = "perl"
6RPROVIDES_${PN} = "libc-mtrace" 6RPROVIDES:${PN} = "libc-mtrace"
7 7
8SRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale/scripts" 8SRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale/scripts"
9 9
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc
index 92e5dbac61..4bf5038fc0 100644
--- a/meta/recipes-core/glibc/glibc-package.inc
+++ b/meta/recipes-core/glibc/glibc-package.inc
@@ -3,67 +3,67 @@ INHIBIT_SYSROOT_STRIP = "1"
3PACKAGES = "${PN}-dbg catchsegv sln nscd ldconfig ldd tzcode glibc-thread-db ${PN}-pic libcidn libmemusage libnss-db libsegfault ${PN}-pcprofile libsotruss ${PN} ${PN}-utils glibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}-src" 3PACKAGES = "${PN}-dbg catchsegv sln nscd ldconfig ldd tzcode glibc-thread-db ${PN}-pic libcidn libmemusage libnss-db libsegfault ${PN}-pcprofile libsotruss ${PN} ${PN}-utils glibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}-src"
4 4
5# The ld.so in this glibc supports the GNU_HASH 5# The ld.so in this glibc supports the GNU_HASH
6RPROVIDES_${PN} = "eglibc rtld(GNU_HASH)" 6RPROVIDES:${PN} = "eglibc rtld(GNU_HASH)"
7RPROVIDES_${PN}-utils = "eglibc-utils" 7RPROVIDES:${PN}-utils = "eglibc-utils"
8RPROVIDES_${PN}-mtrace = "eglibc-mtrace libc-mtrace" 8RPROVIDES:${PN}-mtrace = "eglibc-mtrace libc-mtrace"
9RPROVIDES_${PN}-pic = "eglibc-pic" 9RPROVIDES:${PN}-pic = "eglibc-pic"
10RPROVIDES_${PN}-dev = "eglibc-dev libc6-dev virtual-libc-dev" 10RPROVIDES:${PN}-dev = "eglibc-dev libc6-dev virtual-libc-dev"
11RPROVIDES_${PN}-staticdev = "eglibc-staticdev" 11RPROVIDES:${PN}-staticdev = "eglibc-staticdev"
12RPROVIDES_${PN}-doc = "eglibc-doc" 12RPROVIDES:${PN}-doc = "eglibc-doc"
13RPROVIDES_glibc-extra-nss = "eglibc-extra-nss" 13RPROVIDES:glibc-extra-nss = "eglibc-extra-nss"
14RPROVIDES_glibc-thread-db = "eglibc-thread-db" 14RPROVIDES:glibc-thread-db = "eglibc-thread-db"
15RPROVIDES_${PN}-pcprofile = "eglibc-pcprofile" 15RPROVIDES:${PN}-pcprofile = "eglibc-pcprofile"
16RPROVIDES_${PN}-dbg = "eglibc-dbg" 16RPROVIDES:${PN}-dbg = "eglibc-dbg"
17libc_baselibs = "${base_libdir}/libc.so.* ${base_libdir}/libc-*.so ${base_libdir}/libm*.so.* ${base_libdir}/libm-*.so ${base_libdir}/libmvec-*.so ${base_libdir}/ld*.so.* ${base_libdir}/ld-*.so ${base_libdir}/libpthread*.so.* ${base_libdir}/libpthread-*.so ${base_libdir}/libresolv*.so.* ${base_libdir}/libresolv-*.so ${base_libdir}/librt*.so.* ${base_libdir}/librt-*.so ${base_libdir}/libutil*.so.* ${base_libdir}/libutil-*.so ${base_libdir}/libnsl*.so.* ${base_libdir}/libnsl-*.so ${base_libdir}/libnss_files*.so.* ${base_libdir}/libnss_files-*.so ${base_libdir}/libnss_compat*.so.* ${base_libdir}/libnss_compat-*.so ${base_libdir}/libnss_dns*.so.* ${base_libdir}/libnss_dns-*.so ${base_libdir}/libdl*.so.* ${base_libdir}/libdl-*.so ${base_libdir}/libanl*.so.* ${base_libdir}/libanl-*.so ${base_libdir}/libBrokenLocale*.so.* ${base_libdir}/libBrokenLocale-*.so" 17libc_baselibs = "${base_libdir}/libc.so.* ${base_libdir}/libc-*.so ${base_libdir}/libm*.so.* ${base_libdir}/libm-*.so ${base_libdir}/libmvec-*.so ${base_libdir}/ld*.so.* ${base_libdir}/ld-*.so ${base_libdir}/libpthread*.so.* ${base_libdir}/libpthread-*.so ${base_libdir}/libresolv*.so.* ${base_libdir}/libresolv-*.so ${base_libdir}/librt*.so.* ${base_libdir}/librt-*.so ${base_libdir}/libutil*.so.* ${base_libdir}/libutil-*.so ${base_libdir}/libnsl*.so.* ${base_libdir}/libnsl-*.so ${base_libdir}/libnss_files*.so.* ${base_libdir}/libnss_files-*.so ${base_libdir}/libnss_compat*.so.* ${base_libdir}/libnss_compat-*.so ${base_libdir}/libnss_dns*.so.* ${base_libdir}/libnss_dns-*.so ${base_libdir}/libdl*.so.* ${base_libdir}/libdl-*.so ${base_libdir}/libanl*.so.* ${base_libdir}/libanl-*.so ${base_libdir}/libBrokenLocale*.so.* ${base_libdir}/libBrokenLocale-*.so"
18ARCH_DYNAMIC_LOADER = "" 18ARCH_DYNAMIC_LOADER = ""
19# The aarch64 ABI says the dynamic linker -must- be 19# The aarch64 ABI says the dynamic linker -must- be
20# /lib/ld-linux-aarch64{,_be}.so.1. With usrmerge, that may mean that 20# /lib/ld-linux-aarch64{,_be}.so.1. With usrmerge, that may mean that
21# we need to install it in /usr/lib. 21# we need to install it in /usr/lib.
22ARCH_DYNAMIC_LOADER_aarch64 = "ld-linux-${TARGET_ARCH}.so.1" 22ARCH_DYNAMIC_LOADER:aarch64 = "ld-linux-${TARGET_ARCH}.so.1"
23libc_baselibs_append = " ${@oe.utils.conditional('ARCH_DYNAMIC_LOADER', '', '', '${root_prefix}/lib/${ARCH_DYNAMIC_LOADER}', d)}" 23libc_baselibs:append = " ${@oe.utils.conditional('ARCH_DYNAMIC_LOADER', '', '', '${root_prefix}/lib/${ARCH_DYNAMIC_LOADER}', d)}"
24INSANE_SKIP_${PN}_append_aarch64 = " libdir" 24INSANE_SKIP:${PN}:append:aarch64 = " libdir"
25 25
26FILES_${PN} = "${libc_baselibs} ${libexecdir}/* ${sysconfdir}/ld.so.conf" 26FILES:${PN} = "${libc_baselibs} ${libexecdir}/* ${sysconfdir}/ld.so.conf"
27RRECOMMENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'ldconfig', '${MLPREFIX}ldconfig', '', d)}" 27RRECOMMENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'ldconfig', '${MLPREFIX}ldconfig', '', d)}"
28FILES_ldconfig = "${base_sbindir}/ldconfig" 28FILES:ldconfig = "${base_sbindir}/ldconfig"
29FILES_ldd = "${bindir}/ldd" 29FILES:ldd = "${bindir}/ldd"
30FILES_libsegfault = "${base_libdir}/libSegFault*" 30FILES:libsegfault = "${base_libdir}/libSegFault*"
31FILES_libcidn = "${base_libdir}/libcidn-*.so ${base_libdir}/libcidn.so.*" 31FILES:libcidn = "${base_libdir}/libcidn-*.so ${base_libdir}/libcidn.so.*"
32FILES_libmemusage = "${base_libdir}/libmemusage.so" 32FILES:libmemusage = "${base_libdir}/libmemusage.so"
33FILES_libnss-db = "${base_libdir}/libnss_db.so.* ${base_libdir}/libnss_db-*.so ${localstatedir}/db/Makefile ${localstatedir}/db/makedbs.sh" 33FILES:libnss-db = "${base_libdir}/libnss_db.so.* ${base_libdir}/libnss_db-*.so ${localstatedir}/db/Makefile ${localstatedir}/db/makedbs.sh"
34RDEPENDS_libnss-db = "${PN}-utils" 34RDEPENDS:libnss-db = "${PN}-utils"
35FILES_glibc-extra-nss = "${base_libdir}/libnss_*-*.so ${base_libdir}/libnss_*.so.*" 35FILES:glibc-extra-nss = "${base_libdir}/libnss_*-*.so ${base_libdir}/libnss_*.so.*"
36FILES_sln = "${base_sbindir}/sln" 36FILES:sln = "${base_sbindir}/sln"
37FILES_${PN}-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/*.o" 37FILES:${PN}-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/*.o"
38FILES_libsotruss = "${libdir}/audit/sotruss-lib.so" 38FILES:libsotruss = "${libdir}/audit/sotruss-lib.so"
39FILES_SOLIBSDEV = "${libdir}/lib*${SOLIBSDEV}" 39FILES_SOLIBSDEV = "${libdir}/lib*${SOLIBSDEV}"
40FILES_${PN}-dev += "${libdir}/*_nonshared.a ${base_libdir}/*_nonshared.a ${base_libdir}/*.o ${datadir}/aclocal" 40FILES:${PN}-dev += "${libdir}/*_nonshared.a ${base_libdir}/*_nonshared.a ${base_libdir}/*.o ${datadir}/aclocal"
41RDEPENDS_${PN}-dev = "linux-libc-headers-dev" 41RDEPENDS:${PN}-dev = "linux-libc-headers-dev"
42FILES_${PN}-staticdev += "${libdir}/*.a ${base_libdir}/*.a" 42FILES:${PN}-staticdev += "${libdir}/*.a ${base_libdir}/*.a"
43FILES_nscd = "${sbindir}/nscd* ${sysconfdir}/init.d/nscd ${systemd_unitdir}/system/nscd* ${sysconfdir}/tmpfiles.d/nscd.conf \ 43FILES:nscd = "${sbindir}/nscd* ${sysconfdir}/init.d/nscd ${systemd_unitdir}/system/nscd* ${sysconfdir}/tmpfiles.d/nscd.conf \
44 ${sysconfdir}/nscd.conf ${sysconfdir}/default/volatiles/98_nscd ${localstatedir}/db/nscd" 44 ${sysconfdir}/nscd.conf ${sysconfdir}/default/volatiles/98_nscd ${localstatedir}/db/nscd"
45FILES_${PN}-mtrace = "${bindir}/mtrace" 45FILES:${PN}-mtrace = "${bindir}/mtrace"
46FILES_tzcode = "${bindir}/tzselect ${sbindir}/zic ${bindir}/zdump" 46FILES:tzcode = "${bindir}/tzselect ${sbindir}/zic ${bindir}/zdump"
47FILES_${PN}-utils = "${bindir}/* ${sbindir}/*" 47FILES:${PN}-utils = "${bindir}/* ${sbindir}/*"
48FILES_catchsegv = "${bindir}/catchsegv" 48FILES:catchsegv = "${bindir}/catchsegv"
49RDEPENDS_catchsegv = "libsegfault" 49RDEPENDS:catchsegv = "libsegfault"
50FILES_${PN}-pcprofile = "${base_libdir}/libpcprofile.so" 50FILES:${PN}-pcprofile = "${base_libdir}/libpcprofile.so"
51FILES_glibc-thread-db = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so" 51FILES:glibc-thread-db = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so"
52RPROVIDES_${PN}-dev += "libc-dev" 52RPROVIDES:${PN}-dev += "libc-dev"
53RPROVIDES_${PN}-staticdev += "libc-staticdev" 53RPROVIDES:${PN}-staticdev += "libc-staticdev"
54 54
55SUMMARY_sln = "The static ln" 55SUMMARY:sln = "The static ln"
56DESCRIPTION_sln = "Similar to the 'ln' utility, but statically linked. sln is useful to make symbolic links to dynamic libraries if the dynamic linking system, for some reason, is not functional." 56DESCRIPTION:sln = "Similar to the 'ln' utility, but statically linked. sln is useful to make symbolic links to dynamic libraries if the dynamic linking system, for some reason, is not functional."
57SUMMARY_nscd = "Name service cache daemon" 57SUMMARY:nscd = "Name service cache daemon"
58DESCRIPTION_nscd = "nscd, name service cache daemon, caches name service lookups for the passwd, group and hosts information. It can damatically improvide performance with remote, such as NIS or NIS+, name services." 58DESCRIPTION:nscd = "nscd, name service cache daemon, caches name service lookups for the passwd, group and hosts information. It can damatically improvide performance with remote, such as NIS or NIS+, name services."
59SUMMARY_glibc-extra-nss = "hesiod, NIS and NIS+ nss libraries" 59SUMMARY:glibc-extra-nss = "hesiod, NIS and NIS+ nss libraries"
60DESCRIPTION_glibc-extra-nss = "glibc: nis, nisplus and hesiod search services." 60DESCRIPTION:glibc-extra-nss = "glibc: nis, nisplus and hesiod search services."
61SUMMARY_ldd = "print shared library dependencies" 61SUMMARY:ldd = "print shared library dependencies"
62DESCRIPTION_ldd = "${bindir}/ldd prints shared library dependencies for each program or shared library specified on the command line." 62DESCRIPTION:ldd = "${bindir}/ldd prints shared library dependencies for each program or shared library specified on the command line."
63SUMMARY_${PN}-utils = "Miscellaneous utilities provided by glibc" 63SUMMARY:${PN}-utils = "Miscellaneous utilities provided by glibc"
64DESCRIPTION_${PN}-utils = "Miscellaneous utilities including getconf, iconv, locale, gencat, ..." 64DESCRIPTION:${PN}-utils = "Miscellaneous utilities including getconf, iconv, locale, gencat, ..."
65DESCRIPTION_libsotruss = "Library to support sotruss which traces calls through PLTs" 65DESCRIPTION:libsotruss = "Library to support sotruss which traces calls through PLTs"
66DESCRIPTION_tzcode = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" 66DESCRIPTION:tzcode = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect"
67 67
68inherit multilib_header 68inherit multilib_header
69 69
@@ -125,7 +125,7 @@ def get_libc_fpu_setting(bb, d):
125 return "--without-fp" 125 return "--without-fp"
126 return "" 126 return ""
127 127
128do_install_append_class-target() { 128do_install:append:class-target() {
129 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 129 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
130 install -d ${D}${sysconfdir}/tmpfiles.d 130 install -d ${D}${sysconfdir}/tmpfiles.d
131 echo "d /run/nscd 755 root root -" \ 131 echo "d /run/nscd 755 root root -" \
@@ -139,15 +139,15 @@ do_install_append_class-target() {
139 fi 139 fi
140 140
141} 141}
142do_install_append_aarch64 () { 142do_install:append:aarch64 () {
143 do_install_armmultilib 143 do_install_armmultilib
144} 144}
145 145
146do_install_append_arm () { 146do_install:append:arm () {
147 do_install_armmultilib 147 do_install_armmultilib
148} 148}
149 149
150do_install_append_armeb () { 150do_install:append:armeb () {
151 do_install_armmultilib 151 do_install_armmultilib
152} 152}
153 153
@@ -252,26 +252,26 @@ stash_locale_package_cleanup() {
252 stash_locale_cleanup ${PKGD} 252 stash_locale_cleanup ${PKGD}
253} 253}
254 254
255python populate_packages_prepend () { 255python populate_packages:prepend () {
256 if d.getVar('DEBIAN_NAMES'): 256 if d.getVar('DEBIAN_NAMES'):
257 pkgs = d.getVar('PACKAGES').split() 257 pkgs = d.getVar('PACKAGES').split()
258 bpn = d.getVar('BPN') 258 bpn = d.getVar('BPN')
259 prefix = d.getVar('MLPREFIX') or "" 259 prefix = d.getVar('MLPREFIX') or ""
260 # Set the base package... 260 # Set the base package...
261 d.setVar('PKG_' + prefix + bpn, prefix + 'libc6') 261 d.setVar('PKG:' + prefix + bpn, prefix + 'libc6')
262 libcprefix = prefix + bpn + '-' 262 libcprefix = prefix + bpn + '-'
263 for p in pkgs: 263 for p in pkgs:
264 # And all the subpackages. 264 # And all the subpackages.
265 if p.startswith(libcprefix): 265 if p.startswith(libcprefix):
266 renamed = p.replace(bpn, 'libc6', 1) 266 renamed = p.replace(bpn, 'libc6', 1)
267 d.setVar('PKG_' + p, renamed) 267 d.setVar('PKG:' + p, renamed)
268 # For backward compatibility with old -dbg package 268 # For backward compatibility with old -dbg package
269 d.appendVar('RPROVIDES_' + libcprefix + 'dbg', ' ' + prefix + 'libc-dbg') 269 d.appendVar('RPROVIDES:' + libcprefix + 'dbg', ' ' + prefix + 'libc-dbg')
270 d.appendVar('RCONFLICTS_' + libcprefix + 'dbg', ' ' + prefix + 'libc-dbg') 270 d.appendVar('RCONFLICTS:' + libcprefix + 'dbg', ' ' + prefix + 'libc-dbg')
271 d.appendVar('RREPLACES_' + libcprefix + 'dbg', ' ' + prefix + 'libc-dbg') 271 d.appendVar('RREPLACES:' + libcprefix + 'dbg', ' ' + prefix + 'libc-dbg')
272} 272}
273 273
274pkg_postinst_nscd () { 274pkg_postinst:nscd () {
275 if [ -z "$D" ]; then 275 if [ -z "$D" ]; then
276 if command -v systemd-tmpfiles >/dev/null; then 276 if command -v systemd-tmpfiles >/dev/null; then
277 systemd-tmpfiles --create ${sysconfdir}/tmpfiles.d/nscd.conf 277 systemd-tmpfiles --create ${sysconfdir}/tmpfiles.d/nscd.conf
@@ -280,7 +280,7 @@ pkg_postinst_nscd () {
280 fi 280 fi
281 fi 281 fi
282} 282}
283CONFFILES_nscd="${sysconfdir}/nscd.conf" 283CONFFILES:nscd="${sysconfdir}/nscd.conf"
284 284
285SYSTEMD_PACKAGES = "nscd" 285SYSTEMD_PACKAGES = "nscd"
286SYSTEMD_SERVICE_nscd = "nscd.service" 286SYSTEMD_SERVICE:nscd = "nscd.service"
diff --git a/meta/recipes-core/glibc/glibc-scripts.inc b/meta/recipes-core/glibc/glibc-scripts.inc
index 14a14e4512..47216ae7d7 100644
--- a/meta/recipes-core/glibc/glibc-scripts.inc
+++ b/meta/recipes-core/glibc/glibc-scripts.inc
@@ -2,7 +2,7 @@ require glibc-collateral.inc
2 2
3SUMMARY = "utility scripts provided by glibc" 3SUMMARY = "utility scripts provided by glibc"
4DESCRIPTION = "utility scripts provided by glibc" 4DESCRIPTION = "utility scripts provided by glibc"
5RDEPENDS_${PN} = "bash glibc-mtrace" 5RDEPENDS:${PN} = "bash glibc-mtrace"
6 6
7SRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale/scripts" 7SRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale/scripts"
8 8
@@ -17,7 +17,7 @@ do_install() {
17 17
18# sotruss script requires sotruss-lib.so (given by libsotruss package), 18# sotruss script requires sotruss-lib.so (given by libsotruss package),
19# to produce trace of the library calls. 19# to produce trace of the library calls.
20RDEPENDS_${PN} += "libsotruss" 20RDEPENDS:${PN} += "libsotruss"
21 21
22# Don't scan for CVEs as glibc will be scanned 22# Don't scan for CVEs as glibc will be scanned
23CVE_PRODUCT = "" 23CVE_PRODUCT = ""
diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.33.bb b/meta/recipes-core/glibc/glibc-testsuite_2.33.bb
index 659d3132fa..72aa332171 100644
--- a/meta/recipes-core/glibc/glibc-testsuite_2.33.bb
+++ b/meta/recipes-core/glibc/glibc-testsuite_2.33.bb
@@ -3,7 +3,7 @@ require glibc_${PV}.bb
3EXCLUDE_FROM_WORLD = "1" 3EXCLUDE_FROM_WORLD = "1"
4 4
5# handle PN differences 5# handle PN differences
6FILESEXTRAPATHS_prepend := "${THISDIR}/glibc:" 6FILESEXTRAPATHS:prepend := "${THISDIR}/glibc:"
7 7
8# strip provides 8# strip provides
9PROVIDES = "" 9PROVIDES = ""
@@ -20,7 +20,7 @@ python () {
20DEPENDS += "glibc-locale libgcc gcc-runtime" 20DEPENDS += "glibc-locale libgcc gcc-runtime"
21 21
22# remove the initial depends 22# remove the initial depends
23DEPENDS_remove = "libgcc-initial" 23DEPENDS:remove = "libgcc-initial"
24 24
25inherit qemu 25inherit qemu
26 26
diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc
index 7d14306377..04e6db99b9 100644
--- a/meta/recipes-core/glibc/glibc.inc
+++ b/meta/recipes-core/glibc/glibc.inc
@@ -24,10 +24,10 @@ CACHED_CONFIGUREVARS += " \
24" 24"
25 25
26# ifunc doesn't appear to work on mips, casuses libbfd assertion failures 26# ifunc doesn't appear to work on mips, casuses libbfd assertion failures
27CACHED_CONFIGUREVARS_append_mipsarch = " libc_cv_ld_gnu_indirect_function=no" 27CACHED_CONFIGUREVARS:append:mipsarch = " libc_cv_ld_gnu_indirect_function=no"
28 28
29GLIBC_EXTRA_OECONF ?= "" 29GLIBC_EXTRA_OECONF ?= ""
30GLIBC_EXTRA_OECONF_class-nativesdk = "" 30GLIBC_EXTRA_OECONF:class-nativesdk = ""
31 31
32# glibc uses PARALLELMFLAGS variable to pass parallel build info so transfer 32# glibc uses PARALLELMFLAGS variable to pass parallel build info so transfer
33# PARALLEL_MAKE into PARALLELMFLAGS and empty out PARALLEL_MAKE 33# PARALLEL_MAKE into PARALLELMFLAGS and empty out PARALLEL_MAKE
@@ -41,12 +41,12 @@ PARALLEL_MAKE = ""
41# ensure make uses /bin/bash 41# ensure make uses /bin/bash
42EXTRA_OEMAKE += "SHELL=/bin/bash" 42EXTRA_OEMAKE += "SHELL=/bin/bash"
43 43
44do_configure_prepend() { 44do_configure:prepend() {
45 sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in 45 sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
46} 46}
47 47
48# Enable backtrace from abort() 48# Enable backtrace from abort()
49do_configure_append_arm () { 49do_configure:append:arm () {
50 echo "CFLAGS-abort.c = -fasynchronous-unwind-tables" >> ${B}/configparms 50 echo "CFLAGS-abort.c = -fasynchronous-unwind-tables" >> ${B}/configparms
51 echo "CFLAGS-raise.c = -fasynchronous-unwind-tables" >> ${B}/configparms 51 echo "CFLAGS-raise.c = -fasynchronous-unwind-tables" >> ${B}/configparms
52} 52}
diff --git a/meta/recipes-core/glibc/glibc_2.33.bb b/meta/recipes-core/glibc/glibc_2.33.bb
index e9f01a14c5..67eb3f04bb 100644
--- a/meta/recipes-core/glibc/glibc_2.33.bb
+++ b/meta/recipes-core/glibc/glibc_2.33.bb
@@ -19,7 +19,7 @@ CVE_CHECK_WHITELIST += "CVE-2019-1010025"
19DEPENDS += "gperf-native bison-native make-native" 19DEPENDS += "gperf-native bison-native make-native"
20 20
21NATIVESDKFIXES ?= "" 21NATIVESDKFIXES ?= ""
22NATIVESDKFIXES_class-nativesdk = "\ 22NATIVESDKFIXES:class-nativesdk = "\
23 file://0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch \ 23 file://0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch \
24 file://0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch \ 24 file://0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch \
25 file://0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch \ 25 file://0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch \
@@ -90,14 +90,14 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
90 90
91EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" 91EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
92 92
93EXTRA_OECONF_append_x86 = " --enable-cet" 93EXTRA_OECONF:append:x86 = " --enable-cet"
94EXTRA_OECONF_append_x86-64 = " --enable-cet" 94EXTRA_OECONF:append:x86-64 = " --enable-cet"
95 95
96PACKAGECONFIG ??= "nscd memory-tagging" 96PACKAGECONFIG ??= "nscd memory-tagging"
97PACKAGECONFIG[nscd] = "--enable-nscd,--disable-nscd" 97PACKAGECONFIG[nscd] = "--enable-nscd,--disable-nscd"
98PACKAGECONFIG[memory-tagging] = "--enable-memory-tagging,--disable-memory-tagging" 98PACKAGECONFIG[memory-tagging] = "--enable-memory-tagging,--disable-memory-tagging"
99 99
100do_patch_append() { 100do_patch:append() {
101 bb.build.exec_func('do_fix_readlib_c', d) 101 bb.build.exec_func('do_fix_readlib_c', d)
102} 102}
103 103