build: start to stop handling "obsolete" set which is obsolete

This commit is contained in:
Franco Fichtner 2019-01-09 08:10:17 +01:00
parent 93a6c11482
commit 1ef27c249b
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright (c) 2016-2017 Franco Fichtner <franco@opnsense.org>
# Copyright (c) 2016-2019 Franco Fichtner <franco@opnsense.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@ -39,7 +39,7 @@ for ARG in ${@}; do
base)
sh ./clean.sh ${ARG}
URL="${PRODUCT_MIRROR}/${ABI}/sets/${ARG}-${PRODUCT_VERSION}-${PRODUCT_ARCH}"
for SUFFIX in obsolete.sig obsolete txz.sig txz; do
for SUFFIX in txz.sig txz; do
fetch -o ${SETSDIR} ${URL}.${SUFFIX} || true
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright (c) 2016-2017 Franco Fichtner <franco@opnsense.org>
# Copyright (c) 2016-2019 Franco Fichtner <franco@opnsense.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@ -34,7 +34,6 @@ SELF=sign
BASE_SET=$(find ${SETSDIR} -name "base-*-${PRODUCT_ARCH}.txz")
if [ -f "${BASE_SET}" ]; then
generate_signature ${BASE_SET}
generate_signature ${BASE_SET%%.txz}.obsolete
fi
KERNEL_SET=$(find ${SETSDIR} -name "kernel-*-${PRODUCT_ARCH}.txz")