This allows booting the kernel with systemd-based root file systems.
Signed-off-by: Soren Brinkmann <[email protected]>
---
Hi,
I don't know whether I'm the only one, but I use a initramfs with
systemd as init, which requires cgroup support in the kernel to fully
boot.
Thanks,
Sören
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 3487046d8a78..2dd723e63c35 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -3,6 +3,7 @@ CONFIG_FHANDLE=y
CONFIG_IRQ_DOMAIN_DEBUG=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
+CONFIG_CGROUPS=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_EMBEDDED=y
CONFIG_PERF_EVENTS=y
--
2.1.3.1.ge241007
On Monday 17 November 2014, Soren Brinkmann wrote:
> This allows booting the kernel with systemd-based root file systems.
>
> Signed-off-by: Soren Brinkmann <[email protected]>
> ---
> Hi,
>
> I don't know whether I'm the only one, but I use a initramfs with
> systemd as init, which requires cgroup support in the kernel to fully
> boot.
>
You probably are at this time, but I expect it to get more common
in the future, I don't think enabling this is controversial at all.
Applied to next/defconfig, thanks!
Arnd
Hello,
On Thu, Nov 20, 2014 at 1:54 PM, Arnd Bergmann <[email protected]> wrote:
> On Monday 17 November 2014, Soren Brinkmann wrote:
>> This allows booting the kernel with systemd-based root file systems.
>>
>> Signed-off-by: Soren Brinkmann <[email protected]>
>> ---
>> Hi,
>>
>> I don't know whether I'm the only one, but I use a initramfs with
>> systemd as init, which requires cgroup support in the kernel to fully
>> boot.
>>
>
> You probably are at this time, but I expect it to get more common
> in the future, I don't think enabling this is controversial at all.
>
Others are using it but with SoC specific defconfig and not multi_v7.
Newer version of systemd needs more config symbols to be enabled
besides cgroups, the full list is at
http://cgit.freedesktop.org/systemd/systemd/tree/README.
Tony recently added the recommended support to OMAP2+ defconfig so
something along these lines should be added to multi_v7 as a
follow-up:
673ce00c ("ARM: omap2plus_defconfig: Add support for distros with systemd")
Best regards,
Javier