diff options
author | William Hubbs <williamh@gentoo.org> | 2011-12-15 00:34:27 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-12-15 00:34:27 +0000 |
commit | 5742907127a51c4c30661f8fdc7d2165e48a046b (patch) | |
tree | 8cc91aad472dbd043c19b561e71981786194b60b /sys-fs | |
parent | add some test status helpers to simplify management of i/o and exit status (diff) | |
download | gentoo-2-5742907127a51c4c30661f8fdc7d2165e48a046b.tar.gz gentoo-2-5742907127a51c4c30661f8fdc7d2165e48a046b.tar.bz2 gentoo-2-5742907127a51c4c30661f8fdc7d2165e48a046b.zip |
Add a compatibility symlink for udevadm and use --exec-prefix to put the binaries in the correct directory.
(Portage version: 2.2.0_alpha80/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/udev/ChangeLog | 6 | ||||
-rw-r--r-- | sys-fs/udev/udev-9999.ebuild | 12 |
2 files changed, 11 insertions, 7 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog index 1ada1ea406f6..fee0b11337eb 100644 --- a/sys-fs/udev/ChangeLog +++ b/sys-fs/udev/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-fs/udev # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.623 2011/12/14 22:06:39 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.624 2011/12/15 00:34:27 williamh Exp $ + + 15 Dec 2011; William Hubbs <williamh@gentoo.org> udev-9999.ebuild: + Add a compatibility symlink for udevadm and use --exec-prefix to put the + binaries in the correct directory. 14 Dec 2011; William Hubbs <williamh@gentoo.org> udev-9999.ebuild: remove prefix support and use bindir to install udevadm in /bin. diff --git a/sys-fs/udev/udev-9999.ebuild b/sys-fs/udev/udev-9999.ebuild index 80aba28e9c01..624859084ab5 100644 --- a/sys-fs/udev/udev-9999.ebuild +++ b/sys-fs/udev/udev-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.64 2011/12/14 22:06:39 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.65 2011/12/15 00:34:27 williamh Exp $ EAPI=4 @@ -164,9 +164,7 @@ src_configure() { filter-flags -fprefetch-loop-arrays econf \ - --prefix=/usr \ - --sysconfdir=/etc \ - --bindir=/bin \ + --exec-prefix=/ \ --libdir=/usr/$(get_libdir) \ --with-rootlibdir=/$(get_libdir) \ --libexecdir=/lib/udev \ @@ -200,8 +198,10 @@ src_install() dodoc extras/keymap/README.keymap.txt fi - # Upstream moved udevd to /lib/udev,, so symlnking it is the easiest option - dosym "../lib/udev/udevd" /sbin/udevd + # compatibility symlinks: + # udevadm is now in /bin and udevd is in /lib/udev. + dosym "/bin/udevadm" /sbin/udevadm + dosym "/lib/udev/udevd" /sbin/udevd # create symlinks for these utilities to /sbin # where multipath-tools expect them to be (Bug #168588) |