test: Add 'kernel-rt' and kernel customization test
Since kernel upgrading from 'default' to 'rt kernel' has SSH connection issue, 'install' kernel and 'upgrade' kernel must have 'kernel-rt' included. https://github.com/osbuild/osbuild-composer/issues/1222 Only RHEL 8.4 repo has 'rt kernel' repo, 'rt kernel' test will be RHEL 8.4 only
This commit is contained in:
parent
aa3e26cc10
commit
0350768d73
2 changed files with 66 additions and 3 deletions
|
|
@ -260,6 +260,14 @@ name = "python36"
|
|||
version = "*"
|
||||
EOF
|
||||
|
||||
# No rt kernel package repo for Fedora and RHEL 8
|
||||
if [[ "${ID}-${VERSION_ID}" == rhel-8.4 ]]; then
|
||||
cat >> "$BLUEPRINT_FILE" << EOF
|
||||
[customizations.kernel]
|
||||
name = "kernel-rt"
|
||||
EOF
|
||||
fi
|
||||
|
||||
# Build installation image.
|
||||
build_image "$BLUEPRINT_FILE" ostree
|
||||
|
||||
|
|
@ -402,6 +410,14 @@ name = "wget"
|
|||
version = "*"
|
||||
EOF
|
||||
|
||||
# No rt kernel package repo for Fedora and RHEL 8
|
||||
if [[ "${ID}-${VERSION_ID}" == rhel-8.4 ]]; then
|
||||
cat >> "$BLUEPRINT_FILE" << EOF
|
||||
[customizations.kernel]
|
||||
name = "kernel-rt"
|
||||
EOF
|
||||
fi
|
||||
|
||||
# Build upgrade image.
|
||||
build_image "$BLUEPRINT_FILE" upgrade
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue