[arch-commits] Commit in lvm2/trunk (PKGBUILD)
Christian Hesse
eworm at archlinux.org
Fri Jan 3 07:28:20 UTC 2020
Date: Friday, January 3, 2020 @ 07:28:19
Author: eworm
Revision: 372500
upgpkg: lvm2 2.02.186-5
force bash for build system
Modified:
lvm2/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-03 07:19:53 UTC (rev 372499)
+++ PKGBUILD 2020-01-03 07:28:19 UTC (rev 372500)
@@ -4,7 +4,7 @@
pkgbase=lvm2
pkgname=('lvm2' 'device-mapper')
pkgver=2.02.186
-pkgrel=4
+pkgrel=5
arch=('x86_64')
url='https://sourceware.org/lvm2/'
license=('GPL2' 'LGPL2.1')
@@ -49,6 +49,7 @@
build() {
local _CONFIGUREOPTS=(
+ CONFIG_SHELL=/bin/bash
--prefix=/usr
--sbindir=/usr/bin
--sysconfdir=/etc
@@ -73,16 +74,23 @@
--with-udev-prefix=/usr
)
+ # https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Defining-Variables.html
+ export CONFIG_SHELL=/bin/bash
+
cp -a lvm2/ lvm2-initramfs/
cd lvm2/
- ./configure "${_CONFIGUREOPTS[@]}" --enable-udev-systemd-background-jobs
+ ./configure \
+ "${_CONFIGUREOPTS[@]}" \
+ --enable-udev-systemd-background-jobs
make
# Build legacy udev rule for initramfs
cd ../lvm2-initramfs
- ./configure "${_CONFIGUREOPTS[@]}" --enable-udev-systemd-background-jobs=no
+ ./configure \
+ "${_CONFIGUREOPTS[@]}" \
+ --enable-udev-systemd-background-jobs=no
cd udev
make 69-dm-lvm-metad.rules
}
More information about the arch-commits
mailing list