1 |
commit: 18c0dbc872052e37cd8df6862810623d170d3d62 |
2 |
Author: Richard Yao <ryao <AT> cs <DOT> stonybrook <DOT> edu> |
3 |
AuthorDate: Tue Apr 24 05:52:08 2012 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 24 21:02:30 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=18c0dbc8 |
7 |
|
8 |
Make --bootloader=grub2 set debug instead of single in grub.cfg |
9 |
|
10 |
--- |
11 |
gen_bootloader.sh | 1 + |
12 |
1 files changed, 1 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/gen_bootloader.sh b/gen_bootloader.sh |
15 |
index f0273db..5b73d97 100755 |
16 |
--- a/gen_bootloader.sh |
17 |
+++ b/gen_bootloader.sh |
18 |
@@ -51,6 +51,7 @@ set_bootloader_grub2() { |
19 |
print_info 1 "You can customize Grub2 parameters in /etc/default/grub." |
20 |
print_info 1 "Running grub2-mkconfig to create ${GRUB_CONF}..." |
21 |
grub2-mkconfig -o "${GRUB_CONF}" |
22 |
+ [ "${BUILD_RAMDISK}" -ne 0 ] && sed -i 's/ro single/ro debug/' "${GRUB_CONF}" |
23 |
} |
24 |
|
25 |
set_bootloader_grub() { |