Skip to content

Commit

Permalink
Add recipe for driverctl
Browse files Browse the repository at this point in the history
  • Loading branch information
Shiping Ji committed Oct 11, 2021
1 parent 26ddbe9 commit da0b0d9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions meta-oe/recipes-support/driverctl/driverctl_git.bb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
SUMMARY = "driverctl is a device driver control utility for Linux"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780"

REQUIRED_DISTRO_FEATURES = "systemd"

DEPENDS = "systemd"
RDEPENDS_${PN} += "bash bash-completion"
Expand All @@ -10,18 +12,16 @@ SRCREV = "fa9dce43d1a667d6e6e26895fbed01b3b04362c9"

S = "${WORKDIR}/git"

inherit pkgconfig systemd

REQUIRED_DISTRO_FEATURES = "systemd"
inherit pkgconfig systemd features_check

FILES_${PN} += "${libdir}"
FILES_${PN} += "${libdir}/udev"
FILES_${PN} += "${libdir}/udev/rules.d"
FILES_${PN} += "${systemd_unitdir}"
FILES_${PN} += "${systemd_unitdir}/system"
FILES_${PN} += "${datadir}"
FILES_${PN} += "${datadir}/bash-completion"
FILES_${PN} += "${datadir}/bash-completion/completions"
FILES:${PN} += "${libdir}"
FILES:${PN} += "${libdir}/udev"
FILES:${PN} += "${libdir}/udev/rules.d"
FILES:${PN} += "${systemd_unitdir}"
FILES:${PN} += "${systemd_unitdir}/system"
FILES:${PN} += "${datadir}"
FILES:${PN} += "${datadir}/bash-completion"
FILES:${PN} += "${datadir}/bash-completion/completions"

do_install () {
oe_runmake install DESTDIR=${D}
Expand Down

0 comments on commit da0b0d9

Please sign in to comment.