vboot-utils: use git instead of http downloads, has unstable checksums.
This commit is contained in:
parent
46a9ebd751
commit
267566d7c3
1 changed files with 8 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'vboot-utils'
|
||||
pkgname=vboot-utils
|
||||
version=44.7077
|
||||
_githash=ea71df260e9041dd5260425dae3d6f5412516b9b
|
||||
revision=2
|
||||
create_wrksrc=yes
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="pkg-config"
|
||||
hostmakedepends="pkg-config git"
|
||||
makedepends="libressl-devel libuuid-devel"
|
||||
short_desc="Verified boot kernel utilities"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
|
@ -15,6 +15,12 @@ checksum=67be2192c7db1e11d652a62d1472190764e336c758feb8db912b42d2cab70965
|
|||
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
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make CC="$CC" LD="$CC" AR="$AR" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" MINIMAL=1 ${makejobs} \
|
||||
cgpt utils futil
|
||||
|
|
Loading…
Reference in a new issue