summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2010-02-02 16:32:32 +0000
committerLance Albertson <ramereth@gentoo.org>2010-02-02 16:32:32 +0000
commit36abb175effb78a36859cfeb7da86e009e149817 (patch)
treec2b30eb1a60aa3afdddb3139617a36d09d893f0c /sys-kernel
parentAdd arm to 9999 ebuild too. (diff)
downloadgentoo-2-36abb175effb78a36859cfeb7da86e009e149817.tar.gz
gentoo-2-36abb175effb78a36859cfeb7da86e009e149817.tar.bz2
gentoo-2-36abb175effb78a36859cfeb7da86e009e149817.zip
Version bump
(Portage version: 2.1.7.16/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/dracut/ChangeLog10
-rw-r--r--sys-kernel/dracut/dracut-004.ebuild (renamed from sys-kernel/dracut/dracut-002.ebuild)34
2 files changed, 16 insertions, 28 deletions
diff --git a/sys-kernel/dracut/ChangeLog b/sys-kernel/dracut/ChangeLog
index 68ebc60f5ca5..7e0b333a8dc0 100644
--- a/sys-kernel/dracut/ChangeLog
+++ b/sys-kernel/dracut/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/dracut
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/ChangeLog,v 1.2 2009/12/09 08:24:27 ramereth Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/ChangeLog,v 1.3 2010/02/02 16:32:32 ramereth Exp $
+
+*dracut-004 (02 Feb 2010)
+
+ 02 Feb 2010; Lance Albertson <ramereth@gentoo.org> -dracut-002.ebuild,
+ +dracut-004.ebuild:
+ Version bump
*dracut-003 (09 Dec 2009)
*dracut-002-r1 (09 Dec 2009)
diff --git a/sys-kernel/dracut/dracut-002.ebuild b/sys-kernel/dracut/dracut-004.ebuild
index 71eee466bbe6..29cb3b975f5e 100644
--- a/sys-kernel/dracut/dracut-002.ebuild
+++ b/sys-kernel/dracut/dracut-004.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-002.ebuild,v 1.1 2009/09/29 05:17:59 ramereth Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-004.ebuild,v 1.1 2010/02/02 16:32:32 ramereth Exp $
EAPI=2
-inherit eutils mount-boot
+inherit mount-boot
DESCRIPTION="Generic initramfs generation tool"
HOMEPAGE="http://sourceforge.net/projects/dracut/"
@@ -20,19 +20,7 @@ NETWORK_DEPS="sys-apps/iproute2 net-misc/dhcp net-misc/bridge-utils"
RDEPEND="app-shells/dash
>=sys-apps/module-init-tools-3.6
- app-arch/cpio
- sys-apps/coreutils
- sys-apps/findutils
- sys-devel/binutils
- sys-apps/grep
- sys-apps/which
- sys-apps/util-linux
- app-shells/bash
- app-arch/gzip
- app-arch/tar
- sys-fs/e2fsprogs
- sys-apps/file
- app-arch/bzip2
+ >=sys-apps/util-linux-2.16
crypt? ( sys-fs/cryptsetup )
dmraid? ( sys-fs/dmraid )
lvm? ( >=sys-fs/lvm2-2.02.33 )
@@ -43,22 +31,16 @@ RDEPEND="app-shells/dash
selinux? ( sys-libs/libselinux sys-libs/libsepol )"
DEPEND="${RDEPEND}"
-src_prepare() {
- epatch "${FILESDIR}/${P}-unmount.patch"
- epatch "${FILESDIR}/${P}-custom-paths.patch"
- epatch "${FILESDIR}/${P}-dir-symlinks.patch"
- epatch "${FILESDIR}/${P}-add-missing-functions.patch"
- epatch "${FILESDIR}/${P}-gencmdline-check-for-keyboard-i18n-files.patch"
-}
-
src_compile() {
- emake prefix=/usr sysconfdir=/etc || die "emake failed"
+ emake WITH_SWITCH_ROOT=0 prefix=/usr sysconfdir=/etc || die "emake failed"
}
src_install() {
local modules_dir="${D}/usr/share/dracut/modules.d"
- emake prefix=/usr sysconfdir=/etc DESTDIR="${D}" install || die "emake install failed"
+ emake WITH_SWITCH_ROOT=0 \
+ prefix=/usr sysconfdir=/etc \
+ DESTDIR="${D}" install || die "emake install failed"
echo "${PF}" > "${modules_dir}"/10rpmversion/dracut-version
dodir /boot/dracut /var/lib/dracut/overlay
dodoc HACKING TODO AUTHORS NEWS README*