summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-10-22 21:10:44 +0200
committerYorhel <git@yorhel.nl>2019-10-22 21:10:44 +0200
commitcf5c16241f39f24af59917835b1ab75e72ca8143 (patch)
tree67eaf8e6dd9b95c554fc56bec548a131a4a1e305
parent6fe905f7c9f603d919bfca42097472035174b642 (diff)
Add CentOS 8.0HEADmaster
-rw-r--r--sql/schema.sql3
-rwxr-xr-xutil/centos.sh16
2 files changed, 18 insertions, 1 deletions
diff --git a/sql/schema.sql b/sql/schema.sql
index 82bd9d4..ed4ae16 100644
--- a/sql/schema.sql
+++ b/sql/schema.sql
@@ -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.
diff --git a/util/centos.sh b/util/centos.sh
index 8364d28..2a76793 100755
--- a/util/centos.sh
+++ b/util/centos.sh
@@ -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