From e381b1d2dd9330da697ec29d83019f7ebf88b3bc Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 25 Sep 2022 22:41:56 -0700 Subject: [PATCH] moby: roll-back kernel from 6.0.0-rc4 to 5.19.8 the 6.0.0 kernel wouldn't always boot to GUI, and power button would instantly power-off the device instead of activating the display. hopefully 5.19 works better. --- pkgs/linux-megous/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/linux-megous/default.nix b/pkgs/linux-megous/default.nix index 483b3a69..35d32268 100644 --- a/pkgs/linux-megous/default.nix +++ b/pkgs/linux-megous/default.nix @@ -3,10 +3,10 @@ with lib; buildLinux (args // rec { - version = "6.0.0-rc4"; + version = "5.19.8"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed - modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) + "-rc4" else modDirVersionArg; + modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; # branchVersion needs to be x.y extraMeta.branch = versions.majorMinor version; @@ -14,8 +14,8 @@ buildLinux (args // rec { src = fetchFromGitHub { owner = "megous"; repo = "linux"; - # branch: orange-pi-6.0 - rev = "6ada3caab0b37968f1257b3ea75e5b0466a77162"; - sha256 = "sha256-jIhOE0ZMuoJm7NqAEJ4OTNLHN/h8i4cOphcw3le7RSw="; + # branch: orange-pi-5.19 + rev = "b8fd52d433a566c54a58fcec65fb479efd15bff2"; + sha256 = "sha256-tnTMpQ+gRcq4haaVk6TVMHCYxM5vGp1ZAiMIzkskxpk="; }; } // (args.argsOverride or { }))