app-emulation/xen-tools: drop udev usage
authorDoug Goldstein <cardoe@gentoo.org>
Fri, 4 Dec 2015 06:40:14 +0000 (00:40 -0600)
committerDoug Goldstein <cardoe@gentoo.org>
Fri, 4 Dec 2015 06:41:45 +0000 (00:41 -0600)
Xen 4.6.0 and newer no longer use or ship udev rules. The functionality
is implemented by running 'xl devd', which I'll add a script for on the
next bump.

app-emulation/xen-tools/xen-tools-4.6.0-r3.ebuild

index 079e75edf6cd54440ae3b9a96b1a32455e4ea350..b35cabeaae72f44b1d6667ad0fd9bb168cdfc56e 100644 (file)
@@ -51,7 +51,7 @@ else
        S="${WORKDIR}/xen-${MY_PV}"
 fi
 
-inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
+inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs ${live_eclass}
 
 DESCRIPTION="Xend daemon and tools"
 HOMEPAGE="http://xen.org/"
@@ -125,8 +125,7 @@ RDEPEND="${COMMON_DEPEND}
        screen? (
                app-misc/screen
                app-admin/logrotate
-       )
-       virtual/udev"
+       )"
 
 # hvmloader is used to bootstrap a fully virtualized kernel
 # Approved by QA team in bug #144032
@@ -425,11 +424,6 @@ src_install() {
        # for xendomains
        keepdir /etc/xen/auto
 
-       # Temp QA workaround
-       dodir "$(get_udevdir)"
-       mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
-       rm -rf "${D}"/etc/udev
-
        # Remove files failing QA AFTER emake installs them, avoiding seeking absent files
        find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
                -o -name openbios-ppc -o -name palcode-clipper \) -delete || die