[laptop-mode] [PATCH] laptop-mode-tools-1.47 - install.sh fixups

Ryan Hill dirtyepic at gentoo.org
Sat Feb 28 21:00:49 CET 2009


--Sig_/Sw.7pZSqccpgXO6w=jjZRNV
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

> 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.


--=20
gcc-porting,                                      by design, by neglect
treecleaner,                              for a fact or just for effect
wxwidgets @ gentoo     EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662

--Sig_/Sw.7pZSqccpgXO6w=jjZRNV
Content-Disposition: attachment; filename=signature.asc
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://mailman.samwel.tk/pipermail/laptop-mode/attachments/20090228/8bf15b74/attachment.pgp 

--Sig_/Sw.7pZSqccpgXO6w=jjZRNV--


More information about the laptop-mode mailing list