All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anders Darander <anders@chargestorm.se>
To: yocto@yoctoproject.org
Subject: Re: pkg_postinst behavior?
Date: Fri, 9 Sep 2016 10:51:34 +0200	[thread overview]
Message-ID: <20160909085134.fqtseh7atxcmqaxo@ad.chargestorm.se> (raw)
In-Reply-To: <CY1PR0101MB1594A28319500402879A0B79D7FB0@CY1PR0101MB1594.prod.exchangelabs.com>

* Takashi Matsuzawa <tmatsuzawa@uievolution.com> [160908 14:23]:

> Provided the following scripts are provided, in two bbappend recipes
> as below, which of them are actually executed and which are not?  I
> have briefly tried and 'OK's below are called and 'NG's are not.

> AAA.bbappend:

> pkg_postinst_AAA() {} - OK
> pkg_postinst_AAA_append() {} - OK
> pkg_postinst_BBB() {} - NG
> pkg_postinst_BBB_append() {} - NG

A recipe can't influence another recipe, thus this isn't going to work.

However, a single recipe can build multiple packages, eg AAA and
AAA-foo.

Cheers,
Anders

-- 
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB


      parent reply	other threads:[~2016-09-09  8:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-08 12:07 pkg_postinst behavior? Takashi Matsuzawa
2016-09-08 13:11 ` Daniel.
2016-09-09  8:51 ` Anders Darander [this message]

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=20160909085134.fqtseh7atxcmqaxo@ad.chargestorm.se \
    --to=anders@chargestorm.se \
    --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.