Hi, today i tried to setup a LVM on a ataraid device. This failed because, LVM-1.0.1-rc4 does not support ataraid devices. i atteched a new lvm-user ebuild which updates LVM to 1.0.3 (which includes support for ataraid devices)... it's basically a copy+paste of the old one. it compiled nicely on my homemachine - and i will use it with the gentoo bootdisc tommorrow... thanks Thilo === # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Daniel Robbins <drobbins@gentoo.org> # /space/gentoo/cvsroot/gentoo-x86/sys-apps/lvm-user/lvm-user-1.0.1_rc4-r1.ebuild,v 1.1 2002/02/08 16:56:29 drobbins Exp NV=1.0.3 S=${WORKDIR}/LVM/${NV} DESCRIPTION="User-land utilities for LVM (Logical Volume Manager) software" SRC_URI="ftp://ftp.sistina.com/pub/LVM/1.0/lvm_${NV}.tar.gz" HOMEPAGE="http://www.mosix.org" DEPEND="virtual/glibc" KS=/usr/src/linux src_compile() { cd ${S} #This ebuild doesn't like this opt setting; closes bug #598 export CFLAGS="${CFLAGS/-fomit-frame-pointer/}" [ -f "Makefile" ] && ( make clean || die ) CFLAGS="${CFLAGS} -I${KS}/include" \ ./configure --prefix=/ \ --mandir=/usr/share/man \ --with-kernel_dir="${KS}" || die make || die } src_install () { cd ${S}/tools CFLAGS="${CFLAGS} -I${KS}/include" \ make install \ -e prefix=${D} \ mandir=${D}/usr/share/man \ sbindir=${D}/sbin \ libdir=${D}/lib || die #no need for a static library in /lib dodir /usr/lib mv ${D}/lib/*.a ${D}/usr/lib }
if you change NV=1.0.2you would get a version that matches kernel 2.4.18 (if i am not mistaken)regardsThilo
in kernel 2.4.19 is lvm 1.0.3 included - its time to update the tools, i'd say
okay, thanks for the tip. i'll get to it soon. you're saying the ebuild you pasted in here works perfectly? i dont use LVM so Ill have to take your word for it. i hope you've tested it? I dont want to commit something to cvs that is not tested, or that is going to break very soon. please email me privately your perfectly working, fully tested ebuild as an attachment. im not happy with cutting and pasting text from the bugzilla. thanks :)
done
Created attachment 341064 [details, diff] Makes zvols a recognized block type for lvm. Trivial patch to make lvm recognize zvols
Oops. Added patch to wrong bug. Sorry