Use $CODENAME/updates for security pre-bullseye
or $CODENAME-security for bullseye onwards. Backported from master
This commit is contained in:
parent
92e93a9133
commit
7960fd976e
|
@ -1,3 +1,13 @@
|
|||
debian-cd (3.1.35+deb11u1) UNRELEASED; urgency=medium
|
||||
|
||||
[ Steve McIntyre ]
|
||||
Backports from master for bullseye builds:
|
||||
|
||||
* Use $CODENAME/updates for security pre-bullseye, or
|
||||
$CODENAME-security for bullseye onwards.
|
||||
|
||||
-- Steve McIntyre <93sam@debian.org> Mon, 26 Jul 2021 01:02:03 +0100
|
||||
|
||||
debian-cd (3.1.35) unstable; urgency=medium
|
||||
|
||||
[ Steve McIntyre ]
|
||||
|
|
|
@ -95,7 +95,12 @@ if [ ! -e "$APTTMP/$THIS_PKGSET/apt/sources.list" ]; then
|
|||
|
||||
# Security mirror ...
|
||||
if [ -n "$SECURITY" ]; then
|
||||
echo "$ADEB file:${SECURITY:-$MIRROR} $CODENAME/updates $sections" \
|
||||
case $CODENAME in
|
||||
stretch|buster) SEC=$CODENAME/updates;;
|
||||
*) SEC=$CODENAME-security;;
|
||||
esac
|
||||
|
||||
echo "$ADEB file:${SECURITY:-$MIRROR} $SEC $sections" \
|
||||
>> $APTTMP/$THIS_PKGSET/apt/sources.list
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue