Explorar o código

use rw for nfsroot

Waldemar Brodkorb %!s(int64=10) %!d(string=hai) anos
pai
achega
0302664a01
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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