Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 180324 Details for
Bug 166166
app-laptop/hdapsd has been broken since about 2.6.18 kernel
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild for hdapsd-20090129
hdapsd-20090129.ebuild (text/plain), 1.47 KB, created by
Phillip Michael
on 2009-01-30 22:53:49 UTC
(
hide
)
Description:
Ebuild for hdapsd-20090129
Filename:
MIME Type:
Creator:
Phillip Michael
Created:
2009-01-30 22:53:49 UTC
Size:
1.47 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: > >inherit eutils linux-info > >DESCRIPTION="IBM ThinkPad Harddrive Active Protection disk head parking daemon" >HOMEPAGE="http://hdaps.sourceforge.net/" >SRC_URI="mirror://sourceforge/hdaps/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64" > >IUSE="" >RDEPEND="" > >pkg_setup() { > # We require the hdaps module which can either come from kernel sources or > # from the tp_smapi package. > if ! has_version app-laptop/tp_smapi || ! built_with_use app-laptop/tp_smapi hdaps; then > CONFIG_CHECK="SENSORS_HDAPS" > ERROR_SENSORS_HDAPS="${P} requires app-laptop/tp_smapi (with hdaps USE enabled) or support for CONFIG_SENSORS_HDAPS enabled" > linux-info_pkg_setup > fi >} > >src_install() { > emake DESTDIR="${D}" install || die "Install failed" > dodoc README AUTHORS COPYING ChangeLog || die "dodoc failed" > newconfd "${FILESDIR}"/hdapsd.conf hdapsd > newinitd "${FILESDIR}"/hdapsd.init hdapsd >} > > >pkg_postinst(){ > [[ -z $(ls "${ROOT}"/sys/block/*/queue/protect 2>/dev/null) ]] && \ > [[ -z $(ls "${ROOT}"/sys/block/*/device/unload_heads 2>/dev/null) ]] && \ > ewarn "Your kernel has NOT been patched for blk_freeze!" > > if ! has_version app-laptop/tp_smapi; then > ewarn "Using the hdaps module provided by app-laptop/tp_smapi instead" > ewarn "of the in-kernel driver is strongly recommended!" > fi > > elog "You can change the default frequency by modifing /sys/devices/platform/hdaps/sampling_rate" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 166166
:
121020
|
125631
|
134514
|
146829
|
167586
|
173738
|
175470
|
175473
|
179153
| 180324 |
187844
|
187845
|
187928