From 2f24524ad57b58b7d075f1b67d43d6dd94f23d4c Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 24 Jan 2022 14:47:01 +0100 Subject: [PATCH] preliminary "support" for OpenCore bootloader --- ingredients/base-hypervisor-opencore.cfg | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ingredients/base-hypervisor-opencore.cfg diff --git a/ingredients/base-hypervisor-opencore.cfg b/ingredients/base-hypervisor-opencore.cfg new file mode 100644 index 0000000..14cda26 --- /dev/null +++ b/ingredients/base-hypervisor-opencore.cfg @@ -0,0 +1,14 @@ +# __ ____ ____ _____ +# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ +# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ +# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / +# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ +# /_/ /____/ + +# What ? This ingredient fetches the latest version of the OpenCore bootloader (https://github.com/acidanthera/OpenCorePkg) for Darwin-based guests, as built by the OSX-KVM project + +%post --nochroot --log=/mnt/sysimage/opt/base-hypervisor-opencore.log # Beginning of %post section. Those commands are executed outside the chroot environment. Logging is enabled to help with post-installation troubleshooting + +wget https://github.com/kholia/OSX-KVM/raw/master/OpenCore/OpenCore.qcow2 -P /mnt/sysimage/var/lib/libvirt/iso/ # command to fetch the OpenCore file distributed by OSX-KVM project and store it under the iso directory + +%end \ No newline at end of file