tzdata: Both tzdata and tzdata-dbg provided tzdata, ipkg picked tzdata-dbg. Kill...
authorHolger Freyther <zecke@selfish.org>
Tue, 18 Mar 2008 22:03:33 +0000 (22:03 +0000)
committerHolger Freyther <zecke@selfish.org>
Tue, 18 Mar 2008 22:03:33 +0000 (22:03 +0000)
    The tzdata-dbg package was empty but provided "tzdata".
    The tzdata package was not empty and provided "tzdata" as well
    ipkg picked tzdata-dbg resulting in files like /usr/share/zoneinfo/America/New_York
    missing from the image.
    Kill the -dbg package, set RREPLACES on the tzdata package, I don't know how to force
    the update for people that have tzdata-dbg already deployed.

packages/tzdata/tzdata_2007k.bb

index 2fbe9ac..fde929d 100644 (file)
@@ -3,7 +3,7 @@ SECTION = "base"
 PRIORITY = "optional"
 DEPENDS = "tzcode-native"
 
-PR = "r1"
+PR = "r2"
 
 PROVIDES = "tzdata tzdata-misc tzdata-posix tzdata-right tzdata-africa \
             tzdata-americas tzdata-antarctica tzdata-arctic tzdata-asia \
@@ -14,6 +14,8 @@ RCONFLICTS= "timezones timezone-africa timezone-america timezone-antarctica \
              timezone-australia timezone-europe timezone-indian \
              timezone-iso3166.tab timezone-pacific timezone-zone.tab"
 
+RREPLACES_tzdata = "tzdata-dbg"
+
 SRC_URI = "ftp://elsie.nci.nih.gov/pub/tzdata${PV}.tar.gz"
 
 S = "${WORKDIR}"
@@ -42,7 +44,7 @@ do_install () {
 # Packages primarily organized by directory with a major city
 # in most time zones in the base package
 
-PACKAGES = "${PN}-dbg tzdata tzdata-misc tzdata-posix tzdata-right tzdata-africa \
+PACKAGES = "tzdata tzdata-misc tzdata-posix tzdata-right tzdata-africa \
     tzdata-americas tzdata-antarctica tzdata-arctic tzdata-asia \
     tzdata-atlantic tzdata-australia tzdata-europe tzdata-pacific"