mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-06 07:34:01 -09:00
This commit bump the kernel version of this docker test (5.4->6.18), and thus
fixes several issues preventing the Docker Compose runtime test from
succeeding due to this bump:
Kernel Infrastructure:
The Docker daemon failed to start because the 'nat' table could not
be initialized. This was due to missing legacy Netfilter support.
- Enable CONFIG_NETFILTER_XTABLES_LEGACY to support iptables nat table.
- Enable CONFIG_NAMESPACES and CONFIG_USER_NS for container isolation.
- Enable CONFIG_TUN and CONFIG_VETH for container networking.
- Enable CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC for easier debugging.
Build Fixes:
While building the kernel tools, the libelf header was missing because
objtool was not handled correctly for this kernel version. This resulted
in a fatal error: "gelf.h: No such file or directory".
- Select BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y to build host-libelf.
Resources and Stability:
The previous 512MB of RAM was tight for the stack (Kernel +
Docker + Containerd + Python), potentially leading to Out-Of-Memory kills.
Idem for the disk size for Docker images/layers storage.
- Increase QEMU RAM to 1024MB (-m 1024M).
- Increase rootfs size to 1024MB.
- Switch to EXT4 (BR2_TARGET_ROOTFS_EXT2_4=y) for better stability
and modern feature support required by Docker's storage drivers.
Test Script Adjustments:
- Update rootfs path in the test script to point to rootfs.ext4.
Signed-off-by: Dowan Gullient <dowan.gullient@smile.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
97 lines
2.4 KiB
Plaintext
97 lines
2.4 KiB
Plaintext
CONFIG_SYSVIPC=y
|
|
CONFIG_POSIX_MQUEUE=y
|
|
# CONFIG_CROSS_MEMORY_ATTACH is not set
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_BPF_SYSCALL=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_CGROUPS=y
|
|
CONFIG_MEMCG=y
|
|
CONFIG_BLK_CGROUP=y
|
|
CONFIG_CGROUP_SCHED=y
|
|
CONFIG_CGROUP_PIDS=y
|
|
CONFIG_CGROUP_FREEZER=y
|
|
CONFIG_CPUSETS=y
|
|
CONFIG_CGROUP_DEVICE=y
|
|
CONFIG_CGROUP_CPUACCT=y
|
|
CONFIG_CGROUP_BPF=y
|
|
CONFIG_NAMESPACES=y
|
|
CONFIG_USER_NS=y
|
|
CONFIG_SMP=y
|
|
# CONFIG_X86_EXTENDED_PLATFORM is not set
|
|
# CONFIG_X86_MCE is not set
|
|
# CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS is not set
|
|
CONFIG_LEGACY_VSYSCALL_NONE=y
|
|
# CONFIG_SUSPEND is not set
|
|
# CONFIG_ACPI is not set
|
|
CONFIG_CPU_IDLE=y
|
|
# CONFIG_VIRTUALIZATION is not set
|
|
# CONFIG_GCC_PLUGINS is not set
|
|
CONFIG_BLK_DEV_THROTTLING=y
|
|
# CONFIG_MQ_IOSCHED_DEADLINE is not set
|
|
# CONFIG_MQ_IOSCHED_KYBER is not set
|
|
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
|
# CONFIG_SWAP is not set
|
|
# CONFIG_COMPAT_BRK is not set
|
|
CONFIG_TRANSPARENT_HUGEPAGE=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_ADVANCED_ROUTER=y
|
|
# CONFIG_IPV6_SIT is not set
|
|
CONFIG_NETFILTER=y
|
|
CONFIG_BRIDGE_NETFILTER=y
|
|
CONFIG_NF_CONNTRACK=y
|
|
CONFIG_NETFILTER_XTABLES_LEGACY=y
|
|
CONFIG_NETFILTER_XT_MARK=y
|
|
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y
|
|
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
|
|
CONFIG_NETFILTER_XT_MATCH_IPVS=y
|
|
CONFIG_IP_VS=y
|
|
CONFIG_IP_VS_RR=y
|
|
CONFIG_IP_VS_NFCT=y
|
|
CONFIG_IP_NF_IPTABLES=y
|
|
CONFIG_IP_NF_NAT=y
|
|
CONFIG_IP_NF_TARGET_MASQUERADE=y
|
|
CONFIG_IP_NF_RAW=y
|
|
CONFIG_BRIDGE=y
|
|
# CONFIG_WIRELESS is not set
|
|
CONFIG_PCI=y
|
|
CONFIG_DEVTMPFS=y
|
|
CONFIG_DEVTMPFS_MOUNT=y
|
|
CONFIG_VIRTIO_BLK=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_TUN=y
|
|
CONFIG_VETH=y
|
|
CONFIG_VIRTIO_NET=y
|
|
# CONFIG_ETHERNET is not set
|
|
# CONFIG_WLAN is not set
|
|
# CONFIG_INPUT_KEYBOARD is not set
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
# CONFIG_SERIO is not set
|
|
CONFIG_VT_HW_CONSOLE_BINDING=y
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
# CONFIG_HW_RANDOM_INTEL is not set
|
|
# CONFIG_HW_RANDOM_AMD is not set
|
|
# CONFIG_HW_RANDOM_VIA is not set
|
|
CONFIG_HW_RANDOM_VIRTIO=y
|
|
# CONFIG_DEVMEM is not set
|
|
# CONFIG_HWMON is not set
|
|
# CONFIG_USB_SUPPORT is not set
|
|
CONFIG_RTC_CLASS=y
|
|
CONFIG_VIRTIO_PCI=y
|
|
CONFIG_VIRTIO_MMIO=y
|
|
# CONFIG_X86_PLATFORM_DEVICES is not set
|
|
# CONFIG_IOMMU_SUPPORT is not set
|
|
CONFIG_EXT4_FS=y
|
|
CONFIG_OVERLAY_FS=y
|
|
CONFIG_TMPFS=y
|
|
# CONFIG_MISC_FILESYSTEMS is not set
|
|
# CONFIG_NETWORK_FILESYSTEMS is not set
|
|
CONFIG_KEYS=y
|
|
CONFIG_SECURITYFS=y
|
|
CONFIG_UNWINDER_FRAME_POINTER=y
|