~amjoseph/ownerboot

34446da6dd3abbb7c52ddf5cbeac5cb35e8d2de0 — Adam Joseph a month ago 1632997
Revert "am1i: roll back to kernel 5.10.x temporarily"

This reverts commit 61416b811aff3fd3d2c4186db4ff879aa38b548a.
1 files changed, 5 insertions(+), 15 deletions(-)

M src/platform/am1i/default.nix
M src/platform/am1i/default.nix => src/platform/am1i/default.nix +5 -15
@@ 11,21 11,11 @@
      final.lib.makeOverridable (prev.kernel.override {
        config = ./linux.config;
        buildTargets = [ "bzImage" ];
      }).overrideAttrs (previousAttrs:
        let
          # held back temporarily because kernel 6.6.x push slightly past the
          # 8mbyte mark
          version = "5.10.148";
        in {
          inherit version;
          src = final.nixpkgsOnBuildForBuild.fetchurl {
            url = "mirror://kernel/linux/kernel/v${lib.versions.major version}.x/linux-${version}.tar.xz";
            hash = "sha256-ElI/a+IhBnCU7FQbGWvOcEk/f0TwMbPEcR2C4pDG6VY=";
          };
          postInstall = (previousAttrs.postInstall or "") + ''
            cp arch/x86_64/boot/bzImage $out/
          '';
        });
      }).overrideAttrs (a: {
        postInstall = (a.postInstall or "") + ''
          cp arch/x86_64/boot/bzImage $out/
        '';
      });

    console-device = "ttyS1";