[Buildroot] [PATCH 2/2] systemd: enable required kernel features.
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Feb 17 10:57:21 UTC 2014
Dear Eric Le Bihan,
On Mon, 17 Feb 2014 11:22:16 +0100, Eric Le Bihan wrote:
> diff --git a/package/systemd/Config.in b/package/systemd/Config.in
> index eacc23c..716da2c 100644
> --- a/package/systemd/Config.in
> +++ b/package/systemd/Config.in
> @@ -26,8 +26,16 @@ config BR2_PACKAGE_SYSTEMD
> elaborate transactional dependency-based service control logic.
> It can work as a drop-in replacement for sysvinit.
>
> - Systemd requires a Linux kernel >= 3.0, with inotify, devtmpfs,
> - tmpfs vfs and tmpfs POSIX ACL enabled.
> + Systemd requires a Linux kernel >= 3.0.
> +
> + The following features will be enabled in the kernel:
> +
> + - CONFIG_CGROUPS
> + - CONFIG_INOTIFY_USER
> + - CONFIG_FHANDLE
> + - CONFIG_AUTOFS4_FS
> + - CONFIG_TMPFS_POSIX_ACL
> + - CONFIG_TMPFS_XATTR
This formulation is not correct for people who build their kernel
outside of Buildroot (while the earlier formulation worked for both
situations).
What about something like:
systemd requires the following options to be enabled in the
kernel:
- CONFIG_<foo>
- CONFIG_<bar>
These options will be automatically enabled by Buildroot if
it is responsible for building the kernel. Otherwise, if you
are building your kernel outside of Buildroot, make sure
these options are enabled.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list