Age | Commit message (Collapse) | Author |
|
Smoke tested in qemu.
|
|
AFAICT OVMF runs on all EDK II platforms.
|
|
This fixes eval of the ZFS NixOS tests on i686.
Fixes: 22b6f785a7a ("nixos/tests/zfs: Represent real world usage better")
|
|
ZHF #199919
|
|
|
|
|
|
|
|
|
|
Fix build.
|
|
|
|
|
|
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In order to use OVMF firmware with e.g. qemu on macOS, these packages
needed to be made macOS ready. This meant choosing the clang build in
this case, because it is the only one working on macOS.
Unfortunately, just using clang on all platforms doesn't work because
there are hardcoded assumptions in the edk2 build system.
|
|
|
|
That is because this commit should be merged to both master and
release-19.09.
|
|
|
|
* Move to stable version;
* Refactor `setup` to `mkDerivation`;
* Use flags instead of `sed`;
* Support Secure Boot builds.
|
|
Tianocore was apparently moved from SourceForge to GitHub.
|
|
And also build in parallel.
I don't understand why we manually tediously link every single directory
from the source, but I don't want to investigate too much.
|
|
- Use 'somePkg == null' instead of 'somePkg == false' which is more
conventional in rest of Nixpkgs
- Use lib.optionalString where applicable
|
|
|
|
No functional change, but allows getting the source via the standard
attribute: `nix-build -A OVMF.src`.
|
|
|
|
$fd for the output was overwritten during the build
|
|
OVMF{,CODE,VARS}.fd are now available in a dedicated fd output, greatly
reducing the closure in the common case where only those files are used (a
few MBs versus several hundred MBs for the full OVMF).
Note: it's unclear why `dontPatchELF` is now necessary for the build to
pass (on my end, at any rate) but it doesn't make much sense to run this
fixup anyway,
Note: my reading of xen's INSTALL suggests that --with-system-ovmf should
point directly to the OVMF binary. As such, the previous invocation was
incorrect (it pointed to the root of the OVMF tree). In any case, I have
only built xen with `--with-system-ovmf`, I have not tested it.
Fixes https://github.com/NixOS/nixpkgs/issues/25854
Closes https://github.com/NixOS/nixpkgs/pull/25855
|
|
OVMF is built from edk2 sources so that's where its version number comes
from (logically). The edk2 version number is 2014-12-10, so this change
only ensures the version numbers won't drift apart in the future. (There
is no hash change.)
|
|
The following parameters are now available:
* hardeningDisable
To disable specific hardening flags
* hardeningEnable
To enable specific hardening flags
Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.
cc-wrapper supports the following flags:
* fortify
* stackprotector
* pie (disabled by default)
* pic
* strictoverflow
* format
* relro
* bindnow
|
|
|
|
This reverts commit 0abe34e4543125f62ef3335fb3bc065e2df996db.
|
|
|
|
|
|
The Nixos Qemu VM that are used for VM tests can now start without
boot menu even when using a bootloader.
The Nixos Qemu VM with bootloader can emulate a EFI boot now.
|
|
|
|
|
|
Signed-off-by: Shea Levy <shea@shealevy.com>
|
|
Signed-off-by: Shea Levy <shea@shealevy.com>
|
|
svn path=/nixpkgs/trunk/; revision=33090
|
|
svn path=/nixpkgs/trunk/; revision=33060
|
|
modularization, and add OVMF as an example of how to use it
svn path=/nixpkgs/trunk/; revision=33059
|