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'
|
# Template file for 'vboot-utils'
|
||||||
pkgname=vboot-utils
|
pkgname=vboot-utils
|
||||||
version=44.7077
|
version=45.7262
|
||||||
_githash=ea71df260e9041dd5260425dae3d6f5412516b9b
|
revision=1
|
||||||
revision=3
|
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="pkg-config git"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libressl-devel libuuid-devel"
|
makedepends="libressl-devel libuuid-devel liblzma-devel libyaml-devel"
|
||||||
short_desc="Verified boot kernel utilities"
|
short_desc="Verified boot kernel utilities"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
|
homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
|
||||||
distfiles="$homepage/+archive/refs/heads/release-R${version//./-}.B.tar.gz"
|
distfiles="$homepage/+archive/refs/heads/release-R${version//./-}.B.tar.gz"
|
||||||
checksum=67be2192c7db1e11d652a62d1472190764e336c758feb8db912b42d2cab70965
|
checksum=a4192cc71686ee453e7d82ed1e3802d66a4257f0c8253922ab368fd910071e60
|
||||||
CFLAGS=-D_GNU_SOURCE
|
CFLAGS=-D_GNU_SOURCE
|
||||||
make_install_args="MINIMAL=1"
|
create_wrksrc=yes
|
||||||
|
|
||||||
do_fetch() {
|
|
||||||
git clone https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git $pkgname-$version || true
|
|
||||||
cd $pkgname-$version
|
|
||||||
git checkout $_githash
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
local _arch=
|
local _arch=
|
||||||
|
@ -28,11 +21,16 @@ do_build() {
|
||||||
i686*) _arch=x86 ;;
|
i686*) _arch=x86 ;;
|
||||||
arm*) _arch=arm ;;
|
arm*) _arch=arm ;;
|
||||||
esac
|
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
|
cgpt utils futil
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
do_install() {
|
||||||
|
make STRIP=true DESTDIR=${DESTDIR}/usr install
|
||||||
rm -r $DESTDIR/usr/lib/pkgconfig
|
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
|
vcopy tests/devkeys usr/share/vboot/devkeys
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue