Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410941 - sys-apps/linux-misc-apps - add init script for hpfall
Summary: sys-apps/linux-misc-apps - add init script for hpfall
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-04-05 20:19 UTC by Witold Piłat
Modified: 2012-11-19 10:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
linux-misc-apps-3.1-r1.ebuild (linux-misc-apps-3.1-r1.ebuild,4.66 KB, text/plain)
2012-04-05 20:20 UTC, Witold Piłat
Details
files/hpfall.init (hpfall.init,1.09 KB, text/plain)
2012-04-05 20:21 UTC, Witold Piłat
Details
files/hpfall.conf (hpfall.conf,144 bytes, text/plain)
2012-04-05 20:21 UTC, Witold Piłat
Details
files/hpfall.init (hpfall.init,1.11 KB, text/plain)
2012-04-06 17:44 UTC, Witold Piłat
Details
files/hpfall.init (hpfall.init,1.09 KB, text/plain)
2012-04-07 19:57 UTC, Witold Piłat
Details
files/hpfall.init (hpfall.init,1.09 KB, text/plain)
2012-04-07 21:11 UTC, Witold Piłat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Witold Piłat 2012-04-05 20:19:37 UTC
Hi,
I've written a init script for hpfall daemon (based on hdapsd init script).
It tests kernel dependencies, loads lis3lv02d module and allows daily basis usage.
(I've been using it for half a year and didn't have any problems)
Comment 1 Witold Piłat 2012-04-05 20:20:28 UTC
Created attachment 307931 [details]
linux-misc-apps-3.1-r1.ebuild
Comment 2 Witold Piłat 2012-04-05 20:21:16 UTC
Created attachment 307933 [details]
files/hpfall.init
Comment 3 Witold Piłat 2012-04-05 20:21:44 UTC
Created attachment 307935 [details]
files/hpfall.conf
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-06 14:46:22 UTC
Comment on attachment 307931 [details]
linux-misc-apps-3.1-r1.ebuild

--- linux-misc-apps-3.1.ebuild  2011-11-01 10:06:05.000000000 +0100
+++ -   2012-04-06 16:46:12.138886229 +0200
@@ -158,6 +158,9 @@
                dosbin ${dir}/${target} || die
        done
 
+       newconfd ${FILESDIR}/hpfall.conf hpfall
+       newinitd ${FILESDIR}/hpfall.init hpfall
+
        local karch=$(kernel_asm_arch "${ARCH}")
        cd "${S}"/tools/power/cpupower
        cpupower_make ARCH=${karch} DESTDIR="${D}" install || die
Comment 5 Witold Piłat 2012-04-06 17:44:44 UTC
Created attachment 308011 [details]
files/hpfall.init
Comment 6 Witold Piłat 2012-04-07 19:57:41 UTC
Created attachment 308155 [details]
files/hpfall.init

It's actually hp_accel module that needs to be loaded in recent kernels (since 2009). lis3lv02d is it's dependency. Sorry, my mistake.
Also thanks for fixing my report, I haven't done it before.
Comment 7 Witold Piłat 2012-04-07 21:11:52 UTC
Created attachment 308163 [details]
files/hpfall.init

Ok I'm making a fool of myself but this is the price for not testing properly after making changes.
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-11-19 10:01:17 UTC
3.6 in tree with this.