From 28fb96f5a3fde060d611ab8870c80c9feb7c3b43 Mon Sep 17 00:00:00 2001 From: John Audia Date: Thu, 9 Jan 2025 21:22:48 -0500 Subject: [PATCH] kernel: add missing symbols for lxc These symbols are needed to satisfy lxc dependencies. Note - this needs to be merged before https://github.com/openwrt/packages/pull/25719 Signed-off-by: John Audia --- config/Config-kernel.in | 3 +++ package/kernel/linux/modules/netsupport.mk | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 64c8c63466a75a..14cbac8adec1a3 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -629,6 +629,9 @@ config KERNEL_DEBUG_GPIO bool "Compile the kernel with gpio debugging" select KERNEL_DEBUG_KERNEL +config KERNEL_CHECKPOINT_RESTORE + bool + config KERNEL_COREDUMP bool diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index 3551a89a9b2e91..9b6c0604454a61 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -1648,3 +1648,21 @@ define KernelPackage/qrtr-mhi/description endef $(eval $(call KernelPackage,qrtr-mhi)) + +define KernelPackage/unix-diag + TITLE:=UNIX socket monitoring interface + KCONFIG:=CONFIG_UNIX_DIAG + FILES:= $(LINUX_DIR)/net/unix/unix_diag.ko + AUTOLOAD:=$(call AutoProbe,unix_diag) +endef + +$(eval $(call KernelPackage,unix-diag)) + +define KernelPackage/packet-diag + TITLE:=Packet sockets monitoring interface + KCONFIG:=CONFIG_PACKET_DIAG + FILES:= $(LINUX_DIR)/net/packet/af_packet_diag.ko + AUTOLOAD:=$(call AutoProbe,af_packet_diag) +endef + +$(eval $(call KernelPackage,packet-diag))