diff options
author | Juergen Daubert <jue@jue.li> | 2009-09-17 13:39:11 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2009-09-17 13:40:50 +0200 |
commit | 1c1214fe532474d115ae60f553f556e3efea4366 (patch) | |
tree | 15c064d52f39997b4bc7f3345de7191cce7fcb23 /lvm2/Pkgfile | |
parent | acdc85a47569f219fc2d8dcd7951ba1f959b54cc (diff) | |
download | opt-1c1214fe532474d115ae60f553f556e3efea4366.tar.gz opt-1c1214fe532474d115ae60f553f556e3efea4366.tar.xz |
lvm2: update to 2.02.52, build static binary for use with initrd
Diffstat (limited to 'lvm2/Pkgfile')
-rw-r--r-- | lvm2/Pkgfile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lvm2/Pkgfile b/lvm2/Pkgfile index f4c2d2e7d..043cc2ec8 100644 --- a/lvm2/Pkgfile +++ b/lvm2/Pkgfile @@ -4,7 +4,7 @@ # Depends on: libdevmapper name=lvm2 -version=2.02.51 +version=2.02.52 release=1 source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz) @@ -14,12 +14,14 @@ build() { ./configure --prefix=/usr \ --exec_prefix= \ --mandir=/usr/man \ - --disable-readline + --disable-readline \ + --enable-static_link + make -j1 make DESTDIR=$PKG install rm -r $PKG/{lib,usr/include} - rm $PKG/{sbin/dmsetup,usr/man/man8/dmsetup.8} + rm $PKG/{sbin/dmsetup*,usr/man/man8/dmsetup.8} install -d -m 0700 $PKG/etc/lvm/{archive,backup} install -d -m 1777 $PKG/var/lock |