build/prefetch: simplify

This commit is contained in:
Franco Fichtner 2023-02-07 07:52:12 +01:00
parent 3645ecdbc4
commit 1f136c68db
1 changed files with 1 additions and 8 deletions

View File

@ -41,16 +41,9 @@ fi
for ARG in ${@}; do
case ${ARG} in
base|kernel)
base|kernel|packages)
sh ./clean.sh ${ARG}
URL="${MIRRORSETDIR}/${ARG}-${VERSION}-${PRODUCT_ARCH}"
for SUFFIX in txz.sig txz; do
fetch -o ${SETSDIR} ${URL}.${SUFFIX} || true
done
;;
packages)
sh ./clean.sh ${ARG}
URL="${MIRRORSETDIR}/${ARG}-${VERSION}-${PRODUCT_FLAVOUR}-${PRODUCT_ARCH}"
for SUFFIX in tar.sig tar; do
fetch -o ${SETSDIR} ${URL}.${SUFFIX} || true
done