Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-04-08 12:06:16 +00:00
committed by GitHub
40 changed files with 508 additions and 310 deletions

View File

@@ -1,7 +1,7 @@
{ lib, stdenv, buildLinux, fetchFromGitHub, ... } @ args:
let
version = "5.11.10";
version = "5.11.12";
suffix = "xanmod1-cacule";
in
buildLinux (args // rec {
@@ -12,7 +12,7 @@ in
owner = "xanmod";
repo = "linux";
rev = modDirVersion;
sha256 = "sha256-Pn1rX61mA8FEt5G1GppK/YyzXnB+hdm5pWh/4swQ4VE=";
sha256 = "sha256-omRZ9oAmW3mauUolPf/lgMFMwUCYU4YaZ+OS75Ag+lM=";
extraPostFetch = ''
rm $out/.config
'';

View File

@@ -0,0 +1,35 @@
{ stdenv, fetchFromGitHub, kernel, lib }:
stdenv.mkDerivation rec {
name = "vendor-reset-${version}-${kernel.version}";
version = "unstable-2021-02-16";
src = fetchFromGitHub {
owner = "gnif";
repo = "vendor-reset";
rev = "225a49a40941e350899e456366265cf82b87ad25";
sha256 = "sha256-xa7P7+mRk4FVgi+YYCcsFLfyNqPmXvy3xhGoTDVqPxw=";
};
nativeBuildInputs = kernel.moduleBuildDependencies;
hardeningDisable = [ "pic" ];
makeFlags = [
"KVER=${kernel.modDirVersion}"
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
];
installPhase = ''
install -D vendor-reset.ko -t "$out/lib/modules/${kernel.modDirVersion}/kernel/drivers/misc/"
'';
meta = with lib; {
description = "Linux kernel vendor specific hardware reset module";
homepage = "https://github.com/gnif/vendor-reset";
license = licenses.gpl2Only;
maintainers = with maintainers; [ wedens ];
platforms = [ "x86_64-linux" ];
broken = kernel.kernelOlder "4.19";
};
}