Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 01/40] resolveconf: Fix file owners
Date: Thu, 23 Jun 2011 16:30:45 -0700	[thread overview]
Message-ID: <4E03CCA5.3040600@gmail.com> (raw)
In-Reply-To: <5c4ce64fb0bf1c4e8a5899e292917836953412d3.1308763995.git.mark.hatle@windriver.com>

On 06/22/2011 10:35 AM, Mark Hatle wrote:
> 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>
> ---
>   .../resolvconf/resolvconf_1.48.bb                  |    3 ++-
>   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"
>   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}/

you can also modify install command 3 lines above
--group=GROUP
--mode=MODE
--owner=OWNER
--preserve-timestamps

one of above options is what you need.

>   	install -m 0755 bin/resolvconf ${D}${base_sbindir}/
>   	install -m 0644 README ${D}${docdir}/${P}/
>   	install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/




  reply	other threads:[~2011-06-23 23:34 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-22 17:35 [PATCH 00/40] Various recipe fixes Mark Hatle
2011-06-22 17:35 ` [PATCH 01/40] resolveconf: Fix file owners Mark Hatle
2011-06-23 23:30   ` Khem Raj [this message]
2011-06-22 17:35 ` [PATCH 02/40] base-passwd: Fix owners/groups Mark Hatle
2011-06-22 17:35 ` [PATCH 03/40] gcc: " Mark Hatle
2011-06-22 17:35 ` [PATCH 04/40] ghostscript: Fix owner/group of /etc/cups Mark Hatle
2011-06-22 18:49   ` Phil Blundell
2011-06-22 17:35 ` [PATCH 05/40] libtirpc: Fix owner/group of /etc/netconfig Mark Hatle
2011-06-22 18:58   ` Phil Blundell
2011-06-22 17:36 ` [PATCH 06/40] tzdata: Ensure all files are owned by root:root Mark Hatle
2011-06-22 17:36 ` [PATCH 07/40] gnome-doc-utils: Fix the owner/group on select files Mark Hatle
2011-06-22 17:36 ` [PATCH 08/40] perf: Fix linux-tools to ensure perf is installed under "fakeroot" Mark Hatle
2011-06-22 18:50   ` Phil Blundell
2011-06-22 17:36 ` [PATCH 09/40] kernel.bbclass: Add support for perf-dbg package Mark Hatle
2011-06-22 17:36 ` [PATCH 10/40] sysfsutils: Fall back to default -dbg package Mark Hatle
2011-06-22 17:36 ` [PATCH 11/40] classes/package_rpm.bbclass: Enhance diagnostic messages Mark Hatle
2011-06-22 17:36 ` [PATCH 12/40] classes/package_rpm.bbclass: Change the way the PV is transformed Mark Hatle
2011-06-22 17:36 ` [PATCH 13/40] python: Switch to using the default -dbg package Mark Hatle
2011-06-22 17:38   ` Koen Kooi
2011-06-22 17:50     ` Mark Hatle
2011-06-22 17:36 ` [PATCH 14/40] python-pyobject: Remove unnecessary -dbg setting Mark Hatle
2011-06-22 17:36 ` [PATCH 15/40] libxml-parser-perl: Fix debug package Mark Hatle
2011-06-22 17:36 ` [PATCH 16/40] texinfo: Change to use the standard -dbg file Mark Hatle
2011-06-22 17:36 ` [PATCH 17/40] psmisc: Remove custom -dbg packages, use default Mark Hatle
2011-06-22 17:36 ` [PATCH 18/40] modutils: Add in missing -dbg package Mark Hatle
2011-06-22 17:37   ` Koen Kooi
2011-06-22 17:40     ` Mark Hatle
2011-06-22 17:36 ` [PATCH 19/40] liba52: Remove custom -dbg, fall back to default Mark Hatle
2011-06-22 17:36 ` [PATCH 20/40] python-gst: Add missing files to the -dbg package Mark Hatle
2011-06-22 17:36 ` [PATCH 21/40] mc: Add missing debug files to -dbg Mark Hatle
2011-06-22 17:36 ` [PATCH 22/40] gamin: " Mark Hatle
2011-06-22 17:36 ` [PATCH 23/40] gthumb: Add missing debug files Mark Hatle
2011-06-22 17:36 ` [PATCH 24/40] systemtamp: " Mark Hatle
2011-06-22 18:54   ` Phil Blundell
2011-06-22 17:36 ` [PATCH 25/40] trace-cmd: " Mark Hatle
2011-06-22 17:36 ` [PATCH 26/40] gstreamer: " Mark Hatle
2011-06-22 17:36 ` [PATCH 27/40] gtk-sato-engine: " Mark Hatle
2011-06-22 17:36 ` [PATCH 28/40] libproxy: " Mark Hatle
2011-06-22 17:36 ` [PATCH 29/40] wireless-tools: Avoid stripping binaries Mark Hatle
2011-06-22 17:36 ` [PATCH 30/40] busybox: " Mark Hatle
2011-06-22 17:36 ` [PATCH 31/40] tinylogin: Avoid stripped binaries Mark Hatle
2011-06-22 17:36 ` [PATCH 32/40] quote: Avoid stripping binaries Mark Hatle
2011-06-22 17:36 ` [PATCH 33/40] sysstat: " Mark Hatle
2011-06-22 17:36 ` [PATCH 34/40] db: " Mark Hatle
2011-06-22 17:36 ` [PATCH 35/40] db: Fix file ownership Mark Hatle
2011-06-22 17:36 ` [PATCH 36/40] unzip: Avoid stripping binaries Mark Hatle
2011-06-22 17:36 ` [PATCH 37/40] dropbear: Don't patch in configure Mark Hatle
2011-06-22 17:36 ` [PATCH 38/40] nasm: Fix aclocal Mark Hatle
2011-06-22 17:36 ` [PATCH 39/40] python: Add python to the dependencies of python modules Mark Hatle
2011-06-22 17:36 ` [PATCH 40/40] boost: Move the do_configure_prepend to a seperate task Mark Hatle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E03CCA5.3040600@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox