2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-16 12:42:28 +00:00
repo/extra/lvm2/build

17 lines
305 B
Plaintext
Raw Normal View History

2019-06-23 05:43:05 +00:00
#!/bin/sh -e
2019-06-23 05:51:58 +00:00
patch -p1 < portability.patch
2019-06-23 05:56:28 +00:00
patch -p1 < fix-stdio-usage.patch
2019-06-23 05:51:58 +00:00
2019-06-23 05:43:05 +00:00
./configure \
--prefix=/usr \
--disable-selinux
make
make DESTDIR="$1" install
2019-08-29 11:10:35 +00:00
# Make all libraries and binaries writable.
chmod -v u+w "$1/usr/lib/"* \
"$1/usr/include/"* \
"$1/usr/sbin/"*