[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-pm-utils
Subject: Re: [Pm-utils] pm-utils logfile checks
From: Victor Lowther <victor.lowther () gmail ! com>
Date: 2008-04-28 23:09:57
Message-ID: 1209424197.7234.7.camel () sentry-no ! fnordovax ! org
[Download RAW message or body]
On Mon, 2008-04-28 at 17:16 +0200, Michael Biebl wrote:
> 2008/4/28 Dan Nicholson <dbn.lists@gmail.com>:
> > On Mon, Apr 28, 2008 at 7:23 AM, Stefan Seyfried <seife@suse.de> wrote:
> > > Till Maas wrote:
> > >
> > > > Btw. I updated the HOWTO.hooks in git to mention "${PM_FUNCTIONS}" instead of
> > > > the hardcoded path, because on 64 bit system pm-utils is installed
> > > > in /usr/lib64 instead of /usr/lib.
> > >
> > > Which you should fix anyway - if you need it at all, install pm-reset-swap and
> > > pm-pmu in /usr/bin, and the rest makes for a fine noarch package.
>
> If at all, then sbindir please.
>
> But I don't think moving pm-pmu and pm-reset-swap to bin or sbin would
> be a good idea.
> They are implementation details, not tools that should be directly
> executed by the user.
> pm-pmu e.g. is going away in the near/mid term, as pmu machines now
> support echo "mem" > /sys/power/state.
AOL.
> >
> > Or libexecdir if they should stay out of $PATH. I think it would be
>
> libexecdir whould make more sense indeed.
I would rather leave them where they are and let them die natural
deaths.
The natural death path for pm-pmu is clear (2.6.25 no longer needs pmu
hacks), the natural death path for pm-reset-swap is less so. Perhaps I
am missing something, but the current code does not call it at all --
what is it used for?
> > nice to make the package as noarch as possible, since it's almost
> > entirely scripts. Really, mostly everything would be most appropriate
> > in ${datadir}/pm-utils.
>
> Ack, moving the scripts to $datadir would be technically correct. We
> should be carful about not breaking existing scripts (again) though.
Technically correct, but annoying because scripts are executable data.
I would prefer to leave them where they are for now
> Cheers,
> Michael
>
>
--
Victor Lowther
Ubuntu Certified Professional
_______________________________________________
Pm-utils mailing list
Pm-utils@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic