Do not filter packages from RT repo
bp tripleo-realtime Change-Id: I39580b3bca5c585a0e29e47e0ae857a292cf29aa
This commit is contained in:
parent
002c4caa78
commit
120eca81d8
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
|
||||
set -x
|
||||
fi
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
if [[ "$DISTRO_NAME" == *"centos"* ]]; then
|
||||
cat << EOF > /etc/yum.repos.d/centos7-rt.repo
|
||||
[centos7-rt]
|
||||
name=CentOS 7 - Realtime
|
||||
baseurl=http://mirror.centos.org/centos/7/rt/x86_64/
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
EOF
|
||||
fi
|
|
@ -1,21 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
|
||||
set -x
|
||||
fi
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
if [[ "$DISTRO_NAME" == *"centos"* ]]; then
|
||||
# tuned-profiles-cpu-partitioning is installed in rhel via fast-datapath.
|
||||
# for centos, "rt" repo is added temprovarily (later change to centos
|
||||
# nfv repo )
|
||||
cat << EOF > /etc/yum.repos.d/centos7-rt-tuned-only.repo
|
||||
[centos7-rt-for-tuned-only]
|
||||
name=centos rt
|
||||
baseurl=http://mirror.centos.org/centos/7/rt/x86_64/
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
includepkgs=tuned-profiles-cpu-partitioning
|
||||
EOF
|
||||
fi
|
Loading…
Reference in New Issue