vboot-utils: update to 45.7262.
This commit is contained in:
parent
69af0c1559
commit
11d2ebd8c7
1 changed files with 13 additions and 15 deletions
|
@ -1,25 +1,18 @@
|
|||
# Template file for 'vboot-utils'
|
||||
pkgname=vboot-utils
|
||||
version=44.7077
|
||||
_githash=ea71df260e9041dd5260425dae3d6f5412516b9b
|
||||
revision=3
|
||||
version=45.7262
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="pkg-config git"
|
||||
makedepends="libressl-devel libuuid-devel"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libressl-devel libuuid-devel liblzma-devel libyaml-devel"
|
||||
short_desc="Verified boot kernel utilities"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
license="BSD"
|
||||
homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
|
||||
distfiles="$homepage/+archive/refs/heads/release-R${version//./-}.B.tar.gz"
|
||||
checksum=67be2192c7db1e11d652a62d1472190764e336c758feb8db912b42d2cab70965
|
||||
checksum=a4192cc71686ee453e7d82ed1e3802d66a4257f0c8253922ab368fd910071e60
|
||||
CFLAGS=-D_GNU_SOURCE
|
||||
make_install_args="MINIMAL=1"
|
||||
|
||||
do_fetch() {
|
||||
git clone https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git $pkgname-$version || true
|
||||
cd $pkgname-$version
|
||||
git checkout $_githash
|
||||
}
|
||||
create_wrksrc=yes
|
||||
|
||||
do_build() {
|
||||
local _arch=
|
||||
|
@ -28,11 +21,16 @@ do_build() {
|
|||
i686*) _arch=x86 ;;
|
||||
arm*) _arch=arm ;;
|
||||
esac
|
||||
make CC="$CC" LD="$CC" AR="$AR" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" MINIMAL=1 ARCH=$_arch ${makejobs} \
|
||||
make CC="$CC" LD="$CC" AR="$AR" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
||||
MINIMAL=1 ARCH=$_arch ${makejobs} \
|
||||
cgpt utils futil
|
||||
}
|
||||
|
||||
post_install() {
|
||||
do_install() {
|
||||
make STRIP=true DESTDIR=${DESTDIR}/usr install
|
||||
rm -r $DESTDIR/usr/lib/pkgconfig
|
||||
vmkdir etc
|
||||
vmkdir usr/share/vboot
|
||||
mv $DESTDIR/usr/default $DESTDIR/etc
|
||||
vcopy tests/devkeys usr/share/vboot/devkeys
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue