summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiping Ji <shji@microsoft.com>2021-10-10 21:37:33 -0700
committerKhem Raj <raj.khem@gmail.com>2021-10-14 07:16:58 -0700
commit1e12d64f70cce8bc16594a85d33dbb883f6c76ee (patch)
tree157118524d4ae56d95274735cc4a352f375dc4dd
parent953f6a227406fde2c2228f94c39107826af1d3b0 (diff)
downloadmeta-openembedded-1e12d64f70cce8bc16594a85d33dbb883f6c76ee.tar.gz
Add recipe for driverctl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb1
-rw-r--r--meta-oe/recipes-support/driverctl/driverctl_git.bb28
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index ffb8aa665e..c35c6cb950 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -718,6 +718,7 @@ RDEPENDS:packagegroup-meta-oe-support ="\
718 anthy \ 718 anthy \
719 atop \ 719 atop \
720 ace-cloud-editor \ 720 ace-cloud-editor \
721 driverctl \
721 frame \ 722 frame \
722 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "geis", "", d)} \ 723 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "geis", "", d)} \
723 grail \ 724 grail \
diff --git a/meta-oe/recipes-support/driverctl/driverctl_git.bb b/meta-oe/recipes-support/driverctl/driverctl_git.bb
new file mode 100644
index 0000000000..7404f40c21
--- /dev/null
+++ b/meta-oe/recipes-support/driverctl/driverctl_git.bb
@@ -0,0 +1,28 @@
1SUMMARY = "driverctl is a device driver control utility for Linux"
2LICENSE = "LGPLv2.1"
3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780"
4
5REQUIRED_DISTRO_FEATURES = "systemd"
6
7DEPENDS = "systemd"
8RDEPENDS:${PN} += "bash bash-completion"
9
10SRC_URI = " git://gitlab.com/driverctl/driverctl.git"
11SRCREV = "fa9dce43d1a667d6e6e26895fbed01b3b04362c9"
12
13S = "${WORKDIR}/git"
14
15inherit pkgconfig systemd features_check
16
17FILES:${PN} += "${libdir}"
18FILES:${PN} += "${libdir}/udev"
19FILES:${PN} += "${libdir}/udev/rules.d"
20FILES:${PN} += "${systemd_unitdir}"
21FILES:${PN} += "${systemd_unitdir}/system"
22FILES:${PN} += "${datadir}"
23FILES:${PN} += "${datadir}/bash-completion"
24FILES:${PN} += "${datadir}/bash-completion/completions"
25
26do_install () {
27 oe_runmake install DESTDIR=${D}
28}