Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 203504 Details for
Bug 275451
(PATCH) sys-fs/dmraid-1.0.0_rc15 broken for multiple raid sets and long serial numbers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild applying attachment 203501 and attachment 203502
dmraid-1.0.0_rc15.ebuild (text/plain), 2.26 KB, created by
Ian Stakenvicius (RETIRED)
on 2009-09-08 15:15:22 UTC
(
hide
)
Description:
ebuild applying attachment 203501 and attachment 203502
Filename:
MIME Type:
Creator:
Ian Stakenvicius (RETIRED)
Created:
2009-09-08 15:15:22 UTC
Size:
2.26 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc15.ebuild,v 1.3 2009/04/27 15:51:00 patrick Exp $ > >inherit linux-info flag-o-matic > >MY_PV=${PV/_/.} > >DESCRIPTION="Device-mapper RAID tool and library" >HOMEPAGE="http://people.redhat.com/~heinzm/sw/dmraid/" >SRC_URI="http://people.redhat.com/~heinzm/sw/dmraid/src/${PN}-${MY_PV}.tar.bz2" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~ppc ~x86" >IUSE="static selinux" > >DEPEND="|| ( >=sys-fs/lvm2-2.02.45 > sys-fs/device-mapper ) > selinux? ( sys-libs/libselinux > sys-libs/libsepol )" >RDEPEND="${DEPEND}" > >S=${WORKDIR}/${PN}/${MY_PV} > >pkg_setup() { > if kernel_is lt 2 6 ; then > ewarn "You are using a kernel < 2.6" > ewarn "DMraid uses recently introduced Device-Mapper features." > ewarn "These might be unavailable in the kernel you are running now." > fi > if use static && use selinux ; then > eerror "ERROR - cannot compile static with libselinux / libsepol" > die "USE flag conflicts." > fi >} > >src_unpack() { > unpack ${A} > cd "${S}" > epatch "${FILESDIR}/${PN}-destdir-fix.patch" > epatch "${FILESDIR}/${P}-devsk-isw.patch" > epatch "${FILESDIR}/${P}-undo-p-rename.patch" >} > >src_compile() { > econf \ > $(use_enable static static_link) \ > $(use_enable selinux libselinux) \ > $(use_enable selinux libsepol) > emake -j1 || die "emake failed" >} > >src_install() { > emake DESTDIR="${D}" install || die "emake install failed" > dodoc CHANGELOG README TODO KNOWN_BUGS doc/* || die "dodoc failed" >} > >pkg_postinst() { > einfo "For booting Gentoo from Device-Mapper RAID you can use Genkernel." > einfo " " > einfo "Genkernel will generate the kernel and the initrd with a statically " > einfo "linked dmraid binary (its own version which may not be the same as this version):" > einfo " emerge -av sys-kernel/genkernel" > einfo " genkernel --dmraid --udev all" > einfo " " > einfo "If you would rather use this version of DMRAID with Genkernel, copy the distfile" > einfo "from your distdir to '/usr/share/genkernel/pkg/' and update the following" > einfo "in /etc/genkernel.conf:" > einfo " DMRAID_VER=\"${MY_PV/_/.}\"" > einfo " DMRAID_SRCTAR=\"\${GK_SHARE}/pkg/${A}\"" > einfo " " > ewarn "DMRAID should be safe to use, but no warranties can be given" > einfo " " >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 275451
:
195787
|
203501
|
203502
| 203504 |
203505
|
211502