lvm2: Fixed from @ioraff

This commit is contained in:
Dylan Araps 2020-02-11 23:39:40 +02:00
parent ac10954480
commit 75ebb42bb5
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
2 changed files with 8 additions and 3 deletions

View File

@ -14,6 +14,10 @@ sed -i 's/fmt -1/tr " " "\\n"/' \
# swap to using 'install -d' instead which works.
export MKDIR_P="install -d"
# Build system requires bash
# https://www.redhat.com/archives/linux-lvm/2020-January/msg00004.html
export CONFIG_SHELL=/bin/bash
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
@ -36,6 +40,6 @@ export MKDIR_P="install -d"
make DESTDIR="$1" install
# Make all libraries and binaries writable.
chmod -v u+w "$1/usr/lib/"* \
"$1/usr/include/"* \
"$1/usr/bin/"*
chmod u+w "$1/usr/lib/"* \
"$1/usr/include/"* \
"$1/usr/bin/"*

View File

@ -1,3 +1,4 @@
bash make
eudev
libaio
util-linux