2023-05-30 14:53:51 +00:00
|
|
|
summary: Check whether newly built kernel boots correctly
|
2021-01-25 21:50:22 +00:00
|
|
|
description: |
|
|
|
|
Rebuild kernel, install it, reboot, and check if we're running the correct
|
|
|
|
kernel. Tailored specificaly for binutils buildroot testing process.
|
|
|
|
|
2023-05-30 14:53:51 +00:00
|
|
|
A strong machine is recommended:
|
2021-01-25 21:50:22 +00:00
|
|
|
|
|
|
|
- kernel rebuild is very resoruce-intensive task, and having more powerful
|
|
|
|
boxes for it is simply good,
|
|
|
|
- this task will get its own boxes, not clobbered by additional kernel packages
|
|
|
|
that are usually installed by other tasks in the same run. E.g.kernel-debuginfo,
|
|
|
|
when installed, will conflict with freshly build kernel packages. This should
|
|
|
|
workaround such situations,
|
|
|
|
- this tasks reboots its boxes - should such reboot break something, don't ruin
|
|
|
|
the whole run by it, right?
|
2023-05-30 14:53:51 +00:00
|
|
|
|
|
|
|
Based on gcc/Sanity/rebuild-kernel by:
|
|
|
|
Author: Michal Nowak <mnowak@redhat.com>
|
|
|
|
Author: Marek Polacek <polacek@redhat.com>
|
2021-01-25 21:50:22 +00:00
|
|
|
contact:
|
|
|
|
- Milos Prchlik <mprchlik@redhat.com>
|
|
|
|
component:
|
|
|
|
- binutils
|
2023-05-30 14:53:51 +00:00
|
|
|
tag:
|
|
|
|
- gate-build
|
2021-01-25 21:50:22 +00:00
|
|
|
test: ./runtest.sh
|
|
|
|
framework: beakerlib
|
2023-05-30 14:53:51 +00:00
|
|
|
require:
|
2021-01-25 21:50:22 +00:00
|
|
|
- binutils
|
|
|
|
- gcc
|
|
|
|
- yum-utils
|
|
|
|
- rng-tools
|
|
|
|
- rpm-build
|
|
|
|
- newt-devel
|
|
|
|
- python-devel
|
|
|
|
- perl-ExtUtils-Embed
|
|
|
|
- unifdef
|
|
|
|
- elfutils-libelf-devel
|
|
|
|
- elfutils-devel
|
|
|
|
- pciutils-devel
|
|
|
|
- wget
|
|
|
|
- hmaccalc
|
|
|
|
- binutils-devel
|
|
|
|
- glibc-static
|
|
|
|
- texinfo
|
|
|
|
- gdb
|
|
|
|
- ecj
|
|
|
|
- graphviz
|
|
|
|
- gmp-devel
|
|
|
|
- mpfr-devel
|
|
|
|
- xmlto
|
|
|
|
- asciidoc
|
|
|
|
- net-tools
|
|
|
|
duration: 20h
|
2023-05-30 14:53:51 +00:00
|
|
|
|
2023-06-22 11:41:10 +00:00
|
|
|
adjust:
|
|
|
|
- because: "pesign is available for some architectures only"
|
|
|
|
when: distro == rhel and arch != ppc64le and arch != s390x
|
|
|
|
require+:
|
|
|
|
- pesign
|
2023-05-30 14:53:51 +00:00
|
|
|
|
|
|
|
# Dropping TCMS integration, these links should not be needed anymore.
|
|
|
|
# extra-summary: /tools/binutils/Sanity/rebuild-kernel-and-reboot
|
|
|
|
# extra-task: /tools/binutils/Sanity/rebuild-kernel-and-reboot
|