patches and low-level development discussion
 help / color / mirror / code / Atom feed
d292fe2c54a4cb87780d01134064a332df99bd79 blob 1148 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
 
{ stdenv, lib, buildPackages, fetchFromGitiles, upstreamInfo, perl, buildLinux
, modDirVersionArg ? null
, ... } @ args:

let
  versionData = upstreamInfo.components."src/third_party/kernel/v5.4";
in

with lib;
with lib.kernel;

buildLinux (args // rec {
  inherit (versionData) version;

  # modDirVersion needs to be x.y.z, will automatically add .0 if needed
  modDirVersion =
    if modDirVersionArg == null
    then concatStringsSep "." (take 3 (splitVersion "${version}.0"))
    else modDirVersionArg;

  # branchVersion needs to be x.y
  extraMeta.branch = versions.majorMinor version;

  src = fetchFromGitiles { inherit (versionData) name url rev sha256; };

  updateScript = ../chromium-os/update.py;

  structuredExtraConfig = {
    # Enabling this (the default) caused a build failure.  If you can
    # archieve a successful build with this enabled, go ahead and
    # enable it.
    VIDEO_INTEL_IPU6 = no;

    # RTW88_8822*E were being selected as Y when N/m/? are the only valid options
    RTW88_8822BE = lib.mkForce no;
    RTW88_8822CE = lib.mkForce no;
  } // (args.structuredExtraConfig or {});
} // (args.argsOverride or {}))
debug log:

solving d292fe2c54a ...
found d292fe2c54a in https://spectrum-os.org/lists/archives/spectrum-devel/0100017891d36eab-b33cd88c-2b79-4848-8f7b-29cf7ea42e93-000000@email.amazonses.com/
found 789a9fb6fd2 in https://spectrum-os.org/git/nixpkgs
preparing index
index prepared:
100644 789a9fb6fd2a22e680616aadccc2650ccf4cf6d5	pkgs/os-specific/linux/kernel/linux-cros.nix

applying [1/1] https://spectrum-os.org/lists/archives/spectrum-devel/0100017891d36eab-b33cd88c-2b79-4848-8f7b-29cf7ea42e93-000000@email.amazonses.com/
diff --git a/pkgs/os-specific/linux/kernel/linux-cros.nix b/pkgs/os-specific/linux/kernel/linux-cros.nix
index 789a9fb6fd2..d292fe2c54a 100644

Checking patch pkgs/os-specific/linux/kernel/linux-cros.nix...
Applied patch pkgs/os-specific/linux/kernel/linux-cros.nix cleanly.

index at:
100644 d292fe2c54a4cb87780d01134064a332df99bd79	pkgs/os-specific/linux/kernel/linux-cros.nix

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).