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

system76-firmware: remove aarch64-linux support #116108

Merged
merged 1 commit into from Mar 26, 2021
Merged

system76-firmware: remove aarch64-linux support #116108

merged 1 commit into from Mar 26, 2021

Conversation

superherointj
Copy link
Contributor

@superherointj superherointj commented Mar 12, 2021

Motivation for this change

Package "system76-firmware" build in aarch64 is failing:
https://hydra.nixos.org/build/138891792#tabs-summary
https://hydra.nixos.org/build/138891792/nixlog/2

But it doesn't make sense on ARM because it's for installing firmware updates on System76 machines which are x86/amd64.
As it is broken now in aarch64 and cluttering build pipeline seems desirable to limit it to i386/amd64.
A PR with a fix for aarch64 can reverse this.
Tried to reach upstream on IRC but I could only talk to community member buzel that agreed on this approach.

Took the opportunity for a minor clean-up.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.shlevy ];
platforms = lib.platforms.linux;
license = licenses.gpl3;
Copy link
Member

Choose a reason for hiding this comment

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

gpl3Only or gpl3Plus?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure. Don't have much experience with licenses. Here it is:
https://github.com/pop-os/system76-firmware/blob/master/LICENSE
What do you think?

Copy link
Member

Choose a reason for hiding this comment

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

It does not mention later anywhere so it is gpl3Only.

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 have changed license to gpl3Only.

@SuperSandro2000
Copy link
Member

I think it was just set to linux without thinking about the arch to much.

@SuperSandro2000 SuperSandro2000 merged commit a9b3e26 into NixOS:master Mar 26, 2021
@superherointj superherointj deleted the package-system76-firmware branch June 23, 2021 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants