diff options
author | Roland Clobus <rclobus@rclobus.nl> | 2021-03-11 12:55:44 +0100 |
---|---|---|
committer | Roland Clobus <rclobus@rclobus.nl> | 2021-03-11 12:55:44 +0100 |
commit | 9524705c34811c56f35ea005791157e867845324 (patch) | |
tree | 7cf68048abe287a82f444934bde6927c8a84c2b3 | |
parent | 21eff20ea3caec205568e7305732928fedd10b0a (diff) | |
download | vyos-live-build-9524705c34811c56f35ea005791157e867845324.tar.gz vyos-live-build-9524705c34811c56f35ea005791157e867845324.zip |
Support security for bullseye. See https://wiki.debian.org/NewInBullseye. Closes #964914
-rwxr-xr-x | functions/sourcelist.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/functions/sourcelist.sh b/functions/sourcelist.sh index def868114..dd9977878 100755 --- a/functions/sourcelist.sh +++ b/functions/sourcelist.sh @@ -83,10 +83,14 @@ Create_apt_sources_list () # do nothing ;; - *) + buster|jessie|stretch) echo "deb ${PARENT_MIRROR_SECURITY} ${PARENT_DISTRIBUTION}/updates ${LB_PARENT_ARCHIVE_AREAS}" >> "${PARENT_LIST_FILE}" echo "deb-src ${PARENT_MIRROR_SECURITY} ${PARENT_DISTRIBUTION}/updates ${LB_PARENT_ARCHIVE_AREAS}" >> "${PARENT_LIST_FILE}" ;; + *) + echo "deb ${PARENT_MIRROR_SECURITY} ${PARENT_DISTRIBUTION}-security/updates ${LB_PARENT_ARCHIVE_AREAS}" >> "${PARENT_LIST_FILE}" + echo "deb-src ${PARENT_MIRROR_SECURITY} ${PARENT_DISTRIBUTION}-security/updates ${LB_PARENT_ARCHIVE_AREAS}" >> "${PARENT_LIST_FILE}" + ;; esac if [ "${LB_DERIVATIVE}" = "true" ]; then |