From: Robert Schwebel <r.schwebel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] How to update another packet at install
Date: Sat, 22 Oct 2011 21:50:37 +0200 [thread overview]
Message-ID: <20111022195037.GX7130@pengutronix.de> (raw)
In-Reply-To: <CAMwGMjyg4n_RptgfTxtvX7ZcNmedao6LKA02HmMfrQHROZ2T1g@mail.gmail.com>
On Sat, Oct 22, 2011 at 03:24:33PM -0400, Jon Ringle wrote:
> Create a rules/<packet>.postinst
> The <packet>.postinst script will get called at targetinstall phase
> during building, so you probably want to have your script do nothing
> at this time. The way I handled this is that "configure" will be $1
> when the packet is installed on the target. This is my template for
> <packet>.postinst:
You can use $DESTDIR to detect if you are running at targetinstall or on
runtime.
rsc
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2011-10-22 19:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-22 9:57 Philippe Corbes
2011-10-22 19:24 ` Jon Ringle
2011-10-22 19:50 ` Robert Schwebel [this message]
2011-10-24 20:49 ` Philippe Corbes
2011-10-25 12:04 ` Jon Ringle
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=20111022195037.GX7130@pengutronix.de \
--to=r.schwebel@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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