diff --git a/base/rt-setup/centos/build_srpm.data b/base/rt-setup/centos/build_srpm.data new file mode 100644 index 000000000..8aeb55368 --- /dev/null +++ b/base/rt-setup/centos/build_srpm.data @@ -0,0 +1 @@ +TIS_PATCH_VER=1 diff --git a/base/rt-setup/centos/meta_patches/0001-Update-package-versioning-for-STX-format.patch b/base/rt-setup/centos/meta_patches/0001-Update-package-versioning-for-STX-format.patch new file mode 100644 index 000000000..a067ace29 --- /dev/null +++ b/base/rt-setup/centos/meta_patches/0001-Update-package-versioning-for-STX-format.patch @@ -0,0 +1,37 @@ +From acc7db42e01d83082072bdf3de8b7426897f7045 Mon Sep 17 00:00:00 2001 +From: Yong Fu +Date: Wed, 8 Apr 2020 11:03:15 +0800 +Subject: [PATCH] Update package versioning for STX format + +Signed-off-by: Yong Fu +--- + SPECS/rt-setup.spec | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/SPECS/rt-setup.spec b/SPECS/rt-setup.spec +index 05e2707..e350ce1 100644 +--- a/SPECS/rt-setup.spec ++++ b/SPECS/rt-setup.spec +@@ -1,8 +1,8 @@ + Name: rt-setup + Version: 2.1 +-Release: 2%{?dist} ++Release: 2.el8%{?_tis_dist}.%{tis_patch_ver} + License: GPL+ +-Summary: Setup RHEL-RT environment details ++Summary: Setup CentOS-RT environment details + Group: System Environment/Base + Source: rt-setup-%{version}.tar.bz2 + +@@ -22,7 +22,7 @@ Requires: systemd + %global debug_package %{nil} + + %description +-The 'rt-setup' package configures details required by RHEL-RT environment. ++The 'rt-setup' package configures details required by CentOS-RT environment. + - creates realtime group + - adds realtime limits configuration for PAM + - adds /usr/bin/rt-setup-kdump to config kdump in RT +-- +2.7.4 + diff --git a/base/rt-setup/centos/meta_patches/PATCH_ORDER b/base/rt-setup/centos/meta_patches/PATCH_ORDER new file mode 100644 index 000000000..17495c084 --- /dev/null +++ b/base/rt-setup/centos/meta_patches/PATCH_ORDER @@ -0,0 +1 @@ +0001-Update-package-versioning-for-STX-format.patch diff --git a/base/rt-setup/centos/srpm_path b/base/rt-setup/centos/srpm_path new file mode 100644 index 000000000..65c8e4a4e --- /dev/null +++ b/base/rt-setup/centos/srpm_path @@ -0,0 +1 @@ +repo:stx/downloads/rt-setup-2.1-2.el8.src.rpm diff --git a/centos_pkg_dirs_rt b/centos_pkg_dirs_rt index 4d252f5f4..615dfc090 100644 --- a/centos_pkg_dirs_rt +++ b/centos_pkg_dirs_rt @@ -1,2 +1,3 @@ networking/mellanox/libibverbs networking/mellanox/rdma-core +base/rt-setup diff --git a/centos_tarball-dl.lst b/centos_tarball-dl.lst index b0f170fe1..246af589f 100644 --- a/centos_tarball-dl.lst +++ b/centos_tarball-dl.lst @@ -58,6 +58,7 @@ Redfishtool-1.1.0.tar.gz#Redfishtool-1.1.0#https://github.com/DMTF/Redfishtool/a requests-toolbelt-0.9.1.tar.gz#requests-toolbelt-0.9.1#https://github.com/requests/toolbelt/archive/0.9.1.tar.gz#http## rocksdb-f4a857da0b720691effc524469f6db895ad00d8e.tar.gz#rocksdb#https://api.github.com/repos/ceph/rocksdb/tarball/f4a857da0b720691effc524469f6db895ad00d8e#https## runc-1.0.0-rc10.tar.gz#runc#https://github.com/opencontainers/runc/archive/v1.0.0-rc10.tar.gz#https## +!rt-setup-2.1-2.el8.src.rpm#rt-setup#https://git.centos.org/rpms/rt-setup#http_script#201aeb6d3d06c556cee369b9833539ecb67ce943#post-dl-script/rt-setup.sh # Sirupsen-logrus-55eb11d21d2a31a3cc93838241d04800f52e823d.tar.gz#Sirupsen-logrus#github.com/Sirupsen/logrus/archive/55eb11d21d2a31a3cc93838241d04800f52e823d.tar.gz#http## spdk-f474ce6930f0a44360e1cc4ecd606d2348481c4c.tar.gz#spdk#https://api.github.com/repos/ceph/spdk/tarball/f474ce6930f0a44360e1cc4ecd606d2348481c4c#https## spectre-meltdown-checker-0.37+-5cc77741.tar.gz#spectre-meltdown-checker#https://github.com/speed47/spectre-meltdown-checker/tarball/5cc77741af1d2f52140aa9f89339f56b6c4b6783#http##