Skip to content

ktest: support for Boot Loader Specification

Masayoshi Mizuma lkml 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 0 repliesNew
  2. v15 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ktest: introduce _get_grub_indextools/testing/ktest/ktest.pl+37 -00 replies
2/6ktest: cleanup get_grub_indextools/testing/ktest/ktest.pl+17 -330 replies
3/6ktest: introduce grub2bls REBOOT_TYPE optiontools/testing/ktest/ktest.pl+15 -30 replies
4/6ktest: pass KERNEL_VERSION to POST_KTESTtools/testing/ktest/ktest.pl+3 -10 replies
5/6ktest: remove get_grub2_indextools/testing/ktest/ktest.pl+0 -360 replies
6/6ktest: update sample.conf for grub2blstools/testing/ktest/sample.conf+18 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] ktest: support for Boot Loader Specification

From: Masayoshi Mizuma <[email protected]>

Fedora 30 introduces Boot Loader Specification (BLS) [1], it changes around grub entry configuration.

This patch series deals with the new configuration.

- Add grub2bls option as REBOOT_TYPE to deal with BLS.
- Some cleanup around getting kernel entries.

To use ktest.pl to BLS environment,

- Set REBOOT_TYPE = grub2bls.
- Set POST_INSTALL to add the kernel entry like as follows.

  POST_INSTALL = ssh root@Test "/usr/bin/kernel-install add \
             $KERNEL_VERSION /boot/vmlinuz-$KERNEL_VERSION"

- Set POST_KTEST to remove the kernel entry (optional).

POST_KTEST = ssh root@Test "/usr/bin/kernel-install remove $KERNEL_VERSION"

[1] https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault

Masayoshi Mizuma (6):
ktest: introduce _get_grub_index
ktest: cleanup get_grub_index
ktest: introduce grub2bls REBOOT_TYPE option
ktest: pass KERNEL_VERSION to POST_KTEST
ktest: remove get_grub2_index
ktest: update sample.conf for grub2bls

 tools/testing/ktest/ktest.pl    | 89 ++++++++++++++++-----------------
 tools/testing/ktest/sample.conf | 20 +++++++-
 2 files changed, 62 insertions(+), 47 deletions(-)
Signature · 1 line
2.20.1