1 |
commit: f502fd4de64f3e2140659e68a430577f2f5227f1 |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 22:14:58 2017 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 2 22:14:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=f502fd4d |
7 |
|
8 |
gen_compile: cleaner config changing. |
9 |
|
10 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
11 |
|
12 |
gen_compile.sh | 4 +--- |
13 |
1 file changed, 1 insertion(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/gen_compile.sh b/gen_compile.sh |
16 |
index 04a7bd4..7cc4733 100755 |
17 |
--- a/gen_compile.sh |
18 |
+++ b/gen_compile.sh |
19 |
@@ -417,9 +417,7 @@ compile_busybox() { |
20 |
cp "${BUSYBOX_CONFIG}" "${TEMP}/busybox-config" |
21 |
if isTrue "${NFS}" |
22 |
then |
23 |
- sed -i \ |
24 |
- -e 's/.*CONFIG_FEATURE_MOUNT_NFS.*/CONFIG_FEATURE_MOUNT_NFS=y/' \ |
25 |
- "${TEMP}/busybox-config" |
26 |
+ kconfig_set_opt "${TEMP}/busybox-config" CONFIG_FEATURE_MOUNT_NFS y |
27 |
fi |
28 |
|
29 |
# Delete cache if stored config's MD5 does not match one to be used |