changing the install location of hal-system-power-pmu to libexec

Richard Hughes hughsient at gmail.com
Sat Feb 18 02:11:40 PST 2006


On Fri, 2006-02-17 at 23:05 +0100, Sjoerd Simons wrote:
> On Thu, Feb 16, 2006 at 11:40:52PM +0000, Richard Hughes wrote:
> > Okay, installing hal-system-power-pmu to bin isn't the best of ideas, as
> > it's only designed to be run by HAL. Nor is it a good idea to install
> > to /usr/share/hal/scripts, as it's quite clearly not a script.
> > 
> > In CVS, the hal-power-brightness-* scripts assume it's in the latter, so
> > don't work for pmu at the moment. [1]
> > 
> > David wanted it to go into libexec, for which I've attached a patch, but
> > It's real messy with the hardcoded /usr/libexec/ bit in each file. The
> > only way I see around that is to convert each script into a script.in
> > file that gets 'compiled' with the correct path.
> 
> The libexec dir should be part of the PATH of every program the runner calls.
> So no need to hardcode it, just call hal-system-power-pmu :)

Ohh sweet! Didn't know this. I'll test this now and send a patch.

Richard.



More information about the hal mailing list