summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2010-03-15 21:43:05 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2010-03-15 21:43:05 +0000
commit58e30ac9ba89f141289de97b8df2d249d00df4b6 (patch)
treeed64b3e4cd47edc247a3118106de52d5b35df69c /sys-fs/udev/udev-149.ebuild
parentVersion bump. (diff)
downloadgentoo-2-58e30ac9ba89f141289de97b8df2d249d00df4b6.tar.gz
gentoo-2-58e30ac9ba89f141289de97b8df2d249d00df4b6.tar.bz2
gentoo-2-58e30ac9ba89f141289de97b8df2d249d00df4b6.zip
Fix tests for udev-149 and udev-151-r1, thanks to Myckel Habets for looking into it, Bug #295958. Restrict test for the other ebuilds.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/udev/udev-149.ebuild')
-rw-r--r--sys-fs/udev/udev-149.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-fs/udev/udev-149.ebuild b/sys-fs/udev/udev-149.ebuild
index f696df6bbfab..7acaa01628d8 100644
--- a/sys-fs/udev/udev-149.ebuild
+++ b/sys-fs/udev/udev-149.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-149.ebuild,v 1.7 2010/03/07 22:49:13 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-149.ebuild,v 1.8 2010/03/15 21:43:05 zzam Exp $
EAPI="1"
@@ -13,7 +13,9 @@ if [[ ${PV} == "9999" ]]; then
EGIT_BRANCH="master"
inherit git autotools
else
+ # please update testsys-tarball whenever udev-xxx/test/sys/ is changed
SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2
+ test? ( mirror://gentoo/${PN}-149-testsys.tar.bz2 )
mirror://gentoo/${PATCHSET}.tar.bz2"
fi
DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
@@ -130,6 +132,10 @@ src_unpack() {
git_src_unpack
else
unpack ${A}
+
+ if use test; then
+ mv "${WORKDIR}"/test/sys "${S}"/test/
+ fi
fi
cd "${S}"