This patchset solves all the issues I've found with Fedora/RHEL systems. With them, it is now possible to: * Build proper kernel arguments * Do proper boot once with grub * Match the initramfs style of newer Fedora/RHEL * Make sure we'll build the initramfs file with a valid version string
Changes from v1: * Fixed boottool to handle Fedora and RHEL properly rather than doing ugly hacks * Fixed the unittests that broke with the changes proposed Since the patches were reviewed and appear to be good and functional and they were tested in my internal autotest setup at Red Hat, I am going to apply this shortly. Lucas Meneghel Rodrigues (6): client/bin/kernel.py: default kernel arguments shall be kept Add a method add_to_bootloader to job.kernel() When no tag is provided, make job.bootloader.boot_once() a no-op client/bin/kernel.py - loosen up initrd/initramfs match expression client/bin/kernel.py: Match kernel version string with actual lib dir boottool: Handle Red Hat/Fedora boot once more properly client/bin/kernel.py | 49 +++++++++++++++++++++++++++++-------- client/bin/kernel_unittest.py | 5 +++- client/common_lib/boottool.py | 14 ++++------- client/tools/boottool | 53 +++++++++++++++++++++++++++++++++++++---- 4 files changed, 95 insertions(+), 26 deletions(-) -- 1.7.2.3 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
