Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 31834 Details for
Bug 44091
sys-fs/lvm2: cannot be used within initrd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch for lvm2.2.00.15.ebuild
bug44091-lvm2.2.00.15-static.ebuild.patch (text/plain), 1.05 KB, created by
Sascha Silbe
on 2004-05-22 05:55:59 UTC
(
hide
)
Description:
Updated patch for lvm2.2.00.15.ebuild
Filename:
MIME Type:
Creator:
Sascha Silbe
Created:
2004-05-22 05:55:59 UTC
Size:
1.05 KB
patch
obsolete
>--- lvm2-2.00.15.ebuild 2004-05-22 13:28:02.000000000 +0200 >+++ lvm2-2.00.15-r1.ebuild 2004-05-22 14:51:05.000000000 +0200 >@@ -15,15 +15,38 @@ > !sys-fs/lvm-user" > > S="${WORKDIR}/${PN/lvm/LVM}.${PV}" >+IUSE="static" > >+src_unpack() { >+ unpack ${A} >+ >+ cd ${S} >+ epatch ${FILESDIR}/${PN/lvm/LVM}.${PV}-static.patch >+} >+ > src_compile() { >- econf || die "econf failed" >+ # Build the static binary first; then the dynamic one... >+ if [ `use static` ]; then >+ # make distclean # This does not work >+ econf --enable-static_link >+ emake -j1 || die "Failed to compile!" >+ fi > >- # Parallel build doesn't work. >- emake -j1 || die "compile problem" >+ # Dynamic binary >+ econf --disable-static_link >+ emake -j1 || die "Failed to compile!" > } > > src_install() { >+ # Install dynamic things > einstall sbindir="${D}/sbin" confdir="${D}/etc/lvm" >+ >+ # Make static links >+ if [ `use static` ]; then >+ into / >+ dosbin tools/lvm.static >+ find ${D}/sbin -type l -exec ln -sf ${D}/sbin/lvm.static {}.static \; >+ fi >+ > dodoc COPYING* INSTALL README VERSION WHATS_NEW doc/*.{conf,c,txt} > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44091
:
27266
|
31484
|
31832
| 31834 |
39278
|
39279
|
39951