By using '/boot/init' we allow to match the new initramfs style of files used by more recent rpm based distributions, such as Fedora.
Signed-off-by: Lucas Meneghel Rodrigues <[email protected]> --- client/bin/kernel.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/bin/kernel.py b/client/bin/kernel.py index e444a39..fd272b9 100644 --- a/client/bin/kernel.py +++ b/client/bin/kernel.py @@ -728,7 +728,7 @@ class rpm_kernel(BootableKernel): # search for initrd for file in files: - if file.startswith('/boot/initrd'): + if file.startswith('/boot/init'): self.initrd = file # prefer /boot/initrd-version before /boot/initrd if len(file) > len('/boot/initrd'): -- 1.7.2.3 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
