2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-07 16:32:28 +00:00
repo/extra/lvm2/build
2019-08-29 11:10:35 +00:00

17 lines
305 B
Bash
Executable File

#!/bin/sh -e
patch -p1 < portability.patch
patch -p1 < fix-stdio-usage.patch
./configure \
--prefix=/usr \
--disable-selinux
make
make DESTDIR="$1" install
# Make all libraries and binaries writable.
chmod -v u+w "$1/usr/lib/"* \
"$1/usr/include/"* \
"$1/usr/sbin/"*