From dd748c0c5d7a7a52cc6e8cf70003ca6ea8580601 Mon Sep 17 00:00:00 2001 From: Manuel Hiebel Date: Wed, 26 Apr 2017 18:48:07 +0200 Subject: update api for mga5 to mga6 upgrade test (random date) --- api/b/testing-i586 | 1 + 1 file changed, 1 insertion(+) (limited to 'api/b') diff --git a/api/b/testing-i586 b/api/b/testing-i586 index 0f2d116..b30e01b 100644 --- a/api/b/testing-i586 +++ b/api/b/testing-i586 @@ -1,3 +1,4 @@ +version=6,release_date=20170601,name="Mageia 6",desktop-update-end=20181201,basic-update-end=20181201,url=https://wiki.mageia.org/en/Mageia_6_Release_Notes,needs_preparation=0 version=5,release_date=20150619,name="Mageia 5",desktop-update-end=20161219,basic-update-end=20161219,url=https://wiki.mageia.org/en/Mageia_5_Release_Notes,needs_preparation=0 version=4,release_date=20140201,name="Mageia 4",desktop-update-end=20150802,basic-update-end=20150802,url=https://wiki.mageia.org/en/Mageia_4_Release_Notes,needs_preparation=0 version=3,release_date=20130518,name="Mageia 3",desktop-update-end=20141119,basic-update-end=20141119,url=https://wiki.mageia.org/en/Mageia_3_Release_Notes,needs_preparation=1,obsoleted_by=3 -- cgit v1.2.1 ted'>master Mageia removal tool for old kernels using urpmeBarry Jackson [barjac]
aboutsummaryrefslogtreecommitdiffstats
path: root/remove-old-kernels.cfg
blob: 329be445ab12f1e2731c8e94b85ca4f794a8c8b4 (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
51
52
53
54
# remove-old-kernels.cfg

# This is the main configuration file for 'remove-old-kernels' and must exist.

# Installed location is /etc/remove-old-kernels.cfg

# NOTE: Some of these settings may be changed by command line options, see the man page.

# If dnf is installed then 'remove-old-kernels' will always
# leave at least the number of kernels set in /etc/dnf/dnf.conf
# which defaults to three.

# Number of kernels of each flavour to keep - Must be 2 or greater.
NBK=3

# Handy info: https://misc.flogisoft.com/bash/tip_colors_and_formatting#colors
# Colours for display     Defaults                                      Used for
Normal="\e[0m"
KeepCol="\e[92m"        # Light Green                   Keep text
RemvCol="\e[91m"        # Light Red                     Remove text
InfoCol="\e[33m"        # Orange                        Information text
HdBgCol="\e[102;30m"    # Light Green Background        Heading background
WarnBgCol="\e[101m"     # Light Red Background          Warnings in heading
ClearLine="\r\e[2K"     # Clear the line

# Kernel types to test for removal - keep the same order i.e. kernel before -devel etc.
LISTK=\
"kernel-desktop586
kernel-desktop
kernel-desktop-devel
kernel-server
kernel-server-devel
kernel-source
kernel-tmb-desktop
kernel-tmb-desktop-devel
kernel-tmb-source
kernel-linus
kernel-linus-devel
kernel-linus-source
"

# Allow cron to run remove-old-kernels. 0=OFF 1=ON.
CRON=1

# Turn on the advanced mode. [0|1] (1 is ON)
QA=0

# Alternate config file to use, 0 is default (none). 1 to 9 are allowed which must be named as:
# /etc/remove-old-kernels_N.cfg  (e.g. /etc/remove-old-kernels_3.cfg)
# To create an alternative .cfg file, rename and edit a copy of the template from here:
# /usr/share/doc/remove-old-kernels/remove-old-kernels_N.cfg.template
# Do not edit this line, use the -f or -F options which will validate that it exists. See man page.
ALTCFG=0
# DO NOT include the above line in any alternative .cfg files!