summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-06-20 18:00:03 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 20:08:02 (GMT)
commitbee912037e0fd1dacc1f3a4b6df8ee9c488ecae8 (patch)
tree4fa34e0d1d28d788f6dc93d75ba79adc37ff947f
parent13f360777927f57e343d7f5f6c2a95ad179ddf48 (diff)
downloadpoky-bee912037e0fd1dacc1f3a4b6df8ee9c488ecae8.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. (From OE-Core rev: b25deb36bdca771f892b034c1a39b99ca6e0d54c) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 cb8aaaf..507a233 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"
11HOMEPAGE = "http://packages.debian.org/resolvconf" 11HOMEPAGE = "http://packages.debian.org/resolvconf"
12DEPENDS = "bash" 12DEPENDS = "bash"
13RDEPENDS_${PN} = "bash" 13RDEPENDS_${PN} = "bash"
14PR = "r0" 14PR = "r1"
15 15
16SRC_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/resolvconf_${PV}.tar.gz" 16SRC_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/resolvconf_${PV}.tar.gz"
17 17
@@ -27,6 +27,7 @@ do_install () {
27 install -d ${D}${sysconfdir} ${D}${sbindir} ${D}${base_sbindir} ${D}${localstatedir}/volatile/run/resolvconf/interface 27 install -d ${D}${sysconfdir} ${D}${sbindir} ${D}${base_sbindir} ${D}${localstatedir}/volatile/run/resolvconf/interface
28 install -d ${D}${mandir}/man8 ${D}${docdir}/${P} 28 install -d ${D}${mandir}/man8 ${D}${docdir}/${P}
29 cp -pPR etc/* ${D}${sysconfdir}/ 29 cp -pPR etc/* ${D}${sysconfdir}/
30 chown -R root:root ${D}${sysconfdir}/
30 install -m 0755 bin/resolvconf ${D}${base_sbindir}/ 31 install -m 0755 bin/resolvconf ${D}${base_sbindir}/
31 install -m 0644 README ${D}${docdir}/${P}/ 32 install -m 0644 README ${D}${docdir}/${P}/
32 install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/ 33 install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/