From: Phil Blundell <philb@gnu.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [CONSOLIDATED 25 July PULL 6/7] docbook-dsssl-stylesheets-native: Add SYSROOT_PREPROCESS_FUNC
Date: Mon, 25 Jul 2011 16:33:55 +0100 [thread overview]
Message-ID: <1311608036.30326.241.camel@phil-desktop> (raw)
In-Reply-To: <a4b8591a283717239cae976004eee86b2b65082b.1311578785.git.sgw@linux.intel.com>
On Mon, 2011-07-25 at 00:30 -0700, Saul Wold wrote:
> SSTATEPOSTINSTFUNCS += "docbook_dsssl_stylesheets_sstate_postinst"
> +SYSROOT_PREPROCESS_FUNCS += "docbook_dsssl_sysroot_preprocess"
> +
>
> do_install () {
> # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/docbook-dsssl.html
> @@ -42,8 +44,14 @@ docbook_dsssl_stylesheets_sstate_postinst () {
> then
> # Ensure that the catalog file sgml-docbook.cat is properly
> # updated when the package is installed from sstate cache.
> - install-catalog \
> + ${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-docbook-dsssl \
> --add ${sysconfdir}/sgml/sgml-docbook.cat \
> ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat
> fi
> }
> +
> +docbook_dsssl_sysroot_preprocess () {
> + install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
> + install -m 755 ${STAGING_BINDIR_NATIVE}/install-catalog ${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-docbook-dsssl
> +}
> +
This sort of thing seems like it might be better done in a class of some
kind rather than replicating the code in N separate recipes.
p.
next prev parent reply other threads:[~2011-07-25 15:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-25 7:30 [CONSOLIDATED 25 July PULL 0/7] Saul Wold
2011-07-25 7:30 ` [CONSOLIDATED 25 July PULL 1/7] tcf-agent: upgrade to the latest stable revision 0.0+svnr1855 Saul Wold
2011-07-25 7:30 ` [CONSOLIDATED 25 July PULL 2/7] distro_tracking_fields.inc: update the info for tcf-agent Saul Wold
2011-07-25 7:30 ` [CONSOLIDATED 25 July PULL 3/7] gcc-4.6: Fix packaging of native toolchains Saul Wold
2011-07-25 7:30 ` [CONSOLIDATED 25 July PULL 4/7] openjade-native: Add SYSROOT_PREPROCESS_FUNC Saul Wold
2011-07-25 7:30 ` [CONSOLIDATED 25 July PULL 5/7] docbook-sgml-dtd-native: " Saul Wold
2011-07-25 7:30 ` [CONSOLIDATED 25 July PULL 6/7] docbook-dsssl-stylesheets-native: " Saul Wold
2011-07-25 15:33 ` Phil Blundell [this message]
2011-07-25 7:30 ` [CONSOLIDATED 25 July PULL 7/7] runqemu: report error if TMPDIR cannot be determined Saul Wold
2011-07-25 11:39 ` [CONSOLIDATED 25 July PULL 0/7] Richard Purdie
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=1311608036.30326.241.camel@phil-desktop \
--to=philb@gnu.org \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox