]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
ts-kernel-build: Explicitly enable CONFIG_CGROUPS
authorIan Campbell <ian.campbell@citrix.com>
Fri, 2 Oct 2015 10:48:31 +0000 (11:48 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 8 Oct 2015 16:18:40 +0000 (17:18 +0100)
This is not enabled in the arm defconfig (it is in x86) and without it
a Debian Jessie userspace with systemd fails to boot with:

systemd[1]: Failed to mount tmpfs at /sys/fs/cgroup: No such file or directory

While we arrange to use sysvinit in the host and in d-i installed
guests we do not do so for xen-create-image guests.

Arranging to install sysvinit-core during xen-create-image looks to be
non-trivial. I hope it won't be necessary.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-kernel-build

index a16527b200b192e448362aef7db4a862d9fd4d66..6d59e6e4c831f499027f4df0245e3e68b3476870 100755 (executable)
@@ -549,6 +549,9 @@ setopt CONFIG_BLK_CPQ_CISS_DA m
 
 setopt CONFIG_FHANDLE y
 
+# Needed for Jessie+ userspace when systemd is used.
+setopt CONFIG_CGROUPS y
+
 # Needed for efibootmgr
 setopt CONFIG_EFI_VARS y