[oe] [meta-oe][PATCH v2] hwdata: add new recipe

Dai Caiyun daicy.fnst at cn.fujitsu.com
Mon Apr 25 09:35:12 UTC 2016


Signed-off-by: Dai Caiyun <daicy.fnst at cn.fujitsu.com>
---
 meta-oe/recipes-support/hwdata/hwdata_0.288.bb | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-support/hwdata/hwdata_0.288.bb

diff --git a/meta-oe/recipes-support/hwdata/hwdata_0.288.bb b/meta-oe/recipes-support/hwdata/hwdata_0.288.bb
new file mode 100644
index 0000000..bac6618
--- /dev/null
+++ b/meta-oe/recipes-support/hwdata/hwdata_0.288.bb
@@ -0,0 +1,22 @@
+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/${BPN}.git/snapshot/${BP}.tar.gz"
+
+SRC_URI[md5sum] = "f3fa1c5edb66ce5b376d95e772b2d303"
+SRC_URI[sha256sum] = "56fc26275b102e538fcfcf9c1093a09f476a1ea8d4e0c733d3c578442923693d"
+
+do_compile() {
+}
+
+do_install() {
+    install -m 0744 -d ${D}${sysconfdir}/modprobe.d
+    install -m 0644 -p ${S}/blacklist.conf ${D}/${sysconfdir}/modprobe.d
+    install -m 0744 -d ${D}${datadir}/${PN}
+    install -m 0644 -p ${S}/*.ids ${D}${datadir}/${PN}
+    install -m 0644 -p ${S}/oui.txt ${D}${datadir}/${PN}
+}
-- 
1.9.1






More information about the Openembedded-devel mailing list