summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2010-03-19 17:09:07 +0000
committerThomas Sachau <tommy@gentoo.org>2010-03-19 17:09:07 +0000
commitb2d8c91d45defb43510637bf5d5580312a26bcba (patch)
tree6181535839fec0e7bd200be7585d21c9dc9ba9f2 /app-emulation
parentSet myself as maintainer. (diff)
downloadgentoo-2-b2d8c91d45defb43510637bf5d5580312a26bcba.tar.gz
gentoo-2-b2d8c91d45defb43510637bf5d5580312a26bcba.tar.bz2
gentoo-2-b2d8c91d45defb43510637bf5d5580312a26bcba.zip
Die, when nothing from QEMU_SOFTMMU_TARGETS is defined, fixes bug 310243
(Portage version: 2.2_rc67-r2/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/qemu-kvm/ChangeLog6
-rw-r--r--app-emulation/qemu-kvm/qemu-kvm-0.12.2-r2.ebuild7
-rw-r--r--app-emulation/qemu-kvm/qemu-kvm-0.12.3.ebuild7
3 files changed, 9 insertions, 11 deletions
diff --git a/app-emulation/qemu-kvm/ChangeLog b/app-emulation/qemu-kvm/ChangeLog
index 790a5c4a2b2b..631494153980 100644
--- a/app-emulation/qemu-kvm/ChangeLog
+++ b/app-emulation/qemu-kvm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/qemu-kvm
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/ChangeLog,v 1.23 2010/03/10 18:20:19 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/ChangeLog,v 1.24 2010/03/19 17:09:07 tommy Exp $
+
+ 19 Mar 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ qemu-kvm-0.12.2-r2.ebuild, qemu-kvm-0.12.3.ebuild:
+ Die, when nothing from QEMU_SOFTMMU_TARGETS is defined, fixes bug 310243
10 Mar 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
qemu-kvm-0.12.2-r2.ebuild:
diff --git a/app-emulation/qemu-kvm/qemu-kvm-0.12.2-r2.ebuild b/app-emulation/qemu-kvm/qemu-kvm-0.12.2-r2.ebuild
index 56bc65c2d83a..0739c6318d69 100644
--- a/app-emulation/qemu-kvm/qemu-kvm-0.12.2-r2.ebuild
+++ b/app-emulation/qemu-kvm/qemu-kvm-0.12.2-r2.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/app-emulation/qemu-kvm/qemu-kvm-0.12.2-r2.ebuild,v 1.2 2010/03/10 18:20:19 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-0.12.2-r2.ebuild,v 1.3 2010/03/19 17:09:07 tommy Exp $
EAPI="2"
@@ -85,10 +85,7 @@ pkg_setup() {
for check in ${IUSE_SOFTMMU_TARGETS} ; do
use "qemu_softmmu_targets_${check}" && counter="1"
done
- for check in ${IUSE_USER_TARGETS} ; do
- use "qemu_user_targets_${check}" && counter="1"
- done
- [[ ${counter} == 0 ]] && eerror "You did not set any targets, this is NOT SUPPORTED"
+ [[ ${counter} == 0 ]] && die "You need to set at least 1 target in QEMU_SOFTMMU_TARGETS"
if kernel_is lt 2 6 25; then
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
diff --git a/app-emulation/qemu-kvm/qemu-kvm-0.12.3.ebuild b/app-emulation/qemu-kvm/qemu-kvm-0.12.3.ebuild
index d38efdb8847f..b647b0a8b780 100644
--- a/app-emulation/qemu-kvm/qemu-kvm-0.12.3.ebuild
+++ b/app-emulation/qemu-kvm/qemu-kvm-0.12.3.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/app-emulation/qemu-kvm/qemu-kvm-0.12.3.ebuild,v 1.2 2010/03/10 18:17:27 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-0.12.3.ebuild,v 1.3 2010/03/19 17:09:07 tommy Exp $
EAPI="2"
@@ -84,10 +84,7 @@ pkg_setup() {
for check in ${IUSE_SOFTMMU_TARGETS} ; do
use "qemu_softmmu_targets_${check}" && counter="1"
done
- for check in ${IUSE_USER_TARGETS} ; do
- use "qemu_user_targets_${check}" && counter="1"
- done
- [[ ${counter} == 0 ]] && eerror "You did not set any targets, this is NOT SUPPORTED"
+ [[ ${counter} == 0 ]] && die "You need to set at least 1 target in QEMU_SOFTMMU_TARGETS"
if kernel_is lt 2 6 25; then
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."