Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 31484 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]
Patch for 2.00.15
lvm2-2.00.15.ebuild.static.patch (text/plain), 1.07 KB, created by
Philipp Kirchner
on 2004-05-15 09:38:08 UTC
(
hide
)
Description:
Patch for 2.00.15
Filename:
MIME Type:
Creator:
Philipp Kirchner
Created:
2004-05-15 09:38:08 UTC
Size:
1.07 KB
patch
obsolete
>--- lvm2-2.00.15.ebuild.old 2004-05-15 18:25:21.000000000 +0200 >+++ lvm2-2.00.15.ebuild 2004-05-15 18:37:27.000000000 +0200 >@@ -15,15 +15,32 @@ > !sys-fs/lvm-user" > > S="${WORKDIR}/${PN/lvm/LVM}.${PV}" >+IUSE="static" > > 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!" >+ $CC -o tools/lvm.static tools/*.o -L/lib -L./lib -llvm -ldevmapper -ldl -static || die "Static linking failed!" >+ 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