Skip to content

Commit

Permalink
Install a custom built kdump-utils RPM
Browse files Browse the repository at this point in the history
We can use "tmt run --environment KDUMP_UTILS_RPM=PATH_TO_RPM" to install
custom built kdump-utils.

Signed-off-by: Coiby Xu <[email protected]>
  • Loading branch information
coiby committed Jul 30, 2024
1 parent 99ce186 commit 01b5fb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions tests/plans/nfs.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ prepare:
- test -v CUSTOM_MIRROR && sed -e 's/^metalink=/#metalink=/g' -e "s|^#baseurl=http://download.example/pub/fedora/linux|baseurl=${CUSTOM_MIRROR}|g" -i.bak /etc/yum.repos.d/fedora*.repo || true
- dnf config-manager --set-disabled fedora-cisco-openh264 || true

- name: Install built RPM
how: install
package:
- "$KDUMP_UTILS_RPM"
where:
- client

execute:
how: tmt
exit-first: true
3 changes: 1 addition & 2 deletions tests/setup/default_crashkernel/main.fmf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
summary: Install kdump-utils and set up the crashkernel kernel parameter
summary: Set up the crashkernel kernel parameter
require:
- kdump-utils
# Install the squashfs kernel module for the default crashkernel value to work
- kernel-modules-core

0 comments on commit 01b5fb7

Please sign in to comment.