diff options
| -rw-r--r-- | recipes-kernel/linux/files/9p.cfg | 5 | ||||
| -rw-r--r-- | recipes-kernel/linux/files/squashfs.cfg | 5 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-yocto/extra-configs.cfg | 9 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-yocto_%.bbappend | 13 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-yocto_virtualization.inc | 3 | ||||
| -rw-r--r-- | recipes-kernel/linux/yocto-cfg-fragments-6.18.bb | 2 |
6 files changed, 4 insertions, 33 deletions
diff --git a/recipes-kernel/linux/files/9p.cfg b/recipes-kernel/linux/files/9p.cfg deleted file mode 100644 index bd5a74f1..00000000 --- a/recipes-kernel/linux/files/9p.cfg +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | # 9P filesystem support for virtio-9p file sharing | ||
| 2 | CONFIG_NET_9P=y | ||
| 3 | CONFIG_NET_9P_VIRTIO=y | ||
| 4 | CONFIG_9P_FS=y | ||
| 5 | CONFIG_9P_FS_POSIX_ACL=y | ||
diff --git a/recipes-kernel/linux/files/squashfs.cfg b/recipes-kernel/linux/files/squashfs.cfg deleted file mode 100644 index f67fadcd..00000000 --- a/recipes-kernel/linux/files/squashfs.cfg +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | # Squashfs and overlayfs support for vdkr/vpdmn rootfs images | ||
| 2 | CONFIG_SQUASHFS=y | ||
| 3 | CONFIG_SQUASHFS_XZ=y | ||
| 4 | CONFIG_SQUASHFS_ZSTD=y | ||
| 5 | CONFIG_OVERLAY_FS=y | ||
diff --git a/recipes-kernel/linux/linux-yocto/extra-configs.cfg b/recipes-kernel/linux/linux-yocto/extra-configs.cfg index 26f8b0c6..222b1e1b 100644 --- a/recipes-kernel/linux/linux-yocto/extra-configs.cfg +++ b/recipes-kernel/linux/linux-yocto/extra-configs.cfg | |||
| @@ -1,10 +1 @@ | |||
| 1 | # placeholder config fragment for local enable and debug | # placeholder config fragment for local enable and debug | |
| 2 | |||
| 3 | # Kernel 6.18+ split iptables into legacy/nftables backends | ||
| 4 | # Docker uses legacy iptables, so we need the full dependency chain: | ||
| 5 | # NETFILTER_XTABLES_LEGACY -> IP_NF_IPTABLES_LEGACY -> IP_NF_FILTER/NAT | ||
| 6 | CONFIG_NETFILTER_XTABLES_LEGACY=y | ||
| 7 | CONFIG_IP_NF_IPTABLES_LEGACY=m | ||
| 8 | CONFIG_IP_NF_FILTER=m | ||
| 9 | CONFIG_IP_NF_NAT=m | ||
| 10 | CONFIG_IP_NF_TARGET_MASQUERADE=m \ No newline at end of file | ||
diff --git a/recipes-kernel/linux/linux-yocto_%.bbappend b/recipes-kernel/linux/linux-yocto_%.bbappend deleted file mode 100644 index b6af23a7..00000000 --- a/recipes-kernel/linux/linux-yocto_%.bbappend +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | # SPDX-FileCopyrightText: Copyright (C) 2025 Bruce Ashfield | ||
| 2 | # | ||
| 3 | # SPDX-License-Identifier: MIT | ||
| 4 | # | ||
| 5 | # Kernel config fragments for vdkr/vpdmn: | ||
| 6 | # - 9P filesystem for virtio-9p file sharing (volume mounts) | ||
| 7 | # - Squashfs and overlayfs for rootfs images | ||
| 8 | # | ||
| 9 | # Only applied when "vcontainer" is in DISTRO_FEATURES. | ||
| 10 | |||
| 11 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
| 12 | |||
| 13 | SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'vcontainer', 'file://9p.cfg file://squashfs.cfg', '', d)}" | ||
diff --git a/recipes-kernel/linux/linux-yocto_virtualization.inc b/recipes-kernel/linux/linux-yocto_virtualization.inc index bc2f4040..d67210c4 100644 --- a/recipes-kernel/linux/linux-yocto_virtualization.inc +++ b/recipes-kernel/linux/linux-yocto_virtualization.inc | |||
| @@ -79,3 +79,6 @@ KERNEL_FEATURES:append = "${@distro_cond_feature('cfg/kubernetes.scc', 'k3s', d | |||
| 79 | 79 | ||
| 80 | # selinux | 80 | # selinux |
| 81 | KERNEL_FEATURES:append = "${@distro_cond_feature('cgl/features/selinux/selinux.cfg', 'selinux', d )}" | 81 | KERNEL_FEATURES:append = "${@distro_cond_feature('cgl/features/selinux/selinux.cfg', 'selinux', d )}" |
| 82 | |||
| 83 | # vcontainer | ||
| 84 | KERNEL_FEATURES:append = "${@distro_cond_feature('cfg/container.scc', 'vcontainer', d)}" | ||
diff --git a/recipes-kernel/linux/yocto-cfg-fragments-6.18.bb b/recipes-kernel/linux/yocto-cfg-fragments-6.18.bb index fbe2f11a..e54c1139 100644 --- a/recipes-kernel/linux/yocto-cfg-fragments-6.18.bb +++ b/recipes-kernel/linux/yocto-cfg-fragments-6.18.bb | |||
| @@ -15,7 +15,7 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
| 15 | LINUX_VERSION ?= "6.18" | 15 | LINUX_VERSION ?= "6.18" |
| 16 | PV = "v${LINUX_VERSION}+git${SRCREV}" | 16 | PV = "v${LINUX_VERSION}+git${SRCREV}" |
| 17 | 17 | ||
| 18 | SRCREV = "ebcec46ecca9c422a95635aab45ebeef36a4dbae" | 18 | SRCREV = "6ab6280418f524cda3e9f30ca0ac4367c58abdcf" |
| 19 | SRC_URI = "\ | 19 | SRC_URI = "\ |
| 20 | git://git.yoctoproject.org/yocto-kernel-cache;branch=yocto-${LINUX_VERSION} \ | 20 | git://git.yoctoproject.org/yocto-kernel-cache;branch=yocto-${LINUX_VERSION} \ |
| 21 | " | 21 | " |
