summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-06-20 13:00:03 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 21:01:48 +0100
commitb25deb36bdca771f892b034c1a39b99ca6e0d54c (patch)
tree05ea65801875e8d11b52fc3327e8096fdfd438db /meta/recipes-connectivity
parent7fd8287d3320231db83c36d09f2b841e520fcfe9 (diff)
downloadopenembedded-core-contrib-b25deb36bdca771f892b034c1a39b99ca6e0d54c.tar.gz
resolveconf: Fix file owners
The file ownership of various configuration files needs to be set to root:root otherwise it inherits the user id of the build. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb b/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb
index cb8aaaf536..507a233709 100644
--- a/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb
+++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb
@@ -11,7 +11,7 @@ AUTHOR = "Thomas Hood"
HOMEPAGE = "http://packages.debian.org/resolvconf"
DEPENDS = "bash"
RDEPENDS_${PN} = "bash"
-PR = "r0"
+PR = "r1"
SRC_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/resolvconf_${PV}.tar.gz"
@@ -27,6 +27,7 @@ do_install () {
install -d ${D}${sysconfdir} ${D}${sbindir} ${D}${base_sbindir} ${D}${localstatedir}/volatile/run/resolvconf/interface
install -d ${D}${mandir}/man8 ${D}${docdir}/${P}
cp -pPR etc/* ${D}${sysconfdir}/
+ chown -R root:root ${D}${sysconfdir}/
install -m 0755 bin/resolvconf ${D}${base_sbindir}/
install -m 0644 README ${D}${docdir}/${P}/
install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/