Package Details: opencore-efi 0.9.8-1

Git Clone URL: https://aur.archlinux.org/opencore-efi.git (read-only, click to copy)
Package Base: opencore-efi
Description: OpenCore bootloader to provide supplemental functionality for Apple-specific UEFI drivers
Upstream URL: https://github.com/acidanthera/OpenCorePkg
Keywords: opencore
Licenses: BSD
Submitter: monson
Maintainer: sovanyio
Last Packager: sovanyio
Votes: 0
Popularity: 0.000000
First Submitted: 2020-07-26 14:29 (UTC)
Last Updated: 2024-02-18 15:38 (UTC)

Pinned Comments

sovanyio commented on 2021-09-24 21:08 (UTC) (edited on 2021-09-25 20:20 (UTC) by sovanyio)

Updated to 0.7.3

I took ownership to enable signing OC with arch-managed SecureBoot keys. Here's a pacman hook to sign, obviously change your key location:

[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = opencore-efi

[Action]
Description = Signing OpenCore with Machine Owner Key for Secure Boot
When = PostTransaction
Exec = /usr/bin/find /boot/EFI/OC -maxdepth 2 -name '*.efi' -exec /usr/bin/sh -c 'if ! /usr/bin/sbverify --list {} 2>/dev/null | /usr/bin/grep -q "signature certificates"; then /usr/bin/sbsign --key /etc/efi-keys/MOK.key --cert /etc/efi-keys/MOK.crt --output {} {}; fi' ;

Depends = sbsigntools
Depends = grep

Latest Comments

sovanyio commented on 2021-09-24 21:08 (UTC) (edited on 2021-09-25 20:20 (UTC) by sovanyio)

Updated to 0.7.3

I took ownership to enable signing OC with arch-managed SecureBoot keys. Here's a pacman hook to sign, obviously change your key location:

[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = opencore-efi

[Action]
Description = Signing OpenCore with Machine Owner Key for Secure Boot
When = PostTransaction
Exec = /usr/bin/find /boot/EFI/OC -maxdepth 2 -name '*.efi' -exec /usr/bin/sh -c 'if ! /usr/bin/sbverify --list {} 2>/dev/null | /usr/bin/grep -q "signature certificates"; then /usr/bin/sbsign --key /etc/efi-keys/MOK.key --cert /etc/efi-keys/MOK.crt --output {} {}; fi' ;

Depends = sbsigntools
Depends = grep

gouster4 commented on 2021-04-12 17:17 (UTC) (edited on 2021-04-12 18:39 (UTC) by gouster4)

0.6.8 with architecture detection (it hopefully works, i didnt tested it on 32bit machine)

pkgname=opencore-efi
pkgver=0.6.8
pkgrel=1
_mode='RELEASE'
# _mode='DEBUG'
pkgdesc='OpenCore bootloader to provide supplemental functionality for Apple-specific UEFI drivers'
url='https://github.com/acidanthera/OpenCorePkg'
arch=('x86_64')
license=('BSD')
source=("https://github.com/acidanthera/OpenCorePkg/releases/download/$pkgver/OpenCore-$pkgver-$_mode.zip")
sha256sums=('SKIP')

package(){
MACHINE_TYPE=`uname -m`
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
archutecture=X64
else
archutecture=IA32
fi
  install -d "$pkgdir/boot/efi/EFI"
  cp -a "$srcdir/$archutecture/EFI/OC" "$pkgdir/boot/efi/EFI/"

  install -D "$srcdir/$archutecture/EFI/BOOT/BOOTx64.efi" "$pkgdir/usr/lib/$pkgname/EFI/BOOT/BOOTx64.efi"

  install -d "$pkgdir/usr/share/doc"
  cp -a "$srcdir/Docs" "$pkgdir/usr/share/doc/$pkgname"
}

timebomb commented on 2020-10-21 05:07 (UTC)

Below is the update to 0.6.2

pkgname=opencore-efi
pkgver=0.6.2
pkgrel=1
_mode='RELEASE'
# _mode='DEBUG'
pkgdesc='OpenCore bootloader to provide supplemental functionality for Apple-specific UEFI drivers'
url='https://github.com/acidanthera/OpenCorePkg'
arch=('x86_64')
license=('BSD')
source=("https://github.com/acidanthera/OpenCorePkg/releases/download/$pkgver/OpenCore-$pkgver-$_mode.zip")
sha256sums=('ff2fffd782b6671e560561f4c1e0cceee2b0ac0f7810ec8569f0e885f13a788f')

package(){
  install -d "$pkgdir/boot/EFI"
  cp -a "$srcdir/X64/EFI/OC" "$pkgdir/boot/EFI/"

  install -D "$srcdir/X64/EFI/BOOT/BOOTX64.efi" "$pkgdir/usr/lib/$pkgname/EFI/BOOT/BOOTX64.efi"

  install -d "$pkgdir/usr/share/doc"
  cp -a "$srcdir/Docs" "$pkgdir/usr/share/doc/$pkgname"
}