mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-07 02:18:47 +08:00
purism librem5r4 linux: 6.4.5-librem5 -> 6.4.14-librem5
This commit is contained in:
committed by
Jörg Thalheim
parent
4cd9ced7fa
commit
e507801ba7
25
purism/librem/5r4/kernel/6.4.14.nix
Normal file
25
purism/librem/5r4/kernel/6.4.14.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ lib
|
||||
, buildLinux
|
||||
, fetchFromGitLab
|
||||
, ...
|
||||
} @ args:
|
||||
buildLinux (args
|
||||
// rec {
|
||||
defconfig = "librem5_defconfig";
|
||||
version = "6.4.14-librem5";
|
||||
modDirVersion = version;
|
||||
src = fetchFromGitLab {
|
||||
domain = "source.puri.sm";
|
||||
owner = "Librem5";
|
||||
repo = "linux";
|
||||
rev = "pureos/6.4.14pureos1";
|
||||
hash = "sha256-PzRG6czWLMahklceuaWGK1QJ+m9FAKDa/m1jp87h62k=";
|
||||
};
|
||||
kernelPatches = [ ];
|
||||
structuredExtraConfig = with lib.kernel; {
|
||||
# buildLinux overrides this and defaults to 32, so go back to the value defined librem5_defconfig
|
||||
# this is required for millipixels to take photos, otherwise the VIDIOC_REQ_BUFS ioctl returns ENOMEM
|
||||
CMA_SIZE_MBYTES = lib.mkForce (freeform "320");
|
||||
};
|
||||
}
|
||||
// args.argsOverride or { })
|
||||
Reference in New Issue
Block a user