aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Yao <ryao@gentoo.org>2013-06-05 23:06:12 -0400
committerRichard Yao <ryao@cs.stonybrook.edu>2013-06-09 03:16:16 -0400
commit54ff7805ae6f5ed6f83542d2edb2996dfd751de4 (patch)
tree16fd92cef5149a2dc3fa2c756e727419c0df6c28 /gen_bootloader.sh
parentUpdate HACKING to use git-shortlog (diff)
downloadgenkernel-54ff7805ae6f5ed6f83542d2edb2996dfd751de4.tar.gz
genkernel-54ff7805ae6f5ed6f83542d2edb2996dfd751de4.tar.bz2
genkernel-54ff7805ae6f5ed6f83542d2edb2996dfd751de4.zip
Suppress grub2-mkconfig output
Every other tool that we run has its output suppressed, so lets be consistent. Signed-off-by: Richard Yao <ryao@gentoo.org>
Diffstat (limited to 'gen_bootloader.sh')
-rwxr-xr-xgen_bootloader.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_bootloader.sh b/gen_bootloader.sh
index 5848bd2..c695cea 100755
--- a/gen_bootloader.sh
+++ b/gen_bootloader.sh
@@ -50,7 +50,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}"
+ grub2-mkconfig -o "${GRUB_CONF}" 2> /dev/null
[ "${BUILD_RAMDISK}" -ne 0 ] && sed -i 's/ro single/ro debug/' "${GRUB_CONF}"
}