projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b882252
)
Make --bootloader=grub2 set debug instead of single in grub.cfg
author
Richard Yao
<ryao@cs.stonybrook.edu>
Tue, 24 Apr 2012 05:52:08 +0000
(
01:52
-0400)
committer
Richard Yao
<ryao@cs.stonybrook.edu>
Tue, 24 Apr 2012 21:02:30 +0000
(17:02 -0400)
gen_bootloader.sh
patch
|
blob
|
history
diff --git
a/gen_bootloader.sh
b/gen_bootloader.sh
index f0273db19bb304d98799ebff0a3f6ab064d5f54a..5b73d97ef0cbd0f0cd4e2341edce0343ac913a23 100755
(executable)
--- a/
gen_bootloader.sh
+++ b/
gen_bootloader.sh
@@
-51,6
+51,7
@@
set_bootloader_grub2() {
print_info 1 "You can customize Grub2 parameters in /etc/default/grub."
print_info 1 "Running grub2-mkconfig to create ${GRUB_CONF}..."
grub2-mkconfig -o "${GRUB_CONF}"
+ [ "${BUILD_RAMDISK}" -ne 0 ] && sed -i 's/ro single/ro debug/' "${GRUB_CONF}"
}
set_bootloader_grub() {