From 944baec85a7496c1595242a31f6b1b37530451a5 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 17 Dec 2020 15:19:53 +0100 Subject: Automatically remove unused kernels on dist-upgrade Kernels clutter /boot and /boot is small size, so we need to take extra care to remove kernels when possible. --- doc/examples/configure-index | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/examples') diff --git a/doc/examples/configure-index b/doc/examples/configure-index index 571bf2369..15b020198 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -80,7 +80,9 @@ APT Remove ""; AllowUnauthenticated ""; // skip security - AutomaticRemove ""; + AutomaticRemove "" { + "Kernels" ""; // Allow removing kernels even if not removing other packages (true for dist-upgrade) + }; HideAutoRemove ""; // yes, no, small Simulate ""; -- cgit v1.2.3