aboutsummaryrefslogtreecommitdiff
path: root/src/property/apt.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-06-18 09:16:30 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-06-18 09:17:13 -0700
commitbd6cb86c97ba0f97aee1941e190bd9f19f42f440 (patch)
treebe7778d2bb4141074b613478d793607869bfe461 /src/property/apt.lisp
parent07f732afeced6427f25a0cb2e463b324e2cee97e (diff)
downloadconsfigurator-bd6cb86c97ba0f97aee1941e190bd9f19f42f440.tar.gz
APT::STANDARD-SOURCES-FOR: don't generate -security for experimental
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/apt.lisp')
-rw-r--r--src/property/apt.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/property/apt.lisp b/src/property/apt.lisp
index 2e17351..dbdcbf2 100644
--- a/src/property/apt.lisp
+++ b/src/property/apt.lisp
@@ -211,7 +211,8 @@ only upgrade Debian stable."
(security-suite (if (memstring= suite '("stretch" "jessie" "buster"))
#?"${suite}/updates"
#?"${suite}-security"))
- (security (and (not (subtypep (type-of os) 'os:debian-unstable))
+ (security (and (or (subtypep (type-of os) 'os:debian-stable)
+ (subtypep (type-of os) 'os:debian-testing))
(list
(list* "http://security.debian.org/debian-security"
security-suite +sections+)))))