[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190509213647.6276-1-msys.mizuma@gmail.com>
Date: Thu, 9 May 2019 17:36:41 -0400
From: Masayoshi Mizuma <msys.mizuma@...il.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Masayoshi Mizuma <msys.mizuma@...il.com>,
Masayoshi Mizuma <m.mizuma@...fujitsu.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/6] ktest: support for Boot Loader Specification
From: Masayoshi Mizuma <m.mizuma@...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@...t "/usr/bin/kernel-install add \
$KERNEL_VERSION /boot/vmlinuz-$KERNEL_VERSION"
- Set POST_KTEST to remove the kernel entry (optional).
POST_KTEST = ssh root@...t "/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
Powered by blists - more mailing lists