From d7c3f7b5b92730ca49cb924d3a16c802aeb0b399 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Mon, 22 May 2023 22:44:43 -0700 Subject: [PATCH] Update coreboot-configurator and nvramtool --- arch/coreboot-configurator/PKGBUILD | 4 ++-- arch/nvramtool-git/.gitignore | 2 ++ arch/nvramtool-git/PKGBUILD | 26 ++++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 arch/nvramtool-git/.gitignore create mode 100644 arch/nvramtool-git/PKGBUILD diff --git a/arch/coreboot-configurator/PKGBUILD b/arch/coreboot-configurator/PKGBUILD index ff03e15..fd5d327 100644 --- a/arch/coreboot-configurator/PKGBUILD +++ b/arch/coreboot-configurator/PKGBUILD @@ -1,13 +1,13 @@ # Maintainer: Alexander Rosenberg pkgname=coreboot-configurator -pkgver=51 +pkgver=54 pkgrel=1 pkgdesc="A simple GUI to change settings in coreboot's CBFS, via the nvramtool utility." url='https://github.com/StarLabsLtd/coreboot-configurator' arch=('x86_64') license=('GPL2') -depends=('coreboot-utils-git' 'yaml-cpp' 'meson' 'qt5-base' 'ninja') +depends=('nvramtool' 'yaml-cpp' 'meson' 'qt5-base' 'ninja') source=('git+https://github.com/StarLabsLtd/coreboot-configurator.git') sha256sums=('SKIP') diff --git a/arch/nvramtool-git/.gitignore b/arch/nvramtool-git/.gitignore new file mode 100644 index 0000000..8ca20f1 --- /dev/null +++ b/arch/nvramtool-git/.gitignore @@ -0,0 +1,2 @@ +coreboot/ +nvramtool-* diff --git a/arch/nvramtool-git/PKGBUILD b/arch/nvramtool-git/PKGBUILD new file mode 100644 index 0000000..6dfbed7 --- /dev/null +++ b/arch/nvramtool-git/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Alexander Rosenberg + +pkgname='nvramtool-git' +pkgver=52843 +pkgrel=1 +pkgdesc='Coreboot cli utility for modifying NVRAM' +url='https://coreboot.org' +arch=('x86_64') +license=('GPL2') +provides=('nvramtool') +source=('git+https://review.coreboot.org/coreboot.git') +sha256sums=('SKIP') + +pkgver(){ + cd "coreboot" + git rev-list --count HEAD +} + +build() { + cd "coreboot/util/nvramtool" + make +} + +package() { + install -Dt "$pkgdir/usr/bin/" "coreboot/util/nvramtool/nvramtool" +}