[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH 0/1] Configure amount of kernels to keep w/ autoremove



Hello list,

I'm sending a patch to to be included in apt so users (like me) can configure
the amount of kernels to keep when autoremove is called.

I'm introducing a new configuration item for apt.conf:

    APT::NeverAutoRemove::KernelSize

I've tested the patch locally and everything seems to work as intended.

The problem I'm having is that the tests fail because of warnings/errors of the
following type:

Using unknown config option APT::NeverAutoRemove::KernelSize of type INT

Can anyone point me into the right direction to prevent apt from warning about
this? If you think the configuration item should have a different name, I'm
open to suggestions.


When answering, could you please keep me in CC, I'm not subscribed to the list.

Many thanks,
Wesley


Wesley Schwengle (1):
  Configure the amount of kernels to keep

 apt-pkg/algorithms.cc | 33 +++++++++++++++++++--------------
 1 file changed, 19 insertions(+), 14 deletions(-)

-- 
2.42.0.1140.gf01f4dc781


Reply to: