1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-08-15 15:00:28 +03:00

Merge pull request #681 from Luflosi/update/pine64-pinephone-kernel

This commit is contained in:
Samuel Dionne-Riel 2024-05-13 15:08:59 -04:00 committed by GitHub
commit 655c8830d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 695 additions and 362 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,20 +1,19 @@
{ {
mobile-nixos mobile-nixos
, fetchFromGitHub , fetchFromGitea
, fetchpatch , fetchpatch
, ... , ...
}: }:
mobile-nixos.kernel-builder { mobile-nixos.kernel-builder {
version = "6.0.12"; version = "6.9.0";
configfile = ./config.aarch64; configfile = ./config.aarch64;
src = fetchFromGitHub { src = fetchFromGitea {
# https://github.com/megous/linux domain = "codeberg.org";
owner = "megous"; owner = "megi";
repo = "linux"; repo = "linux";
# orange-pi-6.0 rev = "orange-pi-6.9-20240512-2332";
rev = "bb505b76761d1f196fc3e3948e756fc1583ff2e5"; hash = "sha256-6hWft1+EGdFZo4My1lsr2PkJBgOcoKrLYSgJSGrM/Z8=";
sha256 = "sha256-XOy011gGTxxof2syG5fk1xlpmUVvzTBMT98YfkNlD+s=";
}; };
patches = [ patches = [
./0001-dts-pinephone-Setup-default-on-and-panic-LEDs.patch ./0001-dts-pinephone-Setup-default-on-and-panic-LEDs.patch

View File

@ -386,8 +386,8 @@ in
PSTORE_LZ4_COMPRESS = no; PSTORE_LZ4_COMPRESS = no;
PSTORE_LZ4HC_COMPRESS = no; PSTORE_LZ4HC_COMPRESS = no;
PSTORE_842_COMPRESS = no; PSTORE_842_COMPRESS = no;
PSTORE_ZSTD_COMPRESS = whenAtLeast "4.19" yes; PSTORE_ZSTD_COMPRESS = whenBetween "4.19" "6.6" yes;
PSTORE_COMPRESS_DEFAULT = freeform ''"zstd"''; PSTORE_COMPRESS_DEFAULT = whenOlder "6.6" (freeform ''"zstd"'');
}) })
(helpers: with helpers; mkDefaultIze { (helpers: with helpers; mkDefaultIze {