Re: [OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-17 Thread John Crispin


On 17/03/2015 09:00, Jeff Waugh wrote:
 On Mon, Mar 16, 2015 at 5:09 PM, Jeff Waugh j...@bethesignal.org
 mailto:j...@bethesignal.org wrote:
 
 On Mon, Mar 16, 2015 at 4:56 PM, Rafał Miłecki zaj...@gmail.com
 mailto:zaj...@gmail.com wrote:
  If you want to put some comments in your patch, place them below the
  ---. This way they won't be visible after applying patch with git
  am.
 
 Thanks -- will do. 8)
 
 
 Should I resubmit, John?
 
 Thanks,
 Jeff

please, will make it easier to merge
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-17 Thread Jeff Waugh
On Mon, Mar 16, 2015 at 5:09 PM, Jeff Waugh j...@bethesignal.org wrote:

 On Mon, Mar 16, 2015 at 4:56 PM, Rafał Miłecki zaj...@gmail.com wrote:
  If you want to put some comments in your patch, place them below the
  ---. This way they won't be visible after applying patch with git
  am.

 Thanks -- will do. 8)


Should I resubmit, John?

Thanks,
Jeff
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-17 Thread Jeff Waugh
These kernel options are all likely to be widely useful in this modern age, but
are immediately useful for systemd support.

c.f. 
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-.ebuild?view=markup#l118

Adapted from a patch by Adam Porter.

Signed-off-by: Jeff Waugh j...@bethesignal.org
---
 config/Config-kernel.in | 34 --
 1 file changed, 28 insertions(+), 6 deletions(-)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 34e07bd..ae5b3d5 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -115,6 +115,18 @@ config KERNEL_DIRECT_IO
bool Compile the kernel with direct IO support
default n
 
+config KERNEL_FHANDLE
+   bool Compile the kernel with support for fhandle syscalls
+   default n
+
+config KERNEL_FANOTIFY
+   bool Compile the kernel with modern file notification support
+   default n
+
+config KERNEL_BLK_DEV_BSG
+   bool Compile the kernel with SCSI generic v4 support for any block 
device
+   default n
+
 config KERNEL_MAGIC_SYSRQ
bool Compile the kernel with SysRq support
default y
@@ -164,6 +176,22 @@ config USE_SPARSE
bool Enable sparse check during kernel build
default n
 
+config KERNEL_DEVTMPFS
+   bool Compile the kernel with device tmpfs enabled
+   default n
+   help
+ devtmpfs is a simple, kernel-managed /dev filesystem. The kernel 
creates
+ devices nodes for all registered devices ti simplify boot, but leaves 
more
+ complex tasks to userspace (e.g. udev).
+
+if KERNEL_DEVTMPFS
+
+   config KERNEL_DEVTMPFS_MOUNT
+   bool Automatically mount devtmpfs after root filesystem is 
mounted
+   default n
+
+endif
+
 #
 # CGROUP support symbols
 #
@@ -481,9 +509,3 @@ config KERNEL_SECCOMP_FILTER
default n
help
  Build kernel with support for seccomp BPF programs.
-
-config KERNEL_FHANDLE
-   bool Enable open by fhandle syscalls
-   default n
-   help
- Build kernel with support for open by fhandle syscalls
-- 
1.9.1
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-15 Thread John Crispin


On 12/03/2015 13:54, Jeff Waugh wrote:
 +config KERNEL_FHANDLE
 + bool Compile the kernel with support for fhandle syscalls
 + default n
 +

Hi,

support for fhandle was added in r44765

John
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-15 Thread Jeff Waugh
(John: This patch takes into account r44765, but moves the FHANDLE config
stanza to a more understandable position in the file.)

These are all likely to be widely useful in this modern age, but my interest is
primarily in systemd support. :-)

c.f. 
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-.ebuild?view=markup#l118

Adapted from a patch by Adam Porter.

Signed-off-by: Jeff Waugh j...@bethesignal.org
---
 config/Config-kernel.in | 34 --
 1 file changed, 28 insertions(+), 6 deletions(-)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 34e07bd..ae5b3d5 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -115,6 +115,18 @@ config KERNEL_DIRECT_IO
bool Compile the kernel with direct IO support
default n
 
+config KERNEL_FHANDLE
+   bool Compile the kernel with support for fhandle syscalls
+   default n
+
+config KERNEL_FANOTIFY
+   bool Compile the kernel with modern file notification support
+   default n
+
+config KERNEL_BLK_DEV_BSG
+   bool Compile the kernel with SCSI generic v4 support for any block 
device
+   default n
+
 config KERNEL_MAGIC_SYSRQ
bool Compile the kernel with SysRq support
default y
@@ -164,6 +176,22 @@ config USE_SPARSE
bool Enable sparse check during kernel build
default n
 
+config KERNEL_DEVTMPFS
+   bool Compile the kernel with device tmpfs enabled
+   default n
+   help
+ devtmpfs is a simple, kernel-managed /dev filesystem. The kernel 
creates
+ devices nodes for all registered devices ti simplify boot, but leaves 
more
+ complex tasks to userspace (e.g. udev).
+
+if KERNEL_DEVTMPFS
+
+   config KERNEL_DEVTMPFS_MOUNT
+   bool Automatically mount devtmpfs after root filesystem is 
mounted
+   default n
+
+endif
+
 #
 # CGROUP support symbols
 #
@@ -481,9 +509,3 @@ config KERNEL_SECCOMP_FILTER
default n
help
  Build kernel with support for seccomp BPF programs.
-
-config KERNEL_FHANDLE
-   bool Enable open by fhandle syscalls
-   default n
-   help
- Build kernel with support for open by fhandle syscalls
-- 
1.9.1
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-15 Thread Rafał Miłecki
On 14 March 2015 at 00:35, Jeff Waugh j...@bethesignal.org wrote:
 (John: This patch takes into account r44765, but moves the FHANDLE config
 stanza to a more understandable position in the file.)

If you want to put some comments in your patch, place them below the
---. This way they won't be visible after applying patch with git
am.


 These are all likely to be widely useful in this modern age, but my interest 
 is
 primarily in systemd support. :-)

 c.f. 
 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-.ebuild?view=markup#l118

 Adapted from a patch by Adam Porter.

 Signed-off-by: Jeff Waugh j...@bethesignal.org
 ---

Right here.

-- 
Rafał
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-13 Thread Jeff Waugh
These are all likely to be widely useful in this modern age, but my interest is
primarily in systemd support. :-)

c.f. 
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-.ebuild?view=markup#l118

Adapted from a patch by Adam Porter.

Signed-off-by: Jeff Waugh j...@bethesignal.org
---
 config/Config-kernel.in | 28 
 1 file changed, 28 insertions(+)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index a0bd13e..ae5b3d5 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -115,6 +115,18 @@ config KERNEL_DIRECT_IO
bool Compile the kernel with direct IO support
default n
 
+config KERNEL_FHANDLE
+   bool Compile the kernel with support for fhandle syscalls
+   default n
+
+config KERNEL_FANOTIFY
+   bool Compile the kernel with modern file notification support
+   default n
+
+config KERNEL_BLK_DEV_BSG
+   bool Compile the kernel with SCSI generic v4 support for any block 
device
+   default n
+
 config KERNEL_MAGIC_SYSRQ
bool Compile the kernel with SysRq support
default y
@@ -164,6 +176,22 @@ config USE_SPARSE
bool Enable sparse check during kernel build
default n
 
+config KERNEL_DEVTMPFS
+   bool Compile the kernel with device tmpfs enabled
+   default n
+   help
+ devtmpfs is a simple, kernel-managed /dev filesystem. The kernel 
creates
+ devices nodes for all registered devices ti simplify boot, but leaves 
more
+ complex tasks to userspace (e.g. udev).
+
+if KERNEL_DEVTMPFS
+
+   config KERNEL_DEVTMPFS_MOUNT
+   bool Automatically mount devtmpfs after root filesystem is 
mounted
+   default n
+
+endif
+
 #
 # CGROUP support symbols
 #
-- 
1.9.1
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel