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

raspberry-pi/4: dtmerge update #518

Merged
merged 1 commit into from
Dec 21, 2022
Merged

Conversation

carlossless
Copy link
Contributor

@carlossless carlossless commented Dec 17, 2022

Description of changes

Fixes the issue reported in #503 and updates the apply-overlays-dtmerge overlay with the nixpkgs changes made in NixOS/nixpkgs@916ca8f

Things done
  • Tested the changes in your own NixOS Configuration
  • Tested the changes end-to-end by using your fork of nixos-hardware and
    importing it via <nixos-hardware> or Flake input

mv "$dtb"{,.in}

# dtmerge requires a .dtbo ext for dtbo files, otherwise it adds it to the given file implicitly
dtboWithExt="/tmp/$(basename "${o.dtboFile}").dtbo"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure if this would be the most conventional approach to doing this.

@carlossless carlossless marked this pull request as ready for review December 17, 2022 11:56
@carlossless
Copy link
Contributor Author

CC: @Mic92 @06kellyjac

@Mic92
Copy link
Member

Mic92 commented Dec 19, 2022

Would this also work with current nixpkgs 22.11?

@carlossless
Copy link
Contributor Author

carlossless commented Dec 19, 2022

@Mic92 underlying issue failed both on 22.05 and 22.11.

I tested the fix only on 22.11 and it worked fine, but now that you mentioned it, I did go back to trying 22.05 and the derivation was failing.

The adjustment I just made should fix that. I tested 22.05 and 22.11 against it.

@Mic92
Copy link
Member

Mic92 commented Dec 21, 2022

bors merge

bors bot added a commit that referenced this pull request Dec 21, 2022
518: raspberry-pi/4: dtmerge update r=Mic92 a=carlossless



Co-authored-by: Karolis Stasaitis <[email protected]>
@Mic92
Copy link
Member

Mic92 commented Dec 21, 2022

borse abort

@Mic92
Copy link
Member

Mic92 commented Dec 21, 2022

bors cancel

@bors
Copy link
Contributor

bors bot commented Dec 21, 2022

Canceled.

Co-authored-by: Jörg Thalheim <[email protected]>
@Mic92
Copy link
Member

Mic92 commented Dec 21, 2022

bors merge

@bors
Copy link
Contributor

bors bot commented Dec 21, 2022

Build succeeded:

  • tests

@bors bors bot merged commit 9577ab1 into NixOS:master Dec 21, 2022
@carlossless carlossless deleted the rpi4/dtmerge branch December 22, 2022 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants