mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
13f3607779
commit
bee912037e
@@ -11,7 +11,7 @@ AUTHOR = "Thomas Hood"
|
|||||||
HOMEPAGE = "http://packages.debian.org/resolvconf"
|
HOMEPAGE = "http://packages.debian.org/resolvconf"
|
||||||
DEPENDS = "bash"
|
DEPENDS = "bash"
|
||||||
RDEPENDS_${PN} = "bash"
|
RDEPENDS_${PN} = "bash"
|
||||||
PR = "r0"
|
PR = "r1"
|
||||||
|
|
||||||
SRC_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/resolvconf_${PV}.tar.gz"
|
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}${sysconfdir} ${D}${sbindir} ${D}${base_sbindir} ${D}${localstatedir}/volatile/run/resolvconf/interface
|
||||||
install -d ${D}${mandir}/man8 ${D}${docdir}/${P}
|
install -d ${D}${mandir}/man8 ${D}${docdir}/${P}
|
||||||
cp -pPR etc/* ${D}${sysconfdir}/
|
cp -pPR etc/* ${D}${sysconfdir}/
|
||||||
|
chown -R root:root ${D}${sysconfdir}/
|
||||||
install -m 0755 bin/resolvconf ${D}${base_sbindir}/
|
install -m 0755 bin/resolvconf ${D}${base_sbindir}/
|
||||||
install -m 0644 README ${D}${docdir}/${P}/
|
install -m 0644 README ${D}${docdir}/${P}/
|
||||||
install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/
|
install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/
|
||||||
|
|||||||
Reference in New Issue
Block a user