From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] hwdata: add new recipe
Date: Wed, 27 Jan 2016 15:51:10 +0100 [thread overview]
Message-ID: <20160127145110.GH2574@jama> (raw)
In-Reply-To: <1452852529-5560-1-git-send-email-daicy.fnst@cn.fujitsu.com>
[-- Attachment #1: Type: text/plain, Size: 3195 bytes --]
On Fri, Jan 15, 2016 at 02:08:49AM -0800, Dai Caiyun wrote:
> Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com>
> ---
> meta-oe/recipes-support/hwdata/hwdata_0.284.bb | 75 ++++++++++++++++++++++++++
> 1 file changed, 75 insertions(+)
> create mode 100644 meta-oe/recipes-support/hwdata/hwdata_0.284.bb
>
> diff --git a/meta-oe/recipes-support/hwdata/hwdata_0.284.bb b/meta-oe/recipes-support/hwdata/hwdata_0.284.bb
> new file mode 100644
> index 0000000..342f1a1
> --- /dev/null
> +++ b/meta-oe/recipes-support/hwdata/hwdata_0.284.bb
> @@ -0,0 +1,75 @@
> +DESCRIPTION = "Hardware identification and configuration data"
> +HOMEPAGE = "http://git.fedorahosted.org/git/hwdata.git"
> +SECTION = "System/Base"
> +
> +LICENSE = "GPL-2.0+"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57"
> +
> +SRC_URI = "https://git.fedorahosted.org/cgit/hwdata.git/snapshot/${PN}-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "30ba61f058d2c2295fd6b3ab575eb5ce"
> +SRC_URI[sha256sum] = "bf08c8e6200467669ffc5919141f7a47cc70756c97b819427e60b6c1a0cdcfa6"
> +
> +inherit autotools-brokensep
> +
> +#PROVIDES by hwdata
> +# the PROVIDES rules is ignore "pciutils-ids "
> +PROVIDES += "pciutils-ids"
> +RPROVIDES_hwdata += "pciutils-ids"
Causes multiple providers:
NOTE: multiple providers are available for runtime pciutils-ids (hwdata, pciutils)
NOTE: consider defining a PREFERRED_PROVIDER entry to match pciutils-ids
> +
> +
> +#PROVIDES by hwdata-ivi
> +PROVIDES += "hwdata-ivi"
> +
> +#RDEPENDS of hwdata-ivi (${PN}-ivi)
> +RDEPENDS_${PN}-ivi += "hwdata"
> +
> +do_prep() {
> + cd ${S}
> + chmod -Rf a+rX,u+w,g-w,o-w ${S}
> +}
> +
> +do_patch_append() {
> + bb.build.exec_func('do_prep', d)
> +}
> +
> +do_configure() {
> +}
> +
> +do_compile() {
> + cd ${S}
> + LANG=C
> + export LANG
> + unset DISPLAY
> + LD_AS_NEEDED=1; export LD_AS_NEEDED ;
> +
> + autotools_do_configure
> +}
> +
> +do_install() {
> + export RPM_BUILD_ROOT=${D}
> + cd ${S}
> + LANG=C
> + export LANG
> + unset DISPLAY
> + rm -rf ${D}
> + mkdir -p ${D}
> +
> + oe_runmake \
> + DESTDIR=${D} \
> + INSTALL_ROOT=${D} \
> + BINDIR=${prefix}/bin \
> + install
> + rm -f ${D}${infodir}/dir
> + find ${D} -regex ".*\.la$" | xargs rm -f --
> + find ${D} -regex ".*\.a$" | xargs rm -f --
> + mkdir -p ${D}${sysconfdir}/modprobe.d
> + mv ${D}${prefix}/lib/modprobe.d/dist-blacklist.conf \
> + ${D}${sysconfdir}/modprobe.d/blacklist.conf
> + rm -rf ${D}${prefix}/lib
> + install -m644 blacklist.conf ${D}/${sysconfdir}/modprobe.d
> +}
> +
> +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
> +PACKAGES += " hwdata "
Don't redefine PACKAGES, what are you trying to achieve with this?
> +
> --
> 1.9.1
>
>
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2016-01-27 14:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-15 10:08 [meta-oe][PATCH] hwdata: add new recipe Dai Caiyun
2016-01-27 14:51 ` Martin Jansa [this message]
2016-04-11 8:34 ` Dai Caiyun
2016-04-11 8:59 ` Gary Thomas
2016-04-11 11:38 ` Burton, Ross
2016-04-25 9:35 ` [meta-oe][PATCH v2] " Dai Caiyun
2016-04-25 12:18 ` Burton, Ross
2016-04-26 8:43 ` [meta-oe][PATCH v3] " Dai Caiyun
2016-04-26 16:50 ` Khem Raj
2016-04-26 21:20 ` Paul Eggleton
2016-04-26 21:33 ` Khem Raj
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=20160127145110.GH2574@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@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