mnt/reform: stop doing ifd

This commit is contained in:
Jörg Thalheim 2025-11-06 11:27:57 +01:00
parent ec18896955
commit f34ca8045a

View file

@ -34,12 +34,17 @@ let
hash = "sha256-XiTuH40b3VJqzwygZzU0FcvMDj41Rq6IsMbm+3+QxDY="; hash = "sha256-XiTuH40b3VJqzwygZzU0FcvMDj41Rq6IsMbm+3+QxDY=";
}; };
kernelPatches = # Use postPatch to apply patches from a directory without IFD
(map (patch: { inherit patch; }) ( postPatch = ''
lib.filesystem.listFilesRecursive "${reformDebianPackages}/linux/patches${lib.versions.majorMinor modDirVersion}" for patch in ${reformDebianPackages}/linux/patches${lib.versions.majorMinor modDirVersion}/*/*.patch; do
)) echo "Applying patch: $patch"
++ [ patch -p1 < "$patch"
done
'';
kernelPatches = [
{ {
name = "reform-dts";
patch = callPackage ./dtsPatch.nix { patch = callPackage ./dtsPatch.nix {
inherit reformDebianPackages; inherit reformDebianPackages;
kernelSource = src; kernelSource = src;