build/prefetch: broke this, different suffixes for base/kernel

This commit is contained in:
Franco Fichtner 2023-04-21 10:36:13 +02:00
parent d3ad0ac3f6
commit 19a5de41ae
1 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright (c) 2016-2021 Franco Fichtner <franco@opnsense.org>
# Copyright (c) 2016-2023 Franco Fichtner <franco@opnsense.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@ -41,7 +41,14 @@ fi
for ARG in ${@}; do
case ${ARG} in
base|kernel|packages)
base|kernel)
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_ARCH}"
for SUFFIX in tar.sig tar; do