Skip to content

edk2: fix hash - #325267

Closed
superherointj wants to merge 3 commits into
NixOS:masterfrom
superherointj:edk2-fix-hash
Closed

superherointj wants to merge 3 commits into
NixOS:masterfrom
superherointj:edk2-fix-hash

Conversation

@superherointj

Copy link
Copy Markdown
Contributor

@superherointj superherointj mentioned this pull request Jul 7, 2024
1 of 13 tasks
@superherointj
superherointj requested a review from Mic92 July 7, 2024 14:13
@superherointj

superherointj commented Jul 7, 2024 •

Copy link
Copy Markdown
Contributor Author

Result of nixpkgs-review pr 325267 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

ceph being broken breaks quickemu, quickgui. I have proposed the ceph fix already at #325059

image

image

@superherointj superherointj mentioned this pull request Jul 7, 2024
@superherointj
superherointj requested a review from mjoerg July 7, 2024 15:07
@ofborg
ofborg Bot requested a review from LunNova July 7, 2024 15:25
@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 7, 2024
@vcunat vcunat added the 1.severity: channel blocker Blocks a channel label Jul 7, 2024
Comment thread pkgs/by-name/ed/edk2/package.nix Resolved
@superherointj
superherointj marked this pull request as draft July 7, 2024 15:48
using postFetch in a fixed-ouput derivation is unsound because it will
break on each openssl update
@Mic92

Mic92 commented Jul 7, 2024 •

Copy link
Copy Markdown
Member

Sorry for the reformat commit but the original formatting was not very readable with the missing indentation around the let.

@RaitoBezarius

Copy link
Copy Markdown
Member

So is OVMF using the debundled OpenSSL?

@adamcstephens

adamcstephens commented Jul 7, 2024 •

Copy link
Copy Markdown
Contributor

So is OVMF using the debundled OpenSSL?

Yes, this appears to be a revert of the non-upgrade changes from my PR, so removal of bundled openssl is a postPatch again

@ofborg
ofborg Bot requested a review from adamcstephens July 7, 2024 17:40
@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jul 7, 2024
@vcunat

vcunat commented Jul 7, 2024

Copy link
Copy Markdown
Member

Has anyone tried nixosTests.boot.uefiUsb? (I might have some issues here)
@ofborg build nixosTests.boot.uefiUsb

@mjoerg mjoerg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this still uses the bundled OpenSSL version in edk2.mkDerivation. I gave it a try, and added a custom updateScript: https://github.com/mjoerg/nixpkgs/commit/edk2-fix-hash/

@superherointj

Copy link
Copy Markdown
Contributor Author

Has anyone tried nixosTests.boot.uefiUsb? (I might have some issues here) @ofborg build nixosTests.boot.uefiUsb

At master:

image

At superherointj:edk2-fix-hash:

image

timeout reached; test terminating...

@adamcstephens adamcstephens left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changing review as this does not properly devendor OpenSSL for edk2.mkDerivation which is a requirement.

@adamcstephens adamcstephens mentioned this pull request Jul 8, 2024
2 of 13 tasks
@adamcstephens

Copy link
Copy Markdown
Contributor

There was a bit too much going on here, so I opened #325403 which is more of a direct revert back to the previous state.

@superherointj
superherointj deleted the edk2-fix-hash branch July 8, 2024 07:20
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. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants