Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116376 - ebuild of hal-0.5.5.1 has not detect missed CONFIG_KOBJECT_UEVENT (.config)
Summary: ebuild of hal-0.5.5.1 has not detect missed CONFIG_KOBJECT_UEVENT (.config)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-22 04:58 UTC by Mike Baikov
Modified: 2005-12-29 07:53 UTC (History)
1 user (show)

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


Attachments
Good hal-0.5.5.1.ebuild (hal-0.5.5.1-r1.ebuild,3.51 KB, text/plain)
2005-12-22 04:59 UTC, Mike Baikov
Details
patch for hal-0.5.5.1-r1.ebuld (hal-0.5.5.1-r2.ebuild,354 bytes, patch)
2005-12-22 22:50 UTC, Mike Baikov
Details | Diff
hal-0.5.5.1-r2.ebuild (hal-0.5.5.1-r2.ebuild,345 bytes, patch)
2005-12-29 07:53 UTC, Mike Baikov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Baikov 2005-12-22 04:58:57 UTC
no diff, sorry, but workaround is simple
Comment 1 Mike Baikov 2005-12-22 04:59:34 UTC
Created attachment 75317 [details]
Good hal-0.5.5.1.ebuild
Comment 2 Mike Baikov 2005-12-22 05:01:59 UTC
if [ kernel_is le 2 6 15 ]; then
		linux_chkconfig_present KOBJECT_UEVENT || notify_uevent
fi

replaced by:

if kernel_is le 2 6 15; then
		linux_chkconfig_present KOBJECT_UEVENT || notify_uevent
fi
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2005-12-22 05:36:00 UTC
you can create a diff easily with just:
diff -u old.ebuild new.ebuild > file
Comment 4 Mike Baikov 2005-12-22 22:50:28 UTC
Created attachment 75375 [details, diff]
patch for hal-0.5.5.1-r1.ebuld

Yes, sure, i knew about diff :)
Comment 5 Mike Baikov 2005-12-24 07:23:07 UTC
btw, behaviour of the hal with missed CONFIG_KOBJECT_UEVENT has been more duplicate bugs in the bugs.gentoo.org. 
Can somebody test it and consolidate all bugs to one common bug?
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2005-12-24 14:19:28 UTC
Where are the duplicate bugs?

I fixed this one, thanks
Comment 7 Mike Baikov 2005-12-25 02:33:19 UTC
maybe 112186 ... but it fixed. nop.
Comment 8 Thomas Kjosmoen 2005-12-29 03:43:18 UTC
Please change the line:
if kernel_is le 2 6 15; then

to:
if kernel_is lt 2 6 15; then

Since the 2.6.15 kernel doesn't have the CONFIG_KOBJECT_UEVENT option.
Comment 9 Mike Baikov 2005-12-29 07:50:18 UTC
Comment on attachment 75375 [details, diff]
patch for hal-0.5.5.1-r1.ebuld

>--- ./hal.new	2005-12-21 10:06:21.000000000 +0000
>+++ hal-0.5.5.1-r1.ebuild	2005-12-23 06:47:49.000000000 +0000
>@@ -48,7 +48,7 @@
> 	kernel_is ge 2 6 13 \
> 		|| die "You need a 2.6.13 or newer kernel to run this package"
> 
>-	if [ kernel_is le 2 6 15 ]; then
>+	if kernel_is lt 2 6 15; then
> 		linux_chkconfig_present KOBJECT_UEVENT || notify_uevent
> 	fi
>
Comment 10 Mike Baikov 2005-12-29 07:53:07 UTC
Created attachment 75721 [details, diff]
hal-0.5.5.1-r2.ebuild

patch for support 2.6.15 kernel