summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-11-21 20:03:15 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-11-21 20:03:15 +0000
commit905937a3c5ae7d853187a58f4e47146570a52e91 (patch)
tree1b4171bbde06a9c238dba19beed05e6982a61081 /sys-kernel/genkernel/genkernel-9999.ebuild
parentFor 1.3 we're switching to qemu from qemu-kvm which is now merged fully into ... (diff)
downloadhistorical-905937a3c5ae7d853187a58f4e47146570a52e91.tar.gz
historical-905937a3c5ae7d853187a58f4e47146570a52e91.tar.bz2
historical-905937a3c5ae7d853187a58f4e47146570a52e91.zip
Ensure that 9999 still builds with the changelog moving to Git.
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Diffstat (limited to 'sys-kernel/genkernel/genkernel-9999.ebuild')
-rw-r--r--sys-kernel/genkernel/genkernel-9999.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-kernel/genkernel/genkernel-9999.ebuild b/sys-kernel/genkernel/genkernel-9999.ebuild
index 3a63a5cb5601..0f5f262a5305 100644
--- a/sys-kernel/genkernel/genkernel-9999.ebuild
+++ b/sys-kernel/genkernel/genkernel-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-9999.ebuild,v 1.43 2012/09/10 01:33:51 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-9999.ebuild,v 1.44 2012/11/21 20:03:09 robbat2 Exp $
# genkernel-9999 -> latest Git branch "master"
# genkernel-VERSION -> normal genkernel release
@@ -76,6 +76,12 @@ src_unpack() {
}
src_prepare() {
+ if [[ ${PV} == 9999* ]] ; then
+ einfo "Producing ChangeLog from Git history..."
+ pushd "${S}/.git" >/dev/null || die
+ git log > "${S}"/ChangeLog || die
+ popd >/dev/null || die
+ fi
use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
# Update software.sh