From ee418b2a37c2e45bd35625157dbc1b59fcacf8c7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 8 Aug 2011 14:05:59 +0200 Subject: always enable some stuff by default, otherwise modules can't be loaded. --- target/linux/config/Config.in.debug | 2 +- target/linux/config/Config.in.fs | 4 ++++ target/linux/config/Config.in.netfilter | 2 +- target/x86/kernel.config | 7 ++++++- 4 files changed, 12 insertions(+), 3 deletions(-) (limited to 'target') diff --git a/target/linux/config/Config.in.debug b/target/linux/config/Config.in.debug index 1ab7bba85..891a00c6e 100644 --- a/target/linux/config/Config.in.debug +++ b/target/linux/config/Config.in.debug @@ -36,7 +36,7 @@ config ADK_KERNEL_MAGIC_SYSRQ config ADK_KERNEL_DEBUG_FS prompt "Debug Filesystem" boolean - default n + default y help debugfs is a virtual file system that kernel developers use to put debugging files into. Enable this option to be able to read and diff --git a/target/linux/config/Config.in.fs b/target/linux/config/Config.in.fs index 4df34a2bc..1f039a28b 100644 --- a/target/linux/config/Config.in.fs +++ b/target/linux/config/Config.in.fs @@ -1,5 +1,9 @@ menu "Filesystems support" +config ADK_KERNEL_FSNOTIFY + boolean + default y + config ADK_KERNEL_EXPORTFS boolean diff --git a/target/linux/config/Config.in.netfilter b/target/linux/config/Config.in.netfilter index 94f82ef64..f4b9610af 100644 --- a/target/linux/config/Config.in.netfilter +++ b/target/linux/config/Config.in.netfilter @@ -2,7 +2,7 @@ menu "Netfilter (Firewall/Filtering)" config ADK_KERNEL_NETFILTER bool - default n + default y config ADK_KERNEL_NETFILTER_ADVANCED bool diff --git a/target/x86/kernel.config b/target/x86/kernel.config index ffd78bba4..639656f5b 100644 --- a/target/x86/kernel.config +++ b/target/x86/kernel.config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Linux/x86 2.6.39 Kernel Configuration -# Thu Jul 14 19:13:32 2011 +# Sun Aug 7 16:01:05 2011 # # CONFIG_64BIT is not set CONFIG_X86_32=y @@ -873,6 +873,11 @@ CONFIG_DEFAULT_IO_DELAY_TYPE=0 CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_DEFAULT_SECURITY="" # CONFIG_CRYPTO is not set + +# +# OCF Configuration +# +# CONFIG_OCF_OCF is not set CONFIG_HAVE_KVM=y # CONFIG_VIRTUALIZATION is not set # CONFIG_BINARY_PRINTF is not set -- cgit v1.2.3 From 3cb4b2bdfdc6a6acf330099e2f4abecb39b0c910 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 8 Aug 2011 14:41:30 +0200 Subject: enable fsnotify by default, required by sunrpc --- target/linux/patches/2.6.39/fsnotify-enable.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 target/linux/patches/2.6.39/fsnotify-enable.patch (limited to 'target') diff --git a/target/linux/patches/2.6.39/fsnotify-enable.patch b/target/linux/patches/2.6.39/fsnotify-enable.patch new file mode 100644 index 000000000..67eab90b2 --- /dev/null +++ b/target/linux/patches/2.6.39/fsnotify-enable.patch @@ -0,0 +1,10 @@ +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" -- cgit v1.2.3 From 8138ae2eaf6a03564647ba3548ab2dd6e108ef4d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 8 Aug 2011 22:00:26 +0200 Subject: now nfs works, when kernel is independently build --- target/linux/config/Config.in.fs | 1 + target/linux/config/Config.in.fsnet | 1 + target/linux/patches/2.6.39/defaults.patch | 26 +++++++++++++++++++++++ target/linux/patches/2.6.39/fsnotify-enable.patch | 10 --------- 4 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 target/linux/patches/2.6.39/defaults.patch delete mode 100644 target/linux/patches/2.6.39/fsnotify-enable.patch (limited to 'target') 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" -- cgit v1.2.3