Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50313 - new ebuild: kexec-tools (for kernels >= 2.5.69)
Summary: new ebuild: kexec-tools (for kernels >= 2.5.69)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-06 21:03 UTC by Starz McCllelan
Modified: 2005-01-31 08:21 UTC (History)
6 users (show)

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


Attachments
kexec-tools-1.95.ebuild (kexec-tools-1.95.ebuild,551 bytes, text/plain)
2004-08-22 13:19 UTC, Christopher Sidebottom
Details
Refined Kexec-tools-1.96.ebuild (kexec-tools-1.96.ebuild,557 bytes, text/plain)
2004-08-23 00:56 UTC, Christopher Sidebottom
Details
ebuild for kexec-tools-1.97 (kexec-tools-1.97.ebuild,624 bytes, text/plain)
2004-09-08 04:01 UTC, Justus Winter
Details
Improved kexec ebuild (with scripts) (kexec-tools.tar.bz2,1.97 KB, application/octet-stream)
2004-09-17 10:45 UTC, Radoslaw Szkodzinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Starz McCllelan 2004-05-06 21:03:55 UTC
I was looking at http://www-106.ibm.com/developerworks/linux/library/l-kexec.html?ca=dgr-lnxw02RebootFast

Then I noticed kexec-tools wasn't in portage, then I found:

http://bugs.gentoo.org/show_bug.cgi?id=20589
The ebuild looks like it would need some minor tweaking

It would be super if this was in portage, thanks
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2004-05-19 17:58:01 UTC
OK, I am going to revisit this now.

Jay
Comment 2 Christopher Sidebottom 2004-08-22 13:19:27 UTC
Created attachment 37963 [details]
kexec-tools-1.95.ebuild

Kexec-tools ebuild 1.95, worked for me just now when I wrote it :D

Gouranga!
-DaMouse
Comment 3 Christopher Sidebottom 2004-08-23 00:43:25 UTC
cc'ing plasmaroo at seemant's suggestion
Comment 4 Christopher Sidebottom 2004-08-23 00:56:36 UTC
Created attachment 38001 [details]
Refined Kexec-tools-1.96.ebuild

I just refined my ebuild a bit so that its a little cleaner and also uses a
newer version which I found browsing the old ebuild in the depths of the
archives.
Comment 5 Justus Winter 2004-09-08 04:01:22 UTC
Created attachment 39189 [details]
ebuild for kexec-tools-1.97

there's a new version of kexec-tools, so here's a new ebuild based uppon the
previous one.

i do prefer to put kexec in /sbin, just in case /usr is a seperate partition. i
also added RESTRICT="nomirror" to force downloading from SRC_URI.

Justus
Comment 6 Christopher Sidebottom 2004-09-08 12:02:27 UTC
hmmm, good call i didn't notice that it didn't to /bin and already.. perhaps the _test thing should go in /sbin?

-DaMouse
Comment 7 Radoslaw Szkodzinski 2004-09-17 10:45:25 UTC
Created attachment 39768 [details]
Improved kexec ebuild (with scripts)

As to DaMouse's comment, kexec should theoretically work on ppc, adding
keyword, more testing is required.

This ebuild is very much like the others, but:
a) bumped to 1.98
b) has a nice init script, taking multiple parameters
c) modifies reboot.sh to make use of kexec

I hope that this time kexec won't dissapear from the kernel.
Comment 8 Radoslaw Szkodzinski 2004-09-17 10:47:50 UTC
Sorry for the spam, I forgot to add that kexec_test binary is useless and segfaulting, my ebuild doesn't install that.
Comment 9 Christopher Sidebottom 2004-09-17 12:50:16 UTC
Perhaps we could make something to read grub.conf and load kexec -l from there?

-DaMouse
Comment 10 Radoslaw Szkodzinski 2004-09-17 14:37:25 UTC
What about lilo/silo/milo/syslinux/(put your bootmanager here) questions would then follow.

As of grub, it won't be easy, we don't know what is current default...
It would require parsing of the config, not impossible, but quite cumbersome for a shell script. Maybe Python, but I have other things to do.
Comment 11 Daniel Webert 2004-09-23 16:54:16 UTC
latest is 1.98 - can we make this ready for submit, because kexec made it in the upcomming kernel 2.6.9 - http://kerneltrap.org/node/view/3870 ... 
Comment 12 Radoslaw Szkodzinski 2004-09-30 15:11:44 UTC
After testing that very much on x86, I can say it's ready.
PPC, ia64 and amd64 are untested, but unless kexec-tools or kexec call is broken on them, it should work.
Comment 13 Christopher Sidebottom 2004-09-30 15:34:40 UTC
I agree its ready to me merged since its being merged into a "stable" kernel tree then i should indeed be brought to portage to keep up with modern technology :)

-DaMouse
Comment 14 Carlos Silva (RETIRED) gentoo-dev 2005-01-23 04:51:35 UTC
there's already the version 1.100
Comment 15 Stefan Schweizer (RETIRED) gentoo-dev 2005-01-30 07:29:39 UTC
I will take care of this.
Is it ok, if I leave reboot.sh out for the beginning?
This is, because it is already in baselayout and I dont want to interfere with them.
Comment 16 Stefan Schweizer (RETIRED) gentoo-dev 2005-01-31 08:21:00 UTC
thank you,  I added it without the reboot.sh