blob: 3a0662aa58cbd1fab5549dae4c8729b6bdf5a817 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# remove-old-kernels
Mageia removal tool for old kernels using urpme.
Once installed it may be left to do it's job without user intervention.
It is run by cron.weekly to retain a minimum number of installed kernels
of each flavour. (Default is three)
This may be adjusted or disabled using simple command line options if desired.
There is also an advanced mode, offering features for power users.
It may also be run manually in interactive mode from the desktop menu,
under Tools -> System tools.
Running as normal user from the command line will display the current status
of installed kernels but will not allow removal.
For more information see: 'man remove-old-kernels' or 'man rok' in a terminal.
# Authors
Pierre Jarillon 2018 - 2022.
Jean-Baptiste Biernacki 2021
Barry C Jackson 2022 - present day
Solbu 2023
# History
Following a long running bug report about failing systems with sometimes over 50 installed kernels and
disk space exhausted, I decided that unless I did something myself this would just drag on ad infinitum.
A basic package had already been created by Bruno Cornec using the original script, but there was no automatic integration into
regular systems at install time, which would be essential for non-tech users.
It soon was apparent that some more advanced users would need greater flexibility and control.
So whilst keeping 'no user intervention needed' by default, command line options were added to suit most needs, along with
the optional use of alternative configuration files (an idea from Pierre Jarillon).
Mageia QA team requested more advanced features to avoid certain kernels being removed that may be required during testing,
so these can now be protected using the Q option.
A .desktop file was added into the Mageia main system menu using policykit based login for root access.
A log file was added for the automatic runs controlled by cron.weekly with fixed log rotation at 1000 lines approx.
i18n support has been added for the main bash script and thanks to the translatiors listed below we now have several langauages
catered for.
If you would like to help with other languages, then please read TRANSLATING.
# Tranlsators
* ajunior (Brazilian Portugese)
* Philippe Didier (French)
* Solbu (Norweigian)
* psyca (German)
* aguador (Spanish)
* umeaboy (Swedish)
|