Fix build for AlmaLinux
This commit is contained in:
parent
69798ff103
commit
1e8f5c50b2
@ -818,7 +818,9 @@ ip addr list ||:
|
|||||||
ip route list ||:
|
ip route list ||:
|
||||||
if ping -c 3 -w 20 8.8.8.8 && wget http://libguestfs.org -O /dev/null; then
|
if ping -c 3 -w 20 8.8.8.8 && wget http://libguestfs.org -O /dev/null; then
|
||||||
# AlmaLinux: avoid permission denied for yum/dnf cache
|
# AlmaLinux: avoid permission denied for yum/dnf cache
|
||||||
extra=
|
mkdir cachedir
|
||||||
|
sed -e "s|/var/cache/yum|$(pwd)/cachedir|" -e "s|/var/cache/dnf|$(pwd)/cachedir|" /etc/dnf/dnf.conf > yum.conf
|
||||||
|
extra=--with-supermin-packager-config=$(pwd)/yum.conf
|
||||||
else
|
else
|
||||||
mkdir cachedir repo
|
mkdir cachedir repo
|
||||||
# -n 1 because of RHBZ#980502.
|
# -n 1 because of RHBZ#980502.
|
||||||
|
Loading…
Reference in New Issue
Block a user