All of lore.kernel.org
 help / color / mirror / Atom feed
From: seth bollinger <seth.boll@gmail.com>
To: yocto@yoctoproject.org
Subject: Recipes that update a shared file
Date: Wed, 09 Oct 2013 19:16:15 -0500	[thread overview]
Message-ID: <5255F1CF.8020203@gmail.com> (raw)

Hello All,

What's the best practice for recipes that need to update a shared file 
provided by a different recipe?  For example let's say that the 
widget-watcher recipe creates /etc/ww.conf and the widget1, and widget2 
recipes need to append a line to the config.  I've searched through the 
recipes a bit and can't find a good example.  The closest that I've seen 
is pkg_postinst().  Is that the best method?

Thanks!

Seth


             reply	other threads:[~2013-10-10  0:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-10  0:16 seth bollinger [this message]
2013-10-10  9:31 ` Recipes that update a shared file Paul Eggleton
2013-10-10 14:36   ` Seth Bollinger
2013-10-10 14:40     ` Burton, Ross
2013-10-10 15:02       ` Seth Bollinger
2013-10-10 15:09         ` Burton, Ross
2013-10-10 15:17           ` Seth Bollinger

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=5255F1CF.8020203@gmail.com \
    --to=seth.boll@gmail.com \
    --cc=yocto@yoctoproject.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 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.