Skip to content

Commit

Permalink
app-emulation/xen-tools: drop udev usage
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cardoe committed Dec 4, 2015
1 parent 8821e4c commit 892aacd
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions app-emulation/xen-tools/xen-tools-4.6.0-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 892aacd

Please sign in to comment.