mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-05 05:15:25 +02:00
criu: add kernel configuration features
criu needs to turn on sock diag features in kernel to do the system dump[1]. Ref: [1] https://criu.org/Linux_kernel Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
f33765288d
commit
e4e2072188
8
recipes-kernel/linux/linux-yocto/criu.cfg
Normal file
8
recipes-kernel/linux/linux-yocto/criu.cfg
Normal file
|
@ -0,0 +1,8 @@
|
|||
#Networking options options for sock-diag subsystem
|
||||
CONFIG_UNIX_DIAG=y
|
||||
CONFIG_INET_DIAG=y
|
||||
CONFIG_INET_UDP_DIAG=y
|
||||
CONFIG_PACKET_DIAG=y
|
||||
CONFIG_NETLINK_DIAG=y
|
||||
CONFIG_NETFILTER_XT_MARK=y
|
||||
CONFIG_TUN=y
|
4
recipes-kernel/linux/linux-yocto/criu.scc
Normal file
4
recipes-kernel/linux/linux-yocto/criu.scc
Normal file
|
@ -0,0 +1,4 @@
|
|||
define KFEATURE_DESCRIPTION "Enable Networking Features needed by criu."
|
||||
define KFEATURE_COMPATIBILITY board
|
||||
|
||||
kconf non-hardware criu.cfg
|
|
@ -6,6 +6,7 @@ SRC_URI += "file://xt-checksum.scc \
|
|||
file://lxc.scc \
|
||||
file://docker.scc \
|
||||
file://cgroup-hugetlb.scc \
|
||||
file://criu.scc \
|
||||
"
|
||||
KERNEL_FEATURES:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'kvm', 'features/kvm/qemu-kvm-enable.scc', '', d)}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user