From e94262db538404eb44d289eca6f4f3eff2129f60 Mon Sep 17 00:00:00 2001 From: Florian Agbuya Date: Wed, 17 Jan 2024 17:56:38 +0800 Subject: [PATCH] remove kernel module bloat --- pr-28.patch | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pr-28.patch b/pr-28.patch index f53dc58..f679274 100644 --- a/pr-28.patch +++ b/pr-28.patch @@ -96,10 +96,10 @@ index c61f9d6..fbdf0fd 100644 }; } diff --git a/zynq_image.nix b/zynq_image.nix -index 3fa23ab..4fa949e 100644 +index 3fa23ab..9ea1df3 100644 --- a/zynq_image.nix +++ b/zynq_image.nix -@@ -1,66 +1,90 @@ +@@ -1,66 +1,96 @@ -{ config, pkgs, ... }: +{ lib, config, pkgs, ... }: @@ -126,6 +126,12 @@ index 3fa23ab..4fa949e 100644 + customKernel = (crosspkgs.linux.override { extraConfig = '' OVERLAY_FS y ++ MEDIA_SUPPORT n ++ FB n ++ DRM n ++ SOUND n ++ SQUASHFS n ++ BACKLIGHT_CLASS_DEVICE n ''; - }; - customKernelPackages = pkgs.linuxPackagesFor customKernel; -- 2.47.0