diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-11-27 06:10:37 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-11-27 06:10:37 +0000 |
commit | 8561913742e5b16a2bc8516ab7542453ec4855db (patch) | |
tree | e102268e149b1969436d38d1ccd9bd307c7dcbd7 /sys-apps | |
parent | Version bump (diff) | |
download | historical-8561913742e5b16a2bc8516ab7542453ec4855db.tar.gz historical-8561913742e5b16a2bc8516ab7542453ec4855db.tar.bz2 historical-8561913742e5b16a2bc8516ab7542453ec4855db.zip |
Adding Kernel Config check to resolve bug #112186
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/hal/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/hal/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/hal/hal-0.5.5.1.ebuild | 16 |
3 files changed, 22 insertions, 4 deletions
diff --git a/sys-apps/hal/ChangeLog b/sys-apps/hal/ChangeLog index 99ddd356817d..81103d67e2b6 100644 --- a/sys-apps/hal/ChangeLog +++ b/sys-apps/hal/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/hal # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.53 2005/11/22 01:26:42 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.54 2005/11/27 06:10:37 compnerd Exp $ + + 27 Nov 2005; Saleem Abdulrasool <compnerd@gentoo.org> hal-0.5.5.1.ebuild: + Adding check for CONFIG_KOBJECT_UEVENT to resolve Bug #112186. Thanks to + Marcel Martin for diagnosing the bug. *hal-0.5.5.1 (22 Nov 2005) diff --git a/sys-apps/hal/Manifest b/sys-apps/hal/Manifest index b88b46f88126..1e9e0279e570 100644 --- a/sys-apps/hal/Manifest +++ b/sys-apps/hal/Manifest @@ -1,4 +1,4 @@ -MD5 1a6205c027a2d0bde146645b3b785c50 ChangeLog 7542 +MD5 fbf61b94d41914efd0c95d4b3d492d2e ChangeLog 7734 MD5 40a7b45f127bfdcacaa142660ad8b5f9 files/0.5-hald.rc 537 MD5 ada3b2801b82813b4f10fd6f6caf9d6f files/digest-hal-0.4.5-r2 62 MD5 3031a9fe74f43859c313d5f3076e68cd files/digest-hal-0.4.7-r2 62 @@ -21,5 +21,5 @@ MD5 2cf5b3c9219c87b1d9aee01f4f5f19bb hal-0.4.5-r2.ebuild 3118 MD5 1a146b79d18a689bbc8a96b81f74c7f6 hal-0.4.7-r2.ebuild 3455 MD5 8420501e80e55b313d30f4e0309c08dd hal-0.4.8.ebuild 3419 MD5 4b5c3135d20b391903d7a8e2626313dd hal-0.5.4.ebuild 3443 -MD5 8240c1a46e10dc67faf264db7c2f7871 hal-0.5.5.1.ebuild 3602 +MD5 c587e7d02a20b445d6b164a8c71fc1da hal-0.5.5.1.ebuild 3937 MD5 a60767d83157413d549c69b98fac962c metadata.xml 303 diff --git a/sys-apps/hal/hal-0.5.5.1.ebuild b/sys-apps/hal/hal-0.5.5.1.ebuild index 12fdd1faf77c..1867de89dc04 100644 --- a/sys-apps/hal/hal-0.5.5.1.ebuild +++ b/sys-apps/hal/hal-0.5.5.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.5.1.ebuild,v 1.1 2005/11/22 01:26:43 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.5.1.ebuild,v 1.2 2005/11/27 06:10:37 compnerd Exp $ inherit eutils linux-info @@ -30,12 +30,26 @@ DEPEND="${RDEPEND} ## HAL Daemon drops privledges so we need group access to read disks HALDAEMON_GROUPS="haldaemon,disk,cdrom,cdrw,floppy,usb" +function notify_uevent() { + eerror + eerror "You must enable Kernel Userspace Events in your kernel." + eerror "This can be set under 'General Setup'. It is marked as" + eerror "CONFIG_KOBJECT_UEVENT in the config file." + eerror + ebeep 5 + + die "KOBJECT_UEVENT is not set" +} + pkg_setup() { linux-info_pkg_setup kernel_is ge 2 6 13 \ || die "You need a 2.6.13 or newer kernel to run this package" + linux_chkconfig_present KOBJECT_UEVENT \ + || notify_uevent + if use acpi ; then linux_chkconfig_present PROC_FS \ || die "ACPI support requires PROC_FS support in kernel" |