Hi! On Sun, Dec 30, 2018 at 11:26:58AM +0100, Petr Štetiar wrote: > Daniel Golle <dan...@makrotopia.org> [2018-12-29 06:51:32]: > > > config KERNEL_AIO > > config KERNEL_FHANDLE > > config KERNEL_FANOTIFY > > + default y if !SMALL_FLASH > > What about `FEATURES += nas` to make it clear and don't abuse SMALL_FLASH.
This is not necessarily only used on NAS devices. systemd requires FHANDLE and FANOTIFY (eg. when running inside LXC container), lvm2 needs AIO. Both could well run on a modern router or SBC having USB or an SDCARD slot. > > > config KERNEL_CGROUPS > > config KERNEL_CPUSETS > > config KERNEL_CGROUP_CPUACCT > > config KERNEL_RESOURCE_COUNTERS > > config KERNEL_MEMCG > > config KERNEL_MEMCG_KMEM > > menuconfig KERNEL_CGROUP_SCHED > > config KERNEL_FAIR_GROUP_SCHED > > config KERNEL_RT_GROUP_SCHED > > config KERNEL_NAMESPACES > > config KERNEL_LXC_MISC > > config KERNEL_SECCOMP_FILTER > > config KERNEL_SECCOMP > > - default n > > + default y if !SMALL_FLASH > > What about `FEATURES += containers` ? From what I understood FEATURES is supposed to reflect hardware capabilities -- all the above are generic software features useful on any device having the capacity (ie. flash and RAM) to make use of them. > > Daniel Engberg <daniel.engberg.li...@pyret.net> [2018-12-30 10:21:46]: > > > however KERNEL_CGROUPS, config KERNEL_NAMESPACES, config KERNEL_LXC_MISC, > > KERNEL_SECCOMP_FILTER are very limited use cases to my knowledge and more or > > less only used on x86*? > > There are other quite powerful platforms like mvebu, imx6, ipq etc. where you > could use this as well. I use LXC on oxnas/ox820 (ARM11mpcore) and ramips/mt7621 (MIPS1004Kc), running Debian inside LXC containers (and it's annoying that I can't use regular OpenWrt releases or buildbot-generated snapshots on the). Cheers Daniel _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel