Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Rob Woolley <rob.woolley@windriver.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/2] nfs-utils: Identify CONFFILES
Date: Tue, 3 Mar 2015 22:39:49 +0100	[thread overview]
Message-ID: <20150303213949.GE2337@jama> (raw)
In-Reply-To: <1425418365-16648-2-git-send-email-rob.woolley@windriver.com>

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

On Tue, Mar 03, 2015 at 04:32:44PM -0500, Rob Woolley wrote:
> Some package formats explicitly track which files are configuration files
> so that they are not overwritten on updates. Explicitly list the
> configuration files.
> 
> Signed-off by: Rob Woolley <rob.woolley@windriver.com>
> --- meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
> +++ meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
> @@ -68,6 +68,12 @@ PACKAGECONFIG[nfsidmap] = "--enable-nfsi
>  INHIBIT_AUTO_STAGE = "1"
>  
>  PACKAGES =+ "${PN}-client ${PN}-stats"
> +
> +CONFFILES_${PN}-client += "/var/lib/nfs/etab"
> +CONFFILES_${PN}-client += "/var/lib/nfs/rmtab"
> +CONFFILES_${PN}-client += "/var/lib/nfs/state"
> +CONFFILES_${PN}-client += "/var/lib/nfs/xtab"

Use 1 multiline append and ${localstatedir}/lib/nfs.

> +
>  FILES_${PN}-client = "${base_sbindir}/*mount.nfs* ${sbindir}/*statd \
>  		      ${sbindir}/rpc.idmapd ${sbindir}/sm-notify \
>  		      ${sbindir}/showmount ${sbindir}/nfsstat \
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2015-03-03 21:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03 21:32 [PATCH 0/2] Identify existing configuration files Rob Woolley
2015-03-03 21:32 ` [PATCH 1/2] nfs-utils: Identify CONFFILES Rob Woolley
2015-03-03 21:39   ` Martin Jansa [this message]
2015-03-03 21:32 ` [PATCH 2/2] logrotate: " Rob Woolley
2015-03-04 12:30   ` Burton, Ross

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=20150303213949.GE2337@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=rob.woolley@windriver.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox