From ea60c341174e12f8880b97d2b490d0c0e5e85975 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 19 Feb 2023 14:30:17 -0700 Subject: APT properties: add non-free-firmware to generated sources lists Signed-off-by: Sean Whitton --- doc/news.rst | 7 +++++++ src/property/apt.lisp | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3