lvm2: update to 2.02.52, build static binary for use with initrd

This commit is contained in:
Juergen Daubert 2009-09-17 13:39:11 +02:00
parent acdc85a475
commit 1c1214fe53
3 changed files with 7 additions and 4 deletions

View File

@ -11,6 +11,7 @@ lrwxrwxrwx root/root sbin/lvcreate -> lvm
lrwxrwxrwx root/root sbin/lvdisplay -> lvm
lrwxrwxrwx root/root sbin/lvextend -> lvm
-r-xr-xr-x root/root sbin/lvm
-r-xr-xr-x root/root sbin/lvm.static
lrwxrwxrwx root/root sbin/lvmchange -> lvm
lrwxrwxrwx root/root sbin/lvmdiskscan -> lvm
-r-xr-xr-x root/root sbin/lvmdump

View File

@ -1 +1 @@
725d07794007e021bfc592b1636100c7 LVM2.2.02.51.tgz
f3b3aed6f6aacd8f351d9a5da097293f LVM2.2.02.52.tgz

View File

@ -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