Fix build
This commit is contained in:
parent
1f5472e5b3
commit
b0eccf692d
@ -814,7 +814,10 @@ sed 's/@VERSION@/%{version}/g' < %{SOURCE4} > README
|
|||||||
ip addr list ||:
|
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
|
||||||
extra=
|
# AlmaLinux: avoid permission denied for yum/dnf cache
|
||||||
|
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