Patchwork [6/9] tzdata: Ensure all files are owned by root:root

login
register
mail settings
Submitter Mark Hatle
Date June 23, 2011, 6:19 p.m.
Message ID <967c43d3f8b703dfac6e21be267e788950c8028d.1308852888.git.mark.hatle@windriver.com>
Download mbox | patch
Permalink /patch/6439/
State New, archived
Headers show

Comments

Mark Hatle - June 23, 2011, 6:19 p.m.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 meta/recipes-extended/tzdata/tzdata_2011g.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-extended/tzdata/tzdata_2011g.bb b/meta/recipes-extended/tzdata/tzdata_2011g.bb
index ed343c0..49847d3 100644
--- a/meta/recipes-extended/tzdata/tzdata_2011g.bb
+++ b/meta/recipes-extended/tzdata/tzdata_2011g.bb
@@ -6,7 +6,7 @@  LICENSE = "PD"
 LIC_FILES_CHKSUM = "file://asia;beginline=2;endline=3;md5=06468c0e84ef4d4c97045a4a29b08234"
 DEPENDS = "tzcode-native"
 
-PR = "r0"
+PR = "r1"
 
 RCONFLICTS= "timezones timezone-africa timezone-america timezone-antarctica \
              timezone-arctic timezone-asia timezone-atlantic \
@@ -42,7 +42,7 @@  do_install () {
         # libc is removing zoneinfo files from package
         cp -pP "${S}/zone.tab" ${D}${datadir}/zoneinfo
         cp -pP "${S}/iso3166.tab" ${D}${datadir}/zoneinfo
-
+	chown -R root:root ${D}
 }
 
 # Packages primarily organized by directory with a major city