Commit Graph

11 Commits

Author SHA1 Message Date
Eugene Syromiatnikov
e909931d9f packaging: bump up revision (25-20)
- Add symvers.xz support to weak-modules

Resolves: RHEL-8903
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2023-10-24 14:27:04 +02:00
Eugene Syromiatnikov
094585790a weak-modules: add symvers.xz support
Check for symvers.xz support in addition to symvers.gz,
due to unnanounced unilateral change[1][2] in the kernel packaging.

[1] 2644665657
[2] 2db77a072a

* weak-modules (make_kernel_file_names): Interpret all arguments after
the second as a list of suffixes, iterate over them
(find_kernel_file): Switch print and suffix arguments, interpret all
argument after print as suffixes, pass them to make_kernel_file_names.
(find_symvers_file): Update the order of arguments in the
find_kernel_file call, add .xz suffix in addition to .gz.
(find_systemmap_file): Update the order of arguments in the
find_kernel_file call.

Resolves: RHEL-8903
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2023-10-24 14:27:04 +02:00
Ziqian SUN (Zamir)
4598ba6fce tests: testcase do not need RhtsRequires and python any more
"RhtsRequires: kernel-kernel-general-include" is what is needed in
our Beaker tests. By the time this is moved into upstream tests, the
essential part for kernel-kernel-general-include is moved into the
test directory, namely "sanity/parse_taint.sh". The detailed history
is in the upstreamfirst preparing repo:

https://upstreamfirst.fedorainfracloud.org/kmod/c/4539f2d5acd9011d54b7ae5cffda041fb0c12847?branch=master

But due to some reason it was forgotten to remove the RhtsRequires
from the makefile.

python is not used at all in this test so that is just removed.

Resolves: RHEL-8903
Signed-off-by: Ziqian SUN (Zamir) <zsun@redhat.com>
Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
2023-10-24 14:26:58 +02:00
Ziqian SUN (Zamir)
cf8bcba34c Change test module to non-crypto ones
The crypto modules in load tests are replaced with driver modules
for testing in order to avoid destroying system under some crypto
enabled status.

Resolves: RHEL-8903
Signed-off-by: Ziqian SUN (Zamir) <zsun@redhat.com>
2023-10-24 14:26:55 +02:00
Ziqian SUN (Zamir)
17afdd7401 Add default value for test param wparam
In this commit, value for $wparam is added by trying which of our chosen
module is not in use.

Resolves: RHEL-8903
Signed-off-by: Ziqian SUN (Zamir) <zsun@redhat.com>
2023-10-24 14:26:51 +02:00
Ziqian SUN (Zamir)
78d9ee399d Prepare kmod test according to kmod distgit
Resolves: RHEL-8903
Signed-off-by: Ziqian SUN (Zamir) <zsun@redhat.com>
2023-10-24 14:26:49 +02:00
Ziqian SUN (Zamir)
1d2e8650b8 Initial kmod CI test
Resolves: RHEL-8903
Signed-off-by: Ziqian SUN (Zamir) <zsun@redhat.com>
2023-10-24 14:26:44 +02:00
Troy Dawson
9a92dbf28f Bring gating.yaml over from Brew dist-git
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-10 10:47:47 -08:00
James Antill
7a26ddb55f Import rpm: c8s 2023-02-27 13:51:15 -05:00
James Antill
74706032dd Auto sync2gitlab import of kmod-25-19.el8.src.rpm 2022-05-26 10:04:36 -04:00
James Antill
7921674a58 Initial c8s branch. 2022-05-26 10:04:33 -04:00