From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Chong Lu <Chong.Lu@windriver.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] i2c-tools: create i2c-tools-misc package for perl scripts
Date: Wed, 03 Sep 2014 11:25:00 +0100 [thread overview]
Message-ID: <1409739900.12482.0.camel@ted> (raw)
In-Reply-To: <b4a68ca960394f346025bb47035efa6b9e8e52a4.1409736914.git.Chong.Lu@windriver.com>
On Wed, 2014-09-03 at 17:36 +0800, Chong Lu wrote:
> We don't want to install perl on small file systems by default.
>
> The solution is to split those perl scripts from the main package, installing
> them only when perl is available. We use PACKAGECONFIG to create and enable a
> new feature "misc".
>
> Add perl to RDEPENDS_i2c-tools-misc.
>
> Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
> ---
> meta/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb | 14 ++++++++++++--
> 1 file changed, 12 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb b/meta/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb
> index 4605414..854d180 100644
> --- a/meta/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb
> +++ b/meta/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb
> @@ -3,8 +3,6 @@ SECTION = "base"
> LICENSE = "GPLv2+"
> LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
>
> -RDEPENDS_${PN} += "perl"
> -
> SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/${BP}.tar.bz2 \
> file://Module.mk \
> "
> @@ -24,3 +22,15 @@ do_install_append() {
> install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
> rm -f ${D}${includedir}/linux/i2c-dev.h
> }
> +
> +PACKAGES =+ "${PN}-misc"
> +RDEPENDS_${PN}-misc += "perl"
> +FILES_${PN}-misc = "${sbindir}/i2c-stub-from-dump \
> + ${bindir}/ddcmon \
> + ${bindir}/decode-edid \
> + ${bindir}/decode-dimms \
> + ${bindir}/decode-vaio \
> + "
> +
> +PACKAGECONFIG ??= "misc"
> +PACKAGECONFIG[misc] = ",,, ${PN}-misc perl"
As far as I can tell, these PACKAGECONFIG lines do nothing. Putting the
perl utils into a separate package is fine but the PACKAGECONFIG does
nothing...
Cheers,
Richard
prev parent reply other threads:[~2014-09-03 10:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-03 9:36 [PATCH 0/1] i2c-tools: create i2c-tools-misc package for perl scripts Chong Lu
2014-09-03 9:36 ` [PATCH 1/1] " Chong Lu
2014-09-03 10:25 ` Richard Purdie [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=1409739900.12482.0.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=Chong.Lu@windriver.com \
--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 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.