[PATCH] Enable MAKEDEBUG in /etc/sysconfig/kernel .
Peter Jones
pjones at redhat.com
Thu Sep 25 13:15:24 UTC 2014
This will cause new grubby to make "debug" entries by default.
Related: rhbz#957681
Signed-off-by: Peter Jones <pjones at redhat.com>
---
pyanaconda/bootloader.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index c3aafef..a9456d6 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -2360,7 +2360,12 @@ def writeSysconfigKernel(storage, version):
f.write("\n")
f.write("# DEFAULTKERNEL specifies the default kernel package type\n")
f.write("DEFAULTKERNEL=%s\n" % kernel)
+ f.write("\n")
+ f.write("# MAKEDEBUG specifies if new-kernel-pkg should create non-default\n")
+ f.write("# \"debug\" entries for new kernels.\n")
+ f.write("MAKEDEBUG=yes\n")
if storage.bootloader.trusted_boot:
+ f.write("\n")
f.write("# HYPERVISOR specifies the default multiboot kernel\n")
f.write("HYPERVISOR=/boot/tboot.gz\n")
f.write("HYPERVISOR_ARGS=logging=vga,serial,memory\n")
--
1.9.3
More information about the anaconda-patches
mailing list