diff options
author | Richard Yao <ryao@gentoo.org> | 2013-06-05 23:06:12 -0400 |
---|---|---|
committer | Richard Yao <ryao@cs.stonybrook.edu> | 2013-06-09 03:16:16 -0400 |
commit | 54ff7805ae6f5ed6f83542d2edb2996dfd751de4 (patch) | |
tree | 16fd92cef5149a2dc3fa2c756e727419c0df6c28 /gen_bootloader.sh | |
parent | Update HACKING to use git-shortlog (diff) | |
download | genkernel-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-x | gen_bootloader.sh | 2 |
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}" } |