From d6fa0bcc2284c5d1c0a7f3197f78d91255a682b2 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sat, 13 Dec 2025 18:25:19 -0500 Subject: [PATCH] kernel: disable media devices with kernel fragments Signed-off-by: Hugo Villeneuve --- raspberrypi/recipes-kernel/linux/files/disable-video.cfg | 1 + .../recipes-kernel/linux/linux-raspberrypi_6.%.bbappend | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 raspberrypi/recipes-kernel/linux/files/disable-video.cfg diff --git a/raspberrypi/recipes-kernel/linux/files/disable-video.cfg b/raspberrypi/recipes-kernel/linux/files/disable-video.cfg new file mode 100644 index 0000000..203bde1 --- /dev/null +++ b/raspberrypi/recipes-kernel/linux/files/disable-video.cfg @@ -0,0 +1 @@ +CONFIG_MEDIA_SUPPORT=n diff --git a/raspberrypi/recipes-kernel/linux/linux-raspberrypi_6.%.bbappend b/raspberrypi/recipes-kernel/linux/linux-raspberrypi_6.%.bbappend index 98c6c63..a5ba053 100644 --- a/raspberrypi/recipes-kernel/linux/linux-raspberrypi_6.%.bbappend +++ b/raspberrypi/recipes-kernel/linux/linux-raspberrypi_6.%.bbappend @@ -1,3 +1,5 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + LINUX_RPI_BRANCH = "rpi-6.12.y-hvmpd" LINUX_VERSION = "6.12.61" @@ -8,4 +10,5 @@ SRC_URI = " \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=${LINUX_RPI_KMETA_BRANCH};destsuffix=${KMETA} \ file://powersave.cfg \ file://android-drivers.cfg \ + file://disable-video.cfg \ " -- 2.20.1