Install koji
$ sudo dnf install koji -y
Build kernel via koji
$ koji download-build --arch=x86_64 kernel-5.8.2-300.fc32 && sudo dnf update kernel*
[boris@ServerFedora32 ~]$ ls -l *.rpm
-rw-rw-r--. 1 boris boris 52776 Aug 21 16:08 kernel-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 34945992 Aug 21 16:10 kernel-core-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 52884 Aug 21 16:08 kernel-debug-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 36848900 Aug 21 16:09 kernel-debug-core-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 14038096 Aug 21 16:10 kernel-debug-devel-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 31850344 Aug 21 16:08 kernel-debug-modules-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 2188616 Aug 21 16:08 kernel-debug-modules-extra-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 171972 Aug 21 16:08 kernel-debug-modules-internal-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 13943992 Aug 21 16:10 kernel-devel-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 31182616 Aug 21 16:09 kernel-modules-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 2110908 Aug 21 16:08 kernel-modules-extra-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 162120 Aug 21 16:08 kernel-modules-internal-5.8.2-300.fc32.x86_64.rpm
. . . . . . . . . . .
=================================================================
Package Architecture Version Repository Size
=================================================================
Installing:
kernel x86_64 5.8.2-300.fc32 @commandline 52 k
kernel-modules x86_64 5.8.2-300.fc32 @commandline 30 M
kernel-modules-extra x86_64 5.8.2-300.fc32 @commandline 2.0 M
Installing dependencies:
kernel-core x86_64 5.8.2-300.fc32 @commandline 33 M
Transaction Summary
==================================================================
Install 4 Packages
Total size: 65 M
Installed size: 105 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : kernel-core-5.8.2-300.fc32.x86_64 1/4
Running scriptlet: kernel-core-5.8.2-300.fc32.x86_64 1/4
Installing : kernel-modules-5.8.2-300.fc32.x86_64 2/4
Running scriptlet: kernel-modules-5.8.2-300.fc32.x86_64 2/4
Installing : kernel-5.8.2-300.fc32.x86_64 3/4
Installing : kernel-modules-extra-5.8.2-300.fc32.x86_64 4/4
Running scriptlet: kernel-modules-extra-5.8.2-300.fc32.x86_64 4/4
Running scriptlet: kernel-core-5.8.2-300.fc32.x86_64 4/4
Running scriptlet: kernel-modules-extra-5.8.2-300.fc32.x86_64 4/4
Verifying : kernel-5.8.2-300.fc32.x86_64 1/4
Verifying : kernel-core-5.8.2-300.fc32.x86_64 2/4
Verifying : kernel-modules-5.8.2-300.fc32.x86_64 3/4
Verifying : kernel-modules-extra-5.8.2-300.fc32.x86_64 4/4
Installed:
kernel-5.8.2-300.fc32.x86_64 kernel-core-5.8.2-300.fc32.x86_64
kernel-modules-5.8.2-300.fc32.x86_64 kernel-modules-extra-5.8.2-300.fc32.x86_64
Complete!
Reboot into new kernel
[boris@ServerFedora32 ~]$ hostnamectl
Static hostname: ServerFedora32.localdomain
Icon name: computer-desktop
Chassis: desktop
Machine ID: 5596dcdb82ee450494fd8d062605cd6a
Boot ID: dfa47fc6014f4c1b8ef6b04048bcd1e8
Operating System: Fedora 32 (Server Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:32
Kernel: Linux 5.8.2-300.fc32.x86_64
Architecture: x86-64
Per QA:Testcase kernel regressionQA:Testcase kernel regression
*****************************
Setting up testing environment
*****************************
$ sudo dnf install gcc git python3-fedora
$ git clone https://pagure.io/kernel-tests.git
$ sudo dnf install make libtirpc libtirpc-devel policycoreutils-python-utils
$ sudo semanage boolean -m --on selinuxuser_execheap
$ cd kernel-tests
$ cp config.example .config
$ vi .config
*********************************
Starting testing scripts themselves
*********************************
$ sudo ./runtests.sh
$ sudo ./runtests.sh -t performance
Testing done logs have been generated
$ cd logs
$ ls -l
vi kernel-test-1598018939.log.txt
vi kernel-test-1598019040.log.txt
$ sudo semanage boolean -m --off selinuxuser_execheap
===========================================================
Date: Fri 21 Aug 2020 05:08:59 PM MSK
Test set: default
Kernel: 5.8.2-300.fc32.x86_64
Release: Fedora release 32 (Thirty Two)
Result: PASS
Failed Tests: None
Warned Tests: None
============================================================
Date: Fri 21 Aug 2020 05:10:40 PM MSK
Test set: performance
Kernel: 5.8.2-300.fc32.x86_64
Release: Fedora release 32 (Thirty Two)
Result: PASS
Failed Tests: None
Warned Tests: None
============================================================
$ sudo dnf install koji -y
Build kernel via koji
$ koji download-build --arch=x86_64 kernel-5.8.2-300.fc32 && sudo dnf update kernel*
[boris@ServerFedora32 ~]$ ls -l *.rpm
-rw-rw-r--. 1 boris boris 52776 Aug 21 16:08 kernel-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 34945992 Aug 21 16:10 kernel-core-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 52884 Aug 21 16:08 kernel-debug-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 36848900 Aug 21 16:09 kernel-debug-core-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 14038096 Aug 21 16:10 kernel-debug-devel-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 31850344 Aug 21 16:08 kernel-debug-modules-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 2188616 Aug 21 16:08 kernel-debug-modules-extra-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 171972 Aug 21 16:08 kernel-debug-modules-internal-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 13943992 Aug 21 16:10 kernel-devel-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 31182616 Aug 21 16:09 kernel-modules-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 2110908 Aug 21 16:08 kernel-modules-extra-5.8.2-300.fc32.x86_64.rpm
-rw-rw-r--. 1 boris boris 162120 Aug 21 16:08 kernel-modules-internal-5.8.2-300.fc32.x86_64.rpm
. . . . . . . . . . .
=================================================================
Package Architecture Version Repository Size
=================================================================
Installing:
kernel x86_64 5.8.2-300.fc32 @commandline 52 k
kernel-modules x86_64 5.8.2-300.fc32 @commandline 30 M
kernel-modules-extra x86_64 5.8.2-300.fc32 @commandline 2.0 M
Installing dependencies:
kernel-core x86_64 5.8.2-300.fc32 @commandline 33 M
Transaction Summary
==================================================================
Install 4 Packages
Total size: 65 M
Installed size: 105 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : kernel-core-5.8.2-300.fc32.x86_64 1/4
Running scriptlet: kernel-core-5.8.2-300.fc32.x86_64 1/4
Installing : kernel-modules-5.8.2-300.fc32.x86_64 2/4
Running scriptlet: kernel-modules-5.8.2-300.fc32.x86_64 2/4
Installing : kernel-5.8.2-300.fc32.x86_64 3/4
Installing : kernel-modules-extra-5.8.2-300.fc32.x86_64 4/4
Running scriptlet: kernel-modules-extra-5.8.2-300.fc32.x86_64 4/4
Running scriptlet: kernel-core-5.8.2-300.fc32.x86_64 4/4
Running scriptlet: kernel-modules-extra-5.8.2-300.fc32.x86_64 4/4
Verifying : kernel-5.8.2-300.fc32.x86_64 1/4
Verifying : kernel-core-5.8.2-300.fc32.x86_64 2/4
Verifying : kernel-modules-5.8.2-300.fc32.x86_64 3/4
Verifying : kernel-modules-extra-5.8.2-300.fc32.x86_64 4/4
Installed:
kernel-5.8.2-300.fc32.x86_64 kernel-core-5.8.2-300.fc32.x86_64
kernel-modules-5.8.2-300.fc32.x86_64 kernel-modules-extra-5.8.2-300.fc32.x86_64
Complete!
Reboot into new kernel
[boris@ServerFedora32 ~]$ hostnamectl
Static hostname: ServerFedora32.localdomain
Icon name: computer-desktop
Chassis: desktop
Machine ID: 5596dcdb82ee450494fd8d062605cd6a
Boot ID: dfa47fc6014f4c1b8ef6b04048bcd1e8
Operating System: Fedora 32 (Server Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:32
Kernel: Linux 5.8.2-300.fc32.x86_64
Architecture: x86-64
*****************************
Setting up testing environment
*****************************
$ sudo dnf install gcc git python3-fedora
$ git clone https://pagure.io/kernel-tests.git
$ sudo dnf install make libtirpc libtirpc-devel policycoreutils-python-utils
$ sudo semanage boolean -m --on selinuxuser_execheap
$ cd kernel-tests
$ cp config.example .config
$ vi .config
*********************************
Starting testing scripts themselves
*********************************
$ sudo ./runtests.sh
$ sudo ./runtests.sh -t performance
Testing done logs have been generated
$ cd logs
$ ls -l
vi kernel-test-1598018939.log.txt
vi kernel-test-1598019040.log.txt
$ sudo semanage boolean -m --off selinuxuser_execheap
===========================================================
Date: Fri 21 Aug 2020 05:08:59 PM MSK
Test set: default
Kernel: 5.8.2-300.fc32.x86_64
Release: Fedora release 32 (Thirty Two)
Result: PASS
Failed Tests: None
Warned Tests: None
============================================================
Date: Fri 21 Aug 2020 05:10:40 PM MSK
Test set: performance
Kernel: 5.8.2-300.fc32.x86_64
Release: Fedora release 32 (Thirty Two)
Result: PASS
Failed Tests: None
Warned Tests: None
============================================================
No comments:
Post a Comment