diff options
author | KARBOWSKI Piotr <piotr.karbowski@gmail.com> | 2017-12-25 18:20:45 +0100 |
---|---|---|
committer | KARBOWSKI Piotr <piotr.karbowski@gmail.com> | 2017-12-25 18:20:45 +0100 |
commit | 36444351dcbef568fe5fccff010586f2876b82b2 (patch) | |
tree | d170ebebb284d60cbcb12a0258b2732a0b3c3598 | |
parent | ChangeLog update (diff) | |
download | better-initramfs-36444351dcbef568fe5fccff010586f2876b82b2.tar.xz better-initramfs-36444351dcbef568fe5fccff010586f2876b82b2.zip |
lebuilds/lvm2.lebuild: update
- Version 2.02.103 -> 2.02.177
- change the way it's built.
-rwxr-xr-x | bootstrap/lebuilds/lvm2.lebuild | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/bootstrap/lebuilds/lvm2.lebuild b/bootstrap/lebuilds/lvm2.lebuild index 69fc437..6b77995 100755 --- a/bootstrap/lebuilds/lvm2.lebuild +++ b/bootstrap/lebuilds/lvm2.lebuild @@ -1,22 +1,19 @@ #!/bin/sh name='lvm2' -version='2.02.103' -sources=( "ftp://sources.redhat.com/pub/lvm2/releases/LVM2.${version}.tgz" ) +version='2.02.177' +sources=( "https://www.sourceware.org/pub/lvm2/releases/LVM2.${version}.tgz" ) homepage='http://sources.redhat.com/lvm2/' license='GPLv2' -# Something is badly wrong with the lvm2 package, we will create symlinks to autoconf dir to workaround it. build_cmd=" - cd /source/${name}-${version} && \ - for i in \$(find . -type d -maxdepth 1); do (cd \$i && ln -s ../autoconf 2>/dev/null); done; \ - sed 's#-Wl,--no-export-dynamic##g' tools/Makefile.in -i && \ - ./configure --prefix=/usr --enable-static_link && \ - make -j ${cores_num:-1} && \ - make device-mapper && \ - make install device-mapper + cd /source/${name}-${version} && \ + ln -snfv ioctl/libdevmapper.a libdm/libdevmapper.a && + ./configure --prefix=/binit/prefix --enable-static_link && \ + make -j ${cores_num:-1} all device-mapper && \ + make install " -deploy="/source/${name}-${version}/tools/lvm.static" +deploy="/binit/prefix/sbin/lvm" fetch_source install_source |