Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux_rpi: ignoreConfigErrors #375165

Merged
merged 1 commit into from
Jan 23, 2025
Merged

linux_rpi: ignoreConfigErrors #375165

merged 1 commit into from
Jan 23, 2025

Conversation

yuyuyureka
Copy link
Contributor

Since 37789d9 the ignoreConfigErrors is no longer enabled on aarch64, which fails the rpi kernel build

Change-Id: I1f9e21badf53fbfdcd3da561f7c398a353c4e9a9

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

Add a 👍 reaction to pull requests you find important.

Since 37789d9 the ignoreConfigErrors is
no longer enabled on aarch64, which fails the rpi kernel build

Change-Id: I1f9e21badf53fbfdcd3da561f7c398a353c4e9a9
@yuyuyureka yuyuyureka requested a review from alyssais January 19, 2025 21:59
@github-actions github-actions bot added 6.topic: kernel The Linux kernel 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Jan 19, 2025
@alyssais
Copy link
Member

Ack.

brianmcgillion added a commit to brianmcgillion/jetpack-nixos that referenced this pull request Jan 22, 2025
NixOS/nixpkgs#366004 introduced a change that
warns and errors out when modules are defined and not acutally set for a
particular target.

This patch rectifies that by going back the the previous method of
ignoring those errors and not breaking the build. Commentary is left
inline to explain the situation and possible future solutions.

tested against orin agx target for ghaf.

there are similar solutions being deployed in nixpkgs to work around
this e.g.

NixOS/nixpkgs#375165

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
@alyssais alyssais mentioned this pull request Jan 23, 2025
13 tasks
@K900 K900 merged commit d4e529a into NixOS:master Jan 23, 2025
25 of 27 checks passed
nvmd added a commit to nvmd/nixos-raspberrypi that referenced this pull request Jan 24, 2025
brianmcgillion added a commit to brianmcgillion/jetpack-nixos that referenced this pull request Feb 7, 2025
NixOS/nixpkgs#366004 introduced a change that
warns and errors out when modules are defined and not acutally set for a
particular target.

This patch rectifies that by going back the the previous method of
ignoring those errors and not breaking the build. Commentary is left
inline to explain the situation and possible future solutions.

tested against orin agx target for ghaf.

there are similar solutions being deployed in nixpkgs to work around
this e.g.

NixOS/nixpkgs#375165

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
danielfullmer pushed a commit to anduril/jetpack-nixos that referenced this pull request Feb 20, 2025
NixOS/nixpkgs#366004 introduced a change that
warns and errors out when modules are defined and not acutally set for a
particular target.

This patch rectifies that by going back the the previous method of
ignoring those errors and not breaking the build. Commentary is left
inline to explain the situation and possible future solutions.

tested against orin agx target for ghaf.

there are similar solutions being deployed in nixpkgs to work around
this e.g.

NixOS/nixpkgs#375165

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
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: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants