diff options
| author | Armin Kuster <akuster808@gmail.com> | 2017-10-26 14:19:17 -0700 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2018-03-01 16:10:37 -0800 |
| commit | 50759d254a16165f070807fb992815319b97dddd (patch) | |
| tree | 7d96a4062534638aefaedd9086acb7b826413cc8 /meta-oe/recipes-bsp/edac-utils/edac-utils_git.bb | |
| parent | 40877b12448e98fa9d7df65c264f00ab6a16515f (diff) | |
| download | meta-openembedded-50759d254a16165f070807fb992815319b97dddd.tar.gz | |
edac-utils: move to recipes-bsp
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-bsp/edac-utils/edac-utils_git.bb')
| -rw-r--r-- | meta-oe/recipes-bsp/edac-utils/edac-utils_git.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-oe/recipes-bsp/edac-utils/edac-utils_git.bb b/meta-oe/recipes-bsp/edac-utils/edac-utils_git.bb new file mode 100644 index 0000000000..2c0914d30a --- /dev/null +++ b/meta-oe/recipes-bsp/edac-utils/edac-utils_git.bb | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | SUMMARY = "Userspace helper for Linux kernel EDAC drivers" | ||
| 2 | HOMEPAGE = "https://github.com/grondo/edac-utils" | ||
| 3 | SECTION = "Applications/System" | ||
| 4 | LICENSE = "GPLv2" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
| 6 | |||
| 7 | DEPENDS = " sysfsutils" | ||
| 8 | |||
| 9 | SRCREV = "f9aa96205f610de39a79ff43c7478b7ef02e3138" | ||
| 10 | PV = "0.18+git${SRCPV}" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | SRC_URI = "git://github.com/grondo/edac-utils \ | ||
| 15 | file://make-init-script-be-able-to-automatically-load-EDAC-.patch \ | ||
| 16 | file://add-restart-to-initscript.patch \ | ||
| 17 | file://edac.service \ | ||
| 18 | " | ||
| 19 | |||
| 20 | inherit autotools-brokensep systemd | ||
| 21 | |||
| 22 | do_configure_prepend () { | ||
| 23 | touch ${S}/ChangeLog | ||
| 24 | ${S}/bootstrap | ||
| 25 | } | ||
| 26 | |||
| 27 | RDEPENDS_${PN}_x86 = "dmidecode" | ||
| 28 | RDEPENDS_${PN}_x86-64 = "dmidecode" | ||
| 29 | RDEPENDS_${PN}_arm = "dmidecode" | ||
| 30 | RDEPENDS_${PN}_aarch64 = "dmidecode" | ||
| 31 | RDEPENDS_${PN}_powerpc = "dmidecode" | ||
| 32 | RDEPENDS_${PN}_powerpc64 = "dmidecode" | ||
| 33 | RDEPENDS_${PN}_append = " \ | ||
| 34 | perl-module-file-basename perl-module-file-find perl-module-getopt-long perl-module-posix \ | ||
| 35 | perl-module-overload \ | ||
| 36 | perl-module-overloading \ | ||
| 37 | perl-module-file-glob \ | ||
| 38 | " | ||
| 39 | |||
| 40 | do_install_append() { | ||
| 41 | install -d ${D}${systemd_unitdir}/system | ||
| 42 | install -m 644 ${WORKDIR}/edac.service ${D}/${systemd_unitdir}/system | ||
| 43 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}/${systemd_unitdir}/system/edac.service | ||
| 44 | } | ||
| 45 | |||
| 46 | SYSTEMD_SERVICE_${PN} = "edac.service" | ||
| 47 | SYSTEMD_AUTO_ENABLE_${PN} = "disable" | ||
