[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/12: gnu: Add ovmf-i686.
From: |
guix-commits |
Subject: |
05/12: gnu: Add ovmf-i686. |
Date: |
Mon, 27 May 2024 03:27:16 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 2a45000102f5e9add6f6d47e4d460c40701cc9c9
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Apr 30 16:26:29 2024 +0300
gnu: Add ovmf-i686.
* gnu/packages/firmware.scm (ovmf-i686): New variable.
Change-Id: Ie5702435695e24ed1d2731152a89b0aeb9a050dd
---
gnu/packages/firmware.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index ea3654f01d..bd7b8f9026 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -1016,6 +1016,28 @@ Virtual Machines. OVMF contains a sample UEFI firmware
for QEMU and KVM.")
"OVMF_CODE"
"OVMF_VARS"))))))))))))
+(define-public ovmf-i686
+ (let ((base (make-ovmf-firmware "i686")))
+ (package
+ (inherit base)
+ (arguments
+ (substitute-keyword-arguments (package-arguments base)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'install
+ (lambda _
+ (let ((fmw (string-append #$output "/share/firmware")))
+ (mkdir-p fmw)
+ (for-each
+ (lambda (file)
+ (copy-file
+ (string-append "Build/OvmfIa32/RELEASE_GCC"
+ "/FV/" file ".fd")
+ (string-append fmw "/" (string-downcase file)
"_ia32.bin")))
+ (list "OVMF"
+ "OVMF_CODE"
+ "OVMF_VARS"))))))))))))
+
(define-public ovmf
(let ((toolchain-ver "GCC5"))
(package
- branch master updated (a3e5caa222 -> 4c39f6edeb), guix-commits, 2024/05/27
- 07/12: gnu: ovmf-arm: Update to 202402., guix-commits, 2024/05/27
- 04/12: gnu: Add ovmf-x86-64., guix-commits, 2024/05/27
- 01/12: gnu: e2fsprogs: Downgrade to 1.46.6., guix-commits, 2024/05/27
- 12/12: tests: install: Use a default qemu machine for arm architectures., guix-commits, 2024/05/27
- 06/12: gnu: ovmf-aarch64: Update to 202402., guix-commits, 2024/05/27
- 02/12: gnu: edk2-tools: Update to 202402., guix-commits, 2024/05/27
- 03/12: gnu: edk2-tools: Enable submodules., guix-commits, 2024/05/27
- 08/12: gnu: ovmf-riscv64: Update to 202402., guix-commits, 2024/05/27
- 11/12: gnu: ovmf: Deprecate in favor of ovmf-x86-64., guix-commits, 2024/05/27
- 05/12: gnu: Add ovmf-i686.,
guix-commits <=
- 09/12: gnu: Use new ovmf firmware packages., guix-commits, 2024/05/27
- 10/12: tests: install: Add support for aarch64 UEFI tests., guix-commits, 2024/05/27