diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-12-17 15:19:53 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2021-01-04 10:54:42 +0100 |
commit | 944baec85a7496c1595242a31f6b1b37530451a5 (patch) | |
tree | c78e235efdebb13afa7e997961fcb7f07f748e63 /doc/examples | |
parent | 04085f46dea9a95dd86123ac00187a63cc4ba2c0 (diff) |
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.
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/configure-index | 4 |
1 files changed, 3 insertions, 1 deletions
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 "<BOOL>"; AllowUnauthenticated "<BOOL>"; // skip security - AutomaticRemove "<BOOL>"; + AutomaticRemove "<BOOL>" { + "Kernels" "<BOOL>"; // Allow removing kernels even if not removing other packages (true for dist-upgrade) + }; HideAutoRemove "<STRING_OR_BOOL>"; // yes, no, small Simulate "<BOOL>"; |