test: use kernel-rt-core in ostree tests for CS8
This commit is contained in:
parent
ca24ff4d47
commit
c049499322
5 changed files with 28 additions and 7 deletions
|
|
@ -85,6 +85,9 @@ SSH_DATA_DIR=$(/usr/libexec/osbuild-composer-test/gen-ssh.sh)
|
|||
SSH_KEY=${SSH_DATA_DIR}/id_rsa
|
||||
SSH_KEY_PUB=$(cat "${SSH_KEY}".pub)
|
||||
|
||||
# kernel-rt package name (differs in CS8)
|
||||
KERNEL_RT_PKG="kernel-rt"
|
||||
|
||||
case "${ID}-${VERSION_ID}" in
|
||||
"rhel-8.8")
|
||||
OSTREE_REF="rhel/8/${ARCH}/edge"
|
||||
|
|
@ -97,6 +100,7 @@ case "${ID}-${VERSION_ID}" in
|
|||
"centos-8")
|
||||
OSTREE_REF="centos/8/${ARCH}/edge"
|
||||
OS_VARIANT="centos8"
|
||||
KERNEL_RT_PKG="kernel-rt-core"
|
||||
;;
|
||||
"centos-9")
|
||||
OSTREE_REF="centos/9/${ARCH}/edge"
|
||||
|
|
@ -295,7 +299,7 @@ EOF
|
|||
if [[ "$ID" != "fedora" ]]; then
|
||||
tee -a "$BLUEPRINT_FILE" > /dev/null << EOF
|
||||
[customizations.kernel]
|
||||
name = "kernel-rt"
|
||||
name = "${KERNEL_RT_PKG}"
|
||||
EOF
|
||||
fi
|
||||
|
||||
|
|
@ -604,7 +608,7 @@ EOF
|
|||
if [[ "$ID" != "fedora" ]]; then
|
||||
tee -a "$BLUEPRINT_FILE" > /dev/null << EOF
|
||||
[customizations.kernel]
|
||||
name = "kernel-rt"
|
||||
name = "${KERNEL_RT_PKG}"
|
||||
EOF
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue