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=";
};
kernelPatches =
(map (patch: { inherit patch; }) (
lib.filesystem.listFilesRecursive "${reformDebianPackages}/linux/patches${lib.versions.majorMinor modDirVersion}"
))
++ [
# Use postPatch to apply patches from a directory without IFD
postPatch = ''
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 {
inherit reformDebianPackages;
kernelSource = src;