mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/6] ktest: support for Boot Loader Specification
@ 2019-05-09 21:36 Masayoshi Mizuma
  2019-05-09 21:36 ` [PATCH v2 1/6] ktest: introduce _get_grub_index Masayoshi Mizuma
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Masayoshi Mizuma @ 2019-05-09 21:36 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: Masayoshi Mizuma, Masayoshi Mizuma, linux-kernel

From: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>

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(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-09 21:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-09 21:36 [PATCH v2 0/6] ktest: support for Boot Loader Specification Masayoshi Mizuma
2019-05-09 21:36 ` [PATCH v2 1/6] ktest: introduce _get_grub_index Masayoshi Mizuma
2019-05-09 21:36 ` [PATCH v2 2/6] ktest: cleanup get_grub_index Masayoshi Mizuma
2019-05-09 21:36 ` [PATCH v2 3/6] ktest: introduce grub2bls REBOOT_TYPE option Masayoshi Mizuma
2019-05-09 21:36 ` [PATCH v2 4/6] ktest: pass KERNEL_VERSION to POST_KTEST Masayoshi Mizuma
2019-05-09 21:36 ` [PATCH v2 5/6] ktest: remove get_grub2_index Masayoshi Mizuma
2019-05-09 21:36 ` [PATCH v2 6/6] ktest: update sample.conf for grub2bls Masayoshi Mizuma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®