Skip to content

Comments

linuxKernel.kernels.linux_rpi4,linuxKernel.kernels.linux_rpi3,linuxKernel.kernels.linux_rpi2,linuxKernel.kernels.linux_rpi1: Disable KUNIT when building the Raspberry Pi kernel#239633

Closed
ReneHollander wants to merge 1 commit intoNixOS:masterfrom
ReneHollander:patch-2

Conversation

@ReneHollander
Copy link
Contributor

Description of changes

See comment in code for details.

This is stolen from the great work of @tstat: https://github.com/tstat/raspberry-pi-nix/blob/24f5b92db86a01f5bda2e117726f5a0e39b0ec97/overlay/default.nix#L86-L105

Sending this change to upstream it to avoid recompiling the whole Kernel on my poor Pi.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@github-actions github-actions bot added the 6.topic: kernel The Linux kernel label Jun 24, 2023
@ReneHollander ReneHollander changed the title Disable KUNIT when building the Raspberry Pi kernel linux_rpi: Disable KUNIT when building the Raspberry Pi kernel Jun 24, 2023
@ReneHollander ReneHollander force-pushed the patch-2 branch 2 times, most recently from 85849ba to 937f82a Compare June 24, 2023 20:36
@ReneHollander ReneHollander changed the title linux_rpi: Disable KUNIT when building the Raspberry Pi kernel linuxKernel.kernels.linux_rpi4,linuxKernel.kernels.linux_rpi3,linuxKernel.kernels.linux_rpi2,linuxKernel.kernels.linux_rpi1: Disable KUNIT when building the Raspberry Pi kernel Jun 24, 2023
@ReneHollander
Copy link
Contributor Author

@lovesegfault, can you take a look?

@ReneHollander ReneHollander force-pushed the patch-2 branch 2 times, most recently from a3952f9 to 8c7a74d Compare July 23, 2023 10:45
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jul 23, 2023
@yu-re-ka
Copy link
Contributor

yu-re-ka commented Aug 9, 2023

See #247826

Maybe can you retarget this to nixos 23.05, since a raspberry pi kernel specific change would be welcome there (to not risk causing regressions in other kernels)

@ReneHollander
Copy link
Contributor Author

Obsolete since #247826

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: kernel The Linux kernel 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants