Skip to content

linuxManualConfig: always depend on ubootTools#233394

Merged
Ericson2314 merged 1 commit intoNixOS:stagingfrom
alyssais:linux-uboot
May 22, 2023
Merged

linuxManualConfig: always depend on ubootTools#233394
Ericson2314 merged 1 commit intoNixOS:stagingfrom
alyssais:linux-uboot

Conversation

@alyssais
Copy link
Copy Markdown
Member

Description of changes

Since 41f788b ("linuxManualConfig: use the default make target"), we don't know ahead of time whether the kernel build will attempt to produce a uImage in addition to whatever we're expecting it to build. ubootTools is not a big dependency, so let's just always include it.

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.05 Release Notes (or backporting 22.11 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.

Since 41f788b ("linuxManualConfig: use the default make target"),
we don't know ahead of time whether the kernel build will attempt to
produce a uImage in addition to whatever we're expecting it to build.
ubootTools is not a big dependency, so let's just always include it.
@alyssais alyssais requested a review from Ericson2314 May 22, 2023 11:39
@github-actions github-actions bot added the 6.topic: kernel The Linux kernel label May 22, 2023
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. labels May 22, 2023
@Ericson2314 Ericson2314 merged commit c7ebac3 into NixOS:staging May 22, 2023
@Ericson2314
Copy link
Copy Markdown
Member

Idea makes sense to me.

@alyssais alyssais deleted the linux-uboot branch May 22, 2023 19:38
@github-actions
Copy link
Copy Markdown
Contributor

Backport failed for staging-23.05, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally.

git fetch origin staging-23.05
git worktree add -d .worktree/backport-233394-to-staging-23.05 origin/staging-23.05
cd .worktree/backport-233394-to-staging-23.05
git checkout -b backport-233394-to-staging-23.05
ancref=$(git merge-base 2a264a4a2070325921b13230b77620b175d2c559 e5e02f3214ae381142606cf5defc35888d73f883)
git cherry-pick -x $ancref..e5e02f3214ae381142606cf5defc35888d73f883

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: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants