Add link to explanation of why we are building a repo of RPMs

This commit is contained in:
Richard W.M. Jones 2024-01-08 21:21:57 +00:00
parent 345e2a7513
commit da7b003571

View File

@ -724,6 +724,8 @@ if ping -c 3 -w 20 8.8.8.8 && wget http://libguestfs.org -O /dev/null; then
extra= extra=
else else
mkdir cachedir repo mkdir cachedir repo
# For an explanation of what we are doing here, see:
# https://lists.fedorahosted.org/archives/list/koji-devel@lists.fedorahosted.org/thread/ZIBY53JAURLT3QRBBJIJJ7EZWLZDE3TI/
# -n 1 because of RHBZ#980502. # -n 1 because of RHBZ#980502.
find /var/cache/{dnf,yum} -type f -name '*.rpm' -print0 | \ find /var/cache/{dnf,yum} -type f -name '*.rpm' -print0 | \
xargs -0 -n 1 cp -t repo xargs -0 -n 1 cp -t repo