[Pm-utils] Some thoughts about some of the hooks

Peter Jones pjones at redhat.com
Tue Oct 10 16:53:40 PDT 2006

On Fri, 2006-10-06 at 10:14 +0200, Stefan Seyfried wrote:
> On Fri, Oct 06, 2006 at 10:01:19AM +0200, Tim Dijkstra wrote:
> > On Fri, 6 Oct 2006 07:56:11 +0200
> > Stefan Seyfried <seife at suse.de> wrote:
> > 
> > > Ok. I am going to try to move all our powersaved scripts to pm-utils,
> > > and making it work with uswsusp (which is our default now) would have
> > > been one of the tasks anyway :-)
> > 
> > Very good. Takes something from my todo list;)
> :-)
> > >  And 01grub
> > > does not restore the old config after resume anyway
> > 
> > OK, than my point is moot.
> And since every distro has a little bit different tweaks for grub (or
> maybe just plain simple naming conventions for the boot entries or such),
> i think the grub hook belongs in the grub package.

For now, I'd just as soon leave this here, but make it call some script
we can mutually decide on to set/unset the next boot option.

> I have a pretty complicated logic to find out which kernel to boot next
> in powersaved scripts, that is apparently obsoleted by /sbin/grubby on
> fedora and that also will not work on other distros due to different
> naming conventions for the kernel binary.

Yeah, this way is just how we do it on Fedora; I'm perfectly willing to
change it to be more generic.


More information about the Pm-utils mailing list