1 |
commit: 81b10b5208b7bd17b66bb30cdf19804aa2212267 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 29 04:29:59 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 29 04:29:59 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=81b10b52 |
7 |
|
8 |
genkernel: Use isTrue for $BOOTRW |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
genkernel | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/genkernel b/genkernel |
16 |
index 0111a32..676471c 100755 |
17 |
--- a/genkernel |
18 |
+++ b/genkernel |
19 |
@@ -211,7 +211,7 @@ else |
20 |
echo |
21 |
else |
22 |
print_info 1 "mount: ${BOOTDIR} remounted read/write successfully!" |
23 |
- BOOTRW=1 |
24 |
+ BOOTRW="yes" |
25 |
fi |
26 |
fi |
27 |
fi |
28 |
@@ -393,7 +393,7 @@ then |
29 |
unset CONFGREP |
30 |
fi |
31 |
|
32 |
-[ "${BOOTRW}" != '' ] && mount -o remount,ro ${BOOTDIR} |
33 |
+isTrue "${BOOTRW}" && mount -o remount,ro ${BOOTDIR} |
34 |
|
35 |
echo |
36 |
print_info 1 'Do NOT report kernel bugs as genkernel bugs unless your bug' |