summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-10-17 18:46:00 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-10-17 18:46:00 +0000
commit0ef63fdd8f218dfc5a31c96b2476b6ae22c537c1 (patch)
tree2dc2150206a6dd144e3c788d6db92446418d1c67 /sys-kernel/zen-sources
parentx86 stable, bug 385649 (diff)
downloadgentoo-2-0ef63fdd8f218dfc5a31c96b2476b6ae22c537c1.tar.gz
gentoo-2-0ef63fdd8f218dfc5a31c96b2476b6ae22c537c1.tar.bz2
gentoo-2-0ef63fdd8f218dfc5a31c96b2476b6ae22c537c1.zip
Drop stable useflag. Now enabled by default. Bug #387403. Use minimal use flag for --depth 1 clones. Bug #384673.
(Portage version: 2.2.0_alpha67/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel/zen-sources')
-rw-r--r--sys-kernel/zen-sources/ChangeLog7
-rw-r--r--sys-kernel/zen-sources/metadata.xml2
-rw-r--r--sys-kernel/zen-sources/zen-sources-9999.ebuild24
3 files changed, 13 insertions, 20 deletions
diff --git a/sys-kernel/zen-sources/ChangeLog b/sys-kernel/zen-sources/ChangeLog
index b43f28bdd30a..08bdf9ce7c3b 100644
--- a/sys-kernel/zen-sources/ChangeLog
+++ b/sys-kernel/zen-sources/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-kernel/zen-sources
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/zen-sources/ChangeLog,v 1.52 2011/09/21 09:02:49 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/zen-sources/ChangeLog,v 1.53 2011/10/17 18:46:00 hwoarang Exp $
+
+ 17 Oct 2011; Markos Chandras <hwoarang@gentoo.org> zen-sources-9999.ebuild,
+ metadata.xml:
+ Drop stable useflag. Now enabled by default. Bug #387403. Use minimal use
+ flag for --depth 1 clones. Bug #384673.
21 Sep 2011; Michał Górny <mgorny@gentoo.org> zen-sources-9999.ebuild:
Migrate to git-2.
diff --git a/sys-kernel/zen-sources/metadata.xml b/sys-kernel/zen-sources/metadata.xml
index 718ee7a6575d..d73a7a5ef4b3 100644
--- a/sys-kernel/zen-sources/metadata.xml
+++ b/sys-kernel/zen-sources/metadata.xml
@@ -11,7 +11,7 @@
</maintainer>
<use>
<flag name="bfq">Make the BFQ IO Scheduler available by applying upstream patches</flag>
- <flag name="stable">Clone stable git tree</flag>
+ <flag name="minimal">Clone git tree with --depth 1 to reduce amount of data to download. Use with caution</flag>
<flag name="tuxonice">Apply TuxOnIce kernel patches advanced hibernation
support</flag>
<flag name='deblob'>Remove binary blobs from kernel sources to provide libre license compliance.</flag>
diff --git a/sys-kernel/zen-sources/zen-sources-9999.ebuild b/sys-kernel/zen-sources/zen-sources-9999.ebuild
index abdb730eb919..bbcbc7d98ca9 100644
--- a/sys-kernel/zen-sources/zen-sources-9999.ebuild
+++ b/sys-kernel/zen-sources/zen-sources-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-kernel/zen-sources/zen-sources-9999.ebuild,v 1.4 2011/09/21 09:02:49 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/zen-sources/zen-sources-9999.ebuild,v 1.5 2011/10/17 18:46:00 hwoarang Exp $
EAPI="2"
@@ -15,7 +15,8 @@ CKV='2.6.99'
ETYPE="sources"
-IUSE="+stable"
+EGIT_REPO_URI="git://zen-kernel.org/kernel/zen-stable.git
+ http://git.zen-kernel.org/zen-stable/"
inherit kernel-2 git-2
detect_version
@@ -24,13 +25,7 @@ K_NOSETEXTRAVERSION="don't_set_it"
DESCRIPTION="The Zen Kernel Live Sources"
HOMEPAGE="http://zen-kernel.org"
-if use stable; then
- EGIT_REPO_URI="git://zen-kernel.org/kernel/zen-stable.git
- http://git.zen-kernel.org/zen-stable/"
-else
- EGIT_REPO_URI="git://zen-kernel.org/kernel/zen.git
- http://git.zen-kernel.org/zen/"
-fi
+IUSE="+minimal"
KEYWORDS=""
@@ -42,15 +37,8 @@ pkg_setup(){
ewarn "Git zen-sources are extremely unsupported, even from the upstream"
ewarn "developers. Use them at your own risk and don't bite us if your"
ewarn "system explodes"
- ebeep 10
- ewarn
- if use stable; then
- ewarn "stable use flag is enabled. This means that you will install"
- ewarn "${PN} from stable git tree."
- else
- ewarn "WARNING! stable use flag is disabled. You will install ${PN}"
- ewarn "from unstable git tree"
+ if use minimal; then
+ EGIT_OPTIONS="--depth 1"
fi
- ebeep 10
kernel-2_pkg_setup
}