Skip to content

[revert] edk2: 202405 -> 202402 - #325403

Merged
vcunat merged 1 commit into
NixOS:masterfrom
adamcstephens:edk2/fix
Jul 8, 2024
Merged

vcunat merged 1 commit into
NixOS:masterfrom
adamcstephens:edk2/fix

Conversation

@adamcstephens

@adamcstephens adamcstephens commented Jul 8, 2024 •

Copy link
Copy Markdown
Contributor

Description of changes

Revert #321143 as nixos boot tests are hanging and timing out.

Moving unvendor to postFetch added a dependency on openssl in the source fetching, meaning an openssl change causes a hash mismatch.

Added test to catch channel blocking, and verified update script from @mjoerg

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/)
  • 24.11 Release Notes (or backporting 23.11 and 24.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.

@adamcstephens adamcstephens mentioned this pull request Jul 8, 2024
@adamcstephens adamcstephens changed the title edk2: revert src change and use custom update script edk2: 202405 -> 202402 Jul 8, 2024
Revert NixOS#321143 as nixos boot tests are hanging and timing out.

Moving unvendor to postFetch added a dependency on openssl in the source fetching, meaning an openssl change causes a hash mismatch.
@adamcstephens adamcstephens changed the title edk2: 202405 -> 202402 [revert] edk2: 202405 -> 202402 Jul 8, 2024
@adamcstephens

adamcstephens commented Jul 8, 2024 •

Copy link
Copy Markdown
Contributor Author

x86
❯ nix-build -A edk2.passthru.tests
/nix/store/gj9gzh0w8830pkmv7ylzqak1gx8nc6zs-vm-test-run-boot-uefi-cdrom

aarch64
/nix/store/d9m5cpmk7bbfp81fm6i358b6p5ib3smg-vm-test-run-boot-uefi-cdrom

@ofborg
ofborg Bot requested a review from LunNova July 8, 2024 03:28
@ofborg ofborg Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jul 8, 2024
@mweinelt mweinelt added the 1.severity: channel blocker Blocks a channel label Jul 8, 2024
@LunNova

LunNova commented Jul 8, 2024

Copy link
Copy Markdown
Member

Result of nixpkgs-review pr 325403 run on x86_64-linux 1

2 packages failed to build:
  • quickemu
  • quickgui
10 packages built:
  • OVMF
  • OVMF-cloud-hypervisor
  • OVMF-cloud-hypervisor.fd
  • OVMF.fd
  • OVMFFull
  • OVMFFull.fd
  • edk2
  • edk2-uefi-shell
  • lxd-lts
  • multipass

@vcunat
vcunat merged commit 655f80c into NixOS:master Jul 8, 2024
@vcunat

vcunat commented Jul 8, 2024

Copy link
Copy Markdown
Member

The one-commit style didn't seem ideal, but I didn't want to delay the channel anymore. For easier understanding I dropped the whitespace change, so at least the output hash would be the same as with a pure revert.

@adamcstephens
adamcstephens deleted the edk2/fix branch July 8, 2024 11:43
@adamcstephens

Copy link
Copy Markdown
Contributor Author

yeah, sorry i should have split the test/update improvements into a separate commit. was just trying to get this (partially) reverted while also wanting to avoid this package being a blocker again.

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

Labels

1.severity: channel blocker Blocks a channel 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants