aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/news.rst7
-rw-r--r--src/property/apt.lisp3
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/news.rst b/doc/news.rst
index 18ed77c..72fc8e6 100644
--- a/doc/news.rst
+++ b/doc/news.rst
@@ -23,6 +23,13 @@ In summary, you should always be able to upgrade to a release which only
increments ``patch``, but if either of the other two components have changed,
you should review this document and see if your consfig needs updating.
+1.2.2 (unreleased)
+------------------
+
+- APT properties: add ``non-free-firmware`` section to generated sources
+ lists. On Debian bullseye and older this will cause apt updates to emit
+ harmless warnings.
+
1.2.0 (2022-11-29)
------------------
diff --git a/src/property/apt.lisp b/src/property/apt.lisp
index b5a45f9..b8ca422 100644
--- a/src/property/apt.lisp
+++ b/src/property/apt.lisp
@@ -30,7 +30,8 @@
(defmacro with-changes-dpkg-status (&body forms)
`(with-change-if-changes-file-content ("/var/lib/dpkg/status") ,@forms))
-(define-constant +sections+ '("main" "contrib" "non-free") :test #'equal)
+(define-constant +sections+ '("main" "contrib" "non-free-firmware" "non-free")
+ :test #'equal)
(define-constant +noninteractive-env+ '(:DEBIAN_FRONTEND "noninteractive"
:APT_LISTCHANGES_FRONTEND "none")