All of lore.kernel.org
 help / color / mirror / Atom feed
From: ChenQi <Qi.Chen@windriver.com>
To: <openembedded-core@lists.openembedded.org>,
	"Burton, Ross" <ross.burton@intel.com>
Subject: Re: [PATCH 1/5] base-files: files will be over written when updating using rpm
Date: Fri, 21 Nov 2014 10:23:50 +0800	[thread overview]
Message-ID: <546EA236.8010502@windriver.com> (raw)
In-Reply-To: <CAJTo0LaTqjSJ35Lq4hbTDeF0F0Y2iAbdUU4+1VE11mhKoGZrgg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 993 bytes --]

On 11/21/2014 04:37 AM, Burton, Ross wrote:
>
> On 14 November 2014 09:43, Jian Liu <jian.liu@windriver.com 
> <mailto:jian.liu@windriver.com>> wrote:
>
>     +CONFFILES_${PN} += "${sysconfdir}/motd
>     ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile"
>
>
> I do have to wonder why we don't allow globs in CONFFILES and set 
> CONFFILES_${PN} to ${sysconfdir} by default...
>
> Ross
>
>
>

Hi Ross,

There's a related bug on bugzilla.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5200

I sent out a patch some time ago about this problem. The patch titile is 
"[OE-core] [PATCH 0/2] Change the way of handling CONFFILES".

I think setting CONFFILES to be ${sysconfdir} and allowing overriding 
might be better than listing each file in CONFFILES in each individual 
recipe.

There's more information in the comment of the bug. If you agree with 
this solution, I can rebase the patch and send out V2.

What do you think?

Best Regards,
Chen Qi


[-- Attachment #2: Type: text/html, Size: 2460 bytes --]

  parent reply	other threads:[~2014-11-21  2:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-14  9:43 [PATCH 0/6] Avoid config files being overwritten Jian Liu
2014-11-14  9:43 ` [PATCH 1/5] base-files: files will be over written when updating using rpm Jian Liu
2014-11-20 20:37   ` Burton, Ross
2014-11-21  2:06     ` Liu Jian
2014-11-21  2:23     ` ChenQi [this message]
2014-11-20 20:40   ` Burton, Ross
2014-11-14  9:43 ` [PATCH 2/5] initscripts: " Jian Liu
2014-11-14  9:43 ` [PATCH 3/5] logrotate: " Jian Liu
2014-11-19 17:54   ` Dan McGregor
2014-11-20  2:11     ` Liu Jian
2014-11-20 20:37     ` Burton, Ross
2014-11-14  9:43 ` [PATCH 4/5] libpam: " Jian Liu
2014-11-14  9:43 ` [PATCH 5/5] nfs-utils: " Jian Liu

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=546EA236.8010502@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.