summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-08-08 22:00:26 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-08-08 22:00:26 +0200
commit8138ae2eaf6a03564647ba3548ab2dd6e108ef4d (patch)
tree215717f2544f3f01348137daa6728a79d0b156e7 /target
parent0cf844a1e376ea91fe985f4dd3ae88d6bf2a318f (diff)
now nfs works, when kernel is independently build
Diffstat (limited to 'target')
-rw-r--r--target/linux/config/Config.in.fs1
-rw-r--r--target/linux/config/Config.in.fsnet1
-rw-r--r--target/linux/patches/2.6.39/defaults.patch26
-rw-r--r--target/linux/patches/2.6.39/fsnotify-enable.patch10
4 files changed, 28 insertions, 10 deletions
diff --git a/target/linux/config/Config.in.fs b/target/linux/config/Config.in.fs
index 1f039a28b..ee2adc39f 100644
--- a/target/linux/config/Config.in.fs
+++ b/target/linux/config/Config.in.fs
@@ -6,6 +6,7 @@ config ADK_KERNEL_FSNOTIFY
config ADK_KERNEL_EXPORTFS
boolean
+ default y
config ADK_KERNEL_YAFFS_FS
tristate
diff --git a/target/linux/config/Config.in.fsnet b/target/linux/config/Config.in.fsnet
index 301a988f2..40f9b1bbe 100644
--- a/target/linux/config/Config.in.fsnet
+++ b/target/linux/config/Config.in.fsnet
@@ -107,6 +107,7 @@ config ADK_KPACKAGE_KMOD_NFSD
select ADK_KERNEL_NFSD_V4
select ADK_KERNEL_DNOTIFY
select ADK_KPACKAGE_KMOD_SUNRPC
+ select ADK_KPACKAGE_KMOD_SUNRPC_GSS
select ADK_KPACKAGE_KMOD_LOCKD
select ADK_KERNEL_NETWORK_FILESYSTEMS
depends on !ADK_TARGET_ROOTFS_NFSROOT
diff --git a/target/linux/patches/2.6.39/defaults.patch b/target/linux/patches/2.6.39/defaults.patch
new file mode 100644
index 000000000..d24c1c367
--- /dev/null
+++ b/target/linux/patches/2.6.39/defaults.patch
@@ -0,0 +1,26 @@
+diff -Nur linux-2.6.39.orig/fs/Kconfig linux-2.6.39/fs/Kconfig
+--- linux-2.6.39.orig/fs/Kconfig 2011-05-19 06:06:34.000000000 +0200
++++ linux-2.6.39/fs/Kconfig 2011-08-08 20:33:22.618014757 +0200
+@@ -44,10 +44,10 @@
+ # this symbol for ifdefs in core code.
+ #
+ config FS_POSIX_ACL
+- def_bool n
++ def_bool y
+
+ config EXPORTFS
+- bool
++ def_bool y
+
+ config FILE_LOCKING
+ bool "Enable POSIX file locking API" if EXPERT
+diff -Nur linux-2.6.39.orig/fs/notify/Kconfig linux-2.6.39/fs/notify/Kconfig
+--- linux-2.6.39.orig/fs/notify/Kconfig 2011-05-19 06:06:34.000000000 +0200
++++ linux-2.6.39/fs/notify/Kconfig 2011-08-08 20:33:38.328017344 +0200
+@@ -1,5 +1,5 @@
+ config FSNOTIFY
+- def_bool n
++ def_bool y
+
+ source "fs/notify/dnotify/Kconfig"
+ source "fs/notify/inotify/Kconfig"
diff --git a/target/linux/patches/2.6.39/fsnotify-enable.patch b/target/linux/patches/2.6.39/fsnotify-enable.patch
deleted file mode 100644
index 67eab90b2..000000000
--- a/target/linux/patches/2.6.39/fsnotify-enable.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -Nur linux-2.6.39.orig/fs/notify/Kconfig linux-2.6.39/fs/notify/Kconfig
---- linux-2.6.39.orig/fs/notify/Kconfig 2011-05-19 06:06:34.000000000 +0200
-+++ linux-2.6.39/fs/notify/Kconfig 2011-08-07 17:23:16.658016716 +0200
-@@ -1,5 +1,5 @@
- config FSNOTIFY
-- def_bool n
-+ def_bool y
-
- source "fs/notify/dnotify/Kconfig"
- source "fs/notify/inotify/Kconfig"