Browse Source

use rw for nfsroot

Waldemar Brodkorb 8 years ago
parent
commit
0302664a01
1 changed files with 3 additions and 0 deletions
  1. 3 0
      target/Makefile

+ 3 - 0
target/Makefile

@@ -64,6 +64,9 @@ endif
 ifeq ($(ADK_TARGET_ROOTFS_NFSROOT),)
 	@$(SED) 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 ro"#' \
 		$(BUILD_DIR)/.kernelconfig.board
+else
+	@$(SED) 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 rw"#' \
+		$(BUILD_DIR)/.kernelconfig.board
 endif
 	@$(SED) 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 $(FS_CMDLINE)"#' \
 		$(BUILD_DIR)/.kernelconfig.board