Skip to contentSkip to conversation

eglibc/glibc: Kill off (again) zoneinfo

PATCH In review Tom Rini 2 participants 2 messages Oct 1, 2010

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

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
index 36424d5..239317f 100644
@@ -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
index 06d91be..5871be0 100644
@@ -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
index 2e215c5..a68f343 100644
@@ -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
index 2e9474d..0b263bb 100644
@@ -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
index 643ebd3..f3c0c08 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Tom Rini

We want to get zoneinfo from the tzdata package.

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
index 36424d5..239317f 100644
@@ -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
index 06d91be..5871be0 100644
@@ -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
index 2e215c5..a68f343 100644
@@ -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 yet
recipes/glibc/glibc-package.inc +0 -0
index 2e9474d..0b263bb 100644
@@ -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 +0 -0
index 643ebd3..f3c0c08 100644
@@ -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

recipes/glibc/glibc.inc +1 -1
-INC_PR = "r36"
+INC_PR = "r37"

 inherit autotools

--
1.6.3.3