Add CentOS 8.0
This commit is contained in:
parent
6fe905f7c9
commit
cf5c16241f
2 changed files with 18 additions and 1 deletions
|
|
@ -244,7 +244,8 @@ INSERT INTO systems (id, name, release, short, relorder) VALUES
|
|||
(191,'Fedora', '30', 'fedora-30', 29),
|
||||
(192,'FreeBSD', '11.3', 'freebsd-11.3', 64),
|
||||
(193,'Ubuntu', '19.10', 'ubuntu-eoan', 30),
|
||||
(194,'CentOS', '7.7', 'centos-7.7', 51);
|
||||
(194,'CentOS', '7.7', 'centos-7.7', 51),
|
||||
(195,'CentOS', '8.0', 'centos-8.0', 60);
|
||||
|
||||
|
||||
-- Removes any path components and compression extensions from the filename.
|
||||
|
|
|
|||
|
|
@ -38,6 +38,18 @@ centc() {
|
|||
index rpm --sys centos-$VER --cat centosplus --mirror "$MIR$DIR/centosplus/x86_64/"
|
||||
}
|
||||
|
||||
# CentOS 8.0+
|
||||
centd() {
|
||||
local VER=$1
|
||||
local DIR=$2
|
||||
local MIR=${3:-$VMIRROR}
|
||||
index rpm --sys centos-$VER --cat BaseOS --mirror "$MIR$DIR/BaseOS/x86_64/os/"
|
||||
index rpm --sys centos-$VER --cat AppStream --mirror "$MIR$DIR/AppStream/x86_64/os/"
|
||||
index rpm --sys centos-$VER --cat PowerTools --mirror "$MIR$DIR/PowerTools/x86_64/os/"
|
||||
index rpm --sys centos-$VER --cat extras --mirror "$MIR$DIR/extras/x86_64/os/"
|
||||
index rpm --sys centos-$VER --cat centosplus --mirror "$MIR$DIR/centosplus/x86_64/os/"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
2.1)
|
||||
index rpmdir --sys centos-2.1 --cat core --mirror "${VMIRROR}2.1/final/i386/CentOS/RPMS/"
|
||||
|
|
@ -189,6 +201,9 @@ case "$1" in
|
|||
7.7)
|
||||
centc 7.7 7.7.1908 $CMIRROR
|
||||
;;
|
||||
8.0)
|
||||
centd 8.0 8.0.1905 $CMIRROR
|
||||
;;
|
||||
old)
|
||||
$0 2.1
|
||||
$0 3.1
|
||||
|
|
@ -242,6 +257,7 @@ case "$1" in
|
|||
current)
|
||||
$0 6.10 # till 2020-11-30
|
||||
$0 7.7 # till 2024-06-30
|
||||
$0 8.0 # till 2029-05-31
|
||||
;;
|
||||
all)
|
||||
$0 old
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue