Don't use rsync for metadata cache, it's insecure
This commit is contained in:
parent
20d9a06704
commit
bfa8deeb97
@ -7,10 +7,6 @@ if [[ ${TARGET} == gentoo ]] ; then
|
||||
# Number of jobs for egencache, default is number or processors.
|
||||
egencache_jobnum="$(nproc)"
|
||||
|
||||
ebegin "Fetching pre-generated metadata cache for gentoo repository"
|
||||
rsync -aq rsync://rsync.gentoo.org/gentoo-portage/metadata/md5-cache/ "${PORTDIR}"/metadata/md5-cache/
|
||||
eend $?
|
||||
|
||||
ebegin "Updating metadata cache for repository ${TARGET}"
|
||||
egencache --jobs=${egencache_jobnum} --repo=${TARGET} --update --update-use-local-desc
|
||||
eend $?
|
||||
|
Loading…
Reference in New Issue
Block a user