diff options
author | Matthew Thode <mthode@mthode.org> | 2017-01-02 14:14:12 -0600 |
---|---|---|
committer | Matthew Thode <mthode@mthode.org> | 2017-01-02 14:14:12 -0600 |
commit | 80524841cdb49683b6af7d49983bca8e9072c037 (patch) | |
tree | 267f5aaa847a10c00044c3693152b152600f4f1f /gen_compile.sh | |
parent | clean up an if statement (diff) | |
download | genkernel-80524841cdb49683b6af7d49983bca8e9072c037.tar.gz genkernel-80524841cdb49683b6af7d49983bca8e9072c037.tar.bz2 genkernel-80524841cdb49683b6af7d49983bca8e9072c037.zip |
make nfs togglable fixes musl builds (requires nfs disabled)
Diffstat (limited to 'gen_compile.sh')
-rwxr-xr-x | gen_compile.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gen_compile.sh b/gen_compile.sh index 2b63f19e..70a67327 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -433,6 +433,10 @@ compile_busybox() { gen_die "Busybox directory ${BUSYBOX_DIR} is invalid!" cp "${BUSYBOX_CONFIG}" "${BUSYBOX_DIR}/.config" cp "${BUSYBOX_CONFIG}" "${BUSYBOX_DIR}/.config.gk_orig" + if isTrue "${NFS}" + then + sed -i 's/.*CONFIG_FEATURE_MOUNT_NFS.*/CONFIG_FEATURE_MOUNT_NFS=y/' "${BUSYBOX_DIR}/.config" + fi cd "${BUSYBOX_DIR}" apply_patches busybox ${BUSYBOX_VER} print_info 1 'busybox: >> Configuring...' |