Skip to content

Commit

Permalink
hosts/framework: add default kernel patches
Browse files Browse the repository at this point in the history
  • Loading branch information
linyinfeng committed Sep 12, 2023
1 parent 0e0716f commit 1488a59
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions nixos/hosts/framework/_hardware.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
linux_intel_fn = {
fetchFromGitHub,
buildLinux,
lib,
...
} @ args:
buildLinux (args
Expand All @@ -95,13 +96,15 @@
};
}
// (args.argsOverride or {}));
linux_intel = pkgs.callPackage linux_intel_fn {};
linux_intel = pkgs.callPackage linux_intel_fn {
kernelPatches = pkgs.linuxPackages_6_4.kernel.kernelPatches;
};
in
pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor linux_intel);
kernelPatches = [
# TODO wait for https://bugzilla.kernel.org/show_bug.cgi?id=217631
{
name = "framework-12th-tpm-tis-workaround";
name = "framework-12th-tpm-tis-workaround";
# https://lore.kernel.org/all/[email protected]/
patch = ../../../patches/framework-12th-tpm-tis-workaround.patch;
}
Expand Down

0 comments on commit 1488a59

Please sign in to comment.