mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
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>
This commit is contained in:
parent
55884d203d
commit
16811e532c
32
recipes-extended/irqbalance/irqbalance.inc
Normal file
32
recipes-extended/irqbalance/irqbalance.inc
Normal file
|
@ -0,0 +1,32 @@
|
|||
#
|
||||
# Copyright (C) 2013 Wind River Systems, Inc.
|
||||
#
|
||||
SUMMARY = "IRQ allocation daemon"
|
||||
DESCRIPTION = "A daemon to balance interrupts across multiple CPUs, \
|
||||
which can lead to better performance and IO balance on SMP systems."
|
||||
|
||||
HOMEPAGE = "http://code.google.com/p/irqbalance/"
|
||||
BUGTRACKER = "http://code.google.com/p/irqbalance/issues/list"
|
||||
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||
file://irqbalance.c;beginline=6;endline=8;md5=b94e153694672307b503b1bc87dc9e24 \
|
||||
"
|
||||
|
||||
DEPENDS = "glib-2.0"
|
||||
|
||||
INITSCRIPT_NAME = "irqbalanced"
|
||||
INITSCRIPT_PARAMS = "defaults"
|
||||
|
||||
inherit autotools
|
||||
inherit update-rc.d
|
||||
|
||||
EXTRA_OECONF = "--program-transform-name= \
|
||||
"
|
||||
|
||||
do_install () {
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
cat ${S}/irqbalance.init | sed -e's,/usr/sbin,${sbindir},g' > ${D}${sysconfdir}/init.d/irqbalanced
|
||||
chmod 755 ${D}${sysconfdir}/init.d/irqbalanced
|
||||
}
|
|
@ -1,39 +1,16 @@
|
|||
#
|
||||
# Copyright (C) 2013 Wind River Systems, Inc.
|
||||
#
|
||||
SUMMARY = "IRQ allocation daemon"
|
||||
DESCRIPTION = "A daemon to balance interrupts across multiple CPUs, \
|
||||
which can lead to better performance and IO balance on SMP systems."
|
||||
|
||||
HOMEPAGE = "http://code.google.com/p/irqbalance/"
|
||||
BUGTRACKER = "http://code.google.com/p/irqbalance/issues/list"
|
||||
require irqbalance.inc
|
||||
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||
file://irqbalance.c;beginline=6;endline=8;md5=b94e153694672307b503b1bc87dc9e24 \
|
||||
"
|
||||
|
||||
DEPENDS = "glib-2.0"
|
||||
SRC_URI = "http://irqbalance.googlecode.com/files/irqbalance-${PV}.tar.bz2 \
|
||||
file://add-initscript.patch \
|
||||
"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI[md5sum] = "f7ca283c46331db73f27e686a643dcfb"
|
||||
SRC_URI[sha256sum] = "15725edf4a6f20258620cbd05ebf02d0c25aadd5ffa4871ef8507c9215021c43"
|
||||
SRC_URI[sha256su] = "15725edf4a6f20258620cbd05ebf02d0c25aadd5ffa4871ef8507c9215021c43"
|
||||
|
||||
INITSCRIPT_NAME = "irqbalanced"
|
||||
INITSCRIPT_PARAMS = "defaults"
|
||||
EXTRA_OECONF += "--with-sysroot=${STAGING_DIR_TARGET}"
|
||||
|
||||
inherit autotools
|
||||
inherit update-rc.d
|
||||
|
||||
EXTRA_OECONF = "--program-transform-name= \
|
||||
--with-sysroot=${STAGING_DIR_TARGET} \
|
||||
"
|
||||
|
||||
do_install () {
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
cat ${S}/irqbalance.init | sed -e's,/usr/sbin,${sbindir},g' > ${D}${sysconfdir}/init.d/irqbalanced
|
||||
chmod 755 ${D}${sysconfdir}/init.d/irqbalanced
|
||||
}
|
||||
SRC_URI = "http://irqbalance.googlecode.com/files/irqbalance-${PV}.tar.bz2 \
|
||||
file://add-initscript.patch \
|
||||
"
|
||||
|
|
14
recipes-extended/irqbalance/irqbalance_1.0.5.bb
Normal file
14
recipes-extended/irqbalance/irqbalance_1.0.5.bb
Normal file
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# Copyright (C) 2013 Wind River Systems, Inc.
|
||||
#
|
||||
|
||||
require irqbalance.inc
|
||||
|
||||
PR = "r0"
|
||||
|
||||
SRC_URI[md5sum] = "b6403fa067c96adce448a48c9993654d"
|
||||
SRC_URI[sha256sum] = "1123e75224b9c0b63ac85892e920bc4a9c76211278ea3d5d4bcbbde44815685c"
|
||||
|
||||
SRC_URI = "http://irqbalance.googlecode.com/files/irqbalance-${PV}.tar.gz \
|
||||
file://add-initscript.patch \
|
||||
"
|
Loading…
Reference in New Issue
Block a user