summaryrefslogtreecommitdiffstats
path: root/recipes-extended/irqbalance/irqbalance.inc
diff options
context:
space:
mode:
authorAmy Fong <amy.fong@windriver.com>2013-06-20 10:25:04 -0700
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-06-27 13:40:07 -0400
commit16811e532c0d38a4b0d3a4abcac4c25d8b3cc3f3 (patch)
tree4ec7608fd8353c4a6218d054d785437a05d8e579 /recipes-extended/irqbalance/irqbalance.inc
parent55884d203d1e7ca5c39561f5efdc1bf14034d854 (diff)
downloadmeta-virtualization-16811e532c0d38a4b0d3a4abcac4c25d8b3cc3f3.tar.gz
Uprev irqbalance to 1.0.5
Uprev irqbalance to the latest version. * consolidate logging * Implement user policy script callout (http://code.google.com/p/irqbalance/issues/detail?id=35) * Replace fscanf(%as) by getline * manpage: Improve the readability of the --banirq text * glib-local: ad call for g_list_remove Also splitting files into inc and bb files. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended/irqbalance/irqbalance.inc')
-rw-r--r--recipes-extended/irqbalance/irqbalance.inc32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-extended/irqbalance/irqbalance.inc b/recipes-extended/irqbalance/irqbalance.inc
new file mode 100644
index 00000000..c0769133
--- /dev/null
+++ b/recipes-extended/irqbalance/irqbalance.inc
@@ -0,0 +1,32 @@
1#
2# Copyright (C) 2013 Wind River Systems, Inc.
3#
4SUMMARY = "IRQ allocation daemon"
5DESCRIPTION = "A daemon to balance interrupts across multiple CPUs, \
6which can lead to better performance and IO balance on SMP systems."
7
8HOMEPAGE = "http://code.google.com/p/irqbalance/"
9BUGTRACKER = "http://code.google.com/p/irqbalance/issues/list"
10
11LICENSE = "GPLv2"
12LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
13 file://irqbalance.c;beginline=6;endline=8;md5=b94e153694672307b503b1bc87dc9e24 \
14 "
15
16DEPENDS = "glib-2.0"
17
18INITSCRIPT_NAME = "irqbalanced"
19INITSCRIPT_PARAMS = "defaults"
20
21inherit autotools
22inherit update-rc.d
23
24EXTRA_OECONF = "--program-transform-name= \
25 "
26
27do_install () {
28 oe_runmake 'DESTDIR=${D}' install
29 install -d ${D}${sysconfdir}/init.d
30 cat ${S}/irqbalance.init | sed -e's,/usr/sbin,${sbindir},g' > ${D}${sysconfdir}/init.d/irqbalanced
31 chmod 755 ${D}${sysconfdir}/init.d/irqbalanced
32}