[master] debugging: log boot arguments.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is not logged anywhere else and so can shorten the needinfo
communication by one round.
---
 pyanaconda/bootloader.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 6c732a0..79cf499 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1224,6 +1224,7 @@ class GRUB(BootLoader):
                 grub_root = self.grub_device_name(self.stage2_device)
                 args.update(["ro", "root=%s" % image.device.fstabSpec])
                 args.update(self.boot_args)
+                log.info("bootloader.py: used boot args: %s " % args)
                 if isinstance(image, TbootLinuxBootLoaderImage):
                     args.update(image.args)
                     snippet = ("\tkernel %(prefix)s/%(multiboot)s %(mbargs)s\n"
@@ -1639,6 +1640,7 @@ class GRUB2(GRUB):
         # this is going to cause problems for systems containing multiple
         # linux installations or even multiple boot entries with different
         # boot arguments
+        log.info("bootloader.py: used boot args: %s " % self.boot_args)
         defaults.write("GRUB_CMDLINE_LINUX=\"%s\"\n" % self.boot_args)
         defaults.close()
 
@@ -1756,6 +1758,7 @@ class YabootSILOBase(BootLoader):
                 root_line = ""
 
             args.update(self.boot_args)
+            log.info("bootloader.py: used boot args: %s " % args)
 
             stanza = ("image=%(boot_prefix)s%(kernel)s\n"
                       "\tlabel=%(label)s\n"
@@ -1922,6 +1925,7 @@ class ZIPL(BootLoader):
                 initrd_line = ""
             args.add("root=%s/%s" % (self.boot_dir, image.kernel))
             args.update(self.boot_args)
+            log.info("bootloader.py: used boot args: %s " % args)
             stanza = ("[%(label)s]\n"
                       "\timage=%(boot_dir)s/%(kernel)s\n"
                       "%(initrd_line)s"
-- 
1.7.6.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux