eglibc/glibc: Kill off (again) zoneinfo
PATCH 1/1 eglibc/glibc: Kill off (again) zoneinfo
We want to get zoneinfo from the tzdata package.
--- classes/glibc-package.bbclass | 2 +- recipes/eglibc/eglibc-package.bbclass | 2 +- recipes/eglibc/eglibc.inc | 2 +- recipes/glibc/glibc-package.inc | 1 + recipes/glibc/glibc.inc | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-)
classes/glibc-package.bbclass +1 -1
@@ -21,7 +21,7 @@ libc_baselibs = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so ${ba # The problem is that if PN = "glibc", FILES_${PN} will overwrite FILES_glibc # Solution: Make them both the same thing, then it doesn't matter -glibcfiles = "${libc_baselibs} ${libexecdir}/* ${datadir}/zoneinfo ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig', '', d)}" +glibcfiles = "${libc_baselibs} ${libexecdir}/* ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig', '', d)}" glibcdbgfiles = "${bindir}/.debug ${sbindir}/.debug ${libdir}/.debug \ ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug \ ${libdir}/gconv/.debug ${libexecdir}/*/.debug"
recipes/eglibc/eglibc-package.bbclass +1 -1
@@ -62,7 +62,7 @@ libc_baselibs = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so ${ba # The problem is that if PN = "glibc", FILES_${PN} will overwrite FILES_glibc # Solution: Make them both the same thing, then it doesn't matter -eglibcfiles = "${libc_baselibs} ${libexecdir}/* ${datadir}/zoneinfo ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig', '', d)}" +eglibcfiles = "${libc_baselibs} ${libexecdir}/* ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig', '', d)}" eglibcdbgfiles = "${bindir}/.debug ${sbindir}/.debug ${libdir}/.debug \ ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug \ ${libdir}/gconv/.debug ${libexecdir}/*/.debug"
recipes/eglibc/eglibc.inc +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.eglibc.org/home" SECTION = "libs" PRIORITY = "required" LICENSE = "LGPL" -INC_PR = "r13" +INC_PR = "r14" # nptl needs unwind support in gcc, which can't be built without glibc. DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers" #this leads to circular deps, so lets not add it yet
recipes/glibc/glibc-package.inc +1 -0
@@ -60,6 +60,7 @@ do_install() { mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED done rm -f ${D}{sysconfdir}/rpc + rm -rf ${D}${datadir}/zoneinfo install -d ${D}${sysconfdir}/init.d install -m 0644 ${S}/nscd/nscd.conf ${D}${sysconfdir}/ install ${S}/nscd/nscd.init ${D}${sysconfdir}/init.d/nscd
recipes/glibc/glibc.inc +1 -1
@@ -13,7 +13,7 @@ PROVIDES += "virtual/libintl virtual/libiconv" COMPATIBLE_TARGET_SYS ?= "(?!nios2)" # INC_PR for glibc.inc, glibc-initial.inc and glibc-stage.inc -INC_PR = "r36" +INC_PR = "r37" inherit autotools
Signature · 1 line
1.6.3.3
Quoted 3 lines · Tom Rini
We want to get zoneinfo from the tzdata package.
Signed-off-by Tom Rini <[email protected]>
I removed it accidently. Thanks for re-fixing.
Quoted 76 lines
---
classes/glibc-package.bbclass | 2 +-
recipes/eglibc/eglibc-package.bbclass | 2 +-
recipes/eglibc/eglibc.inc | 2 +-
recipes/glibc/glibc-package.inc | 1 +
recipes/glibc/glibc.inc | 2 +-5 files changed, 5 insertions(+), 4 deletions(-)classes/glibc-package.bbclass +1
-1@@ -21,7 +21,7 @@ libc_baselibs = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so ${ba # The problem is that if PN = "glibc", FILES_${PN} will overwrite FILES_glibc # Solution: Make them both the same thing, then it doesn't matter -glibcfiles = "${libc_baselibs} ${libexecdir}/* ${datadir}/zoneinfo ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig', '', d)}" +glibcfiles = "${libc_baselibs} ${libexecdir}/* ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig', '', d)}" glibcdbgfiles = "${bindir}/.debug ${sbindir}/.debug ${libdir}/.debug \ ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug \${libdir}/gconv/.debug ${libexecdir}/*/.debug"
recipes/eglibc/eglibc-package.bbclass +1
-1@@ -62,7 +62,7 @@ libc_baselibs = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so ${ba # The problem is that if PN = "glibc", FILES_${PN} will overwrite FILES_glibc # Solution: Make them both the same thing, then it doesn't matter -eglibcfiles = "${libc_baselibs} ${libexecdir}/* ${datadir}/zoneinfo ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig', '', d)}" +eglibcfiles = "${libc_baselibs} ${libexecdir}/* ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig', '', d)}" eglibcdbgfiles = "${bindir}/.debug ${sbindir}/.debug ${libdir}/.debug \ ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug \${libdir}/gconv/.debug ${libexecdir}/*/.debug"
recipes/eglibc/eglibc.inc +0
-0@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.eglibc.org/home"SECTION = "libs"
PRIORITY = "required"
LICENSE = "LGPL"recipes/eglibc/eglibc.inc +1
-1-INC_PR = "r13" +INC_PR = "r14"# nptl needs unwind support in gcc, which can't be built without glibc. DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers" #this leads to circular deps, so lets not add it yetrecipes/glibc/glibc-package.inc +0
-0@@ -60,6 +60,7 @@ do_install() {mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED done
rm -f ${D}{sysconfdir}/rpc
+ rm -rf ${D}${datadir}/zoneinfo
install -d ${D}${sysconfdir}/init.d
install -m 0644${S}/nscd/nscd.conf${D}${sysconfdir}/ install ${S}/nscd/nscd.init ${D}${sysconfdir}/init.d/nscdrecipes/glibc/glibc.inc +0
-0@@ -13,7 +13,7 @@ PROVIDES += "virtual/libintl virtual/libiconv"COMPATIBLE_TARGET_SYS ?= "(?!nios2)"
#
INC_PRfor glibc.inc, glibc-initial.inc and glibc-stage.increcipes/glibc/glibc.inc +1
-1-INC_PR = "r36" +INC_PR = "r37"inherit autotools
--
1.6.3.3