tzdata: add localtime in conffiles
authorJohn Lee <john_lee@openmoko.com>
Wed, 3 Sep 2008 12:59:30 +0000 (20:59 +0800)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 16 Nov 2008 01:56:03 +0000 (02:56 +0100)
trac #1938: tzdata package should not overwrite /etc/localtime

packages/tzdata/tzdata_2007k.bb

index 20a77fa..75c9f34 100644 (file)
@@ -3,7 +3,7 @@ SECTION = "base"
 PRIORITY = "optional"
 DEPENDS = "tzcode-native"
 
-PR = "r3"
+PR = "r3.01"
 
 RCONFLICTS= "timezones timezone-africa timezone-america timezone-antarctica \
              timezone-arctic timezone-asia timezone-atlantic \
@@ -19,7 +19,7 @@ TZONES= "africa antarctica asia australasia europe northamerica southamerica  \
 #        pacificnew \
         "
 
-CONFFILES_${PN} = "${sysconfdir}/timezone"
+CONFFILES_${PN} = "${sysconfdir}/timezone ${sysconfdir}/localtime"
 
 do_compile () {
         for zone in ${TZONES}; do \