[laptop-mode] [PATCH] laptop-mode-tools-1.47 - install.sh fixups
Bart Samwel
bart at samwel.tk
Sat Feb 28 23:28:02 CET 2009
Ryan Hill wrote:
>> Thanks for contributing! Unfortunately your patch is not correct:
>> pm-utils has nothing to do with PMU. The PMU power management unit is
>> the piece of hardware which manages power in older (PowerPC) Apple
>> hardware. On the other hand, pm-utils is very new software which
>> provides support for suspending and resuming and other power related
>> stuff. Therefore, the configuration for pm-utils should definitely be
>> installed always whenever pm-utils is present on the system!
>
> The problem here is that we install into a temporary staging area
> specified using ${DESTDIR} and then merge it with the live
> filesystem. /etc/pm/sleep.d/ doesn't exist in the DESTDIR so install
> fails:
>
>>>> Install laptop-mode-tools-1.47
>>>> into /var/tmp/portage/app-laptop/laptop-mode-tools-1.47/image/
> install: target
> `/var/tmp/portage/app-laptop/laptop-mode-tools-1.47/image//etc/pm/sleep.d/'
> is not a directory: No such file or directory
> ./install.sh: Failed to install 99-laptop-mode into /etc/pm/sleep.d.
> Installation failed.
Ahhh, so we need a way to force installation of the pm-utils bindings.
Okidoki, we can do that. I've put it on my TODO list so it'll be in the
next release!
Cheers,
Bart
More information about the laptop-mode
mailing list