1 |
commit: ae7c4d44571fe382e2e2749cd1a19fd235685a27 |
2 |
Author: Richard Yao <ryao <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 6 03:06:12 2013 +0000 |
4 |
Commit: Richard Yao <ryao <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 6 03:35:25 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=ae7c4d44 |
7 |
|
8 |
Suppress grub2-mkconfig output |
9 |
|
10 |
Every other tool that we run has its output suppressed, so lets be |
11 |
consistent. |
12 |
|
13 |
Signed-off-by: Richard Yao <ryao <AT> gentoo.org> |
14 |
|
15 |
--- |
16 |
gen_bootloader.sh | 2 +- |
17 |
1 file changed, 1 insertion(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/gen_bootloader.sh b/gen_bootloader.sh |
20 |
index 5848bd2..c695cea 100755 |
21 |
--- a/gen_bootloader.sh |
22 |
+++ b/gen_bootloader.sh |
23 |
@@ -50,7 +50,7 @@ set_bootloader_grub2() { |
24 |
|
25 |
print_info 1 "You can customize Grub2 parameters in /etc/default/grub." |
26 |
print_info 1 "Running grub2-mkconfig to create ${GRUB_CONF}..." |
27 |
- grub2-mkconfig -o "${GRUB_CONF}" |
28 |
+ grub2-mkconfig -o "${GRUB_CONF}" 2> /dev/null |
29 |
[ "${BUILD_RAMDISK}" -ne 0 ] && sed -i 's/ro single/ro debug/' "${GRUB_CONF}" |
30 |
} |