aboutsummaryrefslogtreecommitdiff
path: root/extra/lvm2/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-03-31 14:18:50 +0300
committerCem Keylan <cem@ckyln.com>2020-03-31 14:18:50 +0300
commit08839eab9d2a10f4cf09c50b32167fc272480419 (patch)
treeaeb151dfb44b9c6d4fd85c7d6e7746092b1eeb2e /extra/lvm2/build
parent22f0a13cdb4de741f48d5443e1f8ffe70ac0e602 (diff)
downloadrepository-08839eab9d2a10f4cf09c50b32167fc272480419.tar.gz
lvm2: remove package from main repository
Diffstat (limited to 'extra/lvm2/build')
-rwxr-xr-xextra/lvm2/build41
1 files changed, 0 insertions, 41 deletions
diff --git a/extra/lvm2/build b/extra/lvm2/build
deleted file mode 100755
index ffa71785..00000000
--- a/extra/lvm2/build
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh -e
-
-patch -p1 < fix-stdio-usage.patch
-patch -p1 < disable-symver.patch
-
-# LVM2 calls 'fmt -1' throughout the build process.
-# Busybox doesn't provide this command, however
-# all it does is split words one per line and
-# 'tr' can be used in its place.
-sed -i 's/fmt -1/tr " " "\\n"/' \
- make.tmpl.in libdm/make.tmpl.in
-
-# The build fails when using busybox's 'mkdir'(?),
-# swap to using 'install -d' instead which works.
-export MKDIR_P="install -d"
-
-./configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-selinux \
- --enable-pkgconfig \
- --enable-fsadm \
- --enable-dmeventd \
- --enable-cmdlib \
- --enable-udev_sync \
- --enable-udev_rules \
- --enable-symvers=no \
- --disable-symvers \
- --with-default-dm-run-dir=/run \
- --with-default-locking-dir=/run/lock/lvm \
- --with-default-pid-dir=/run \
- --with-default-run-dir=/run/lvm
-
-make DESTDIR="$1" install
-
-# Make all libraries and binaries writable.
-chmod -v u+w "$1/usr/lib/"* \
- "$1/usr/include/"* \
- "$1/usr/bin/"*