New comment by Gottox on void-packages repository https://github.com/void-linux/void-packages/pull/28510#issuecomment-774159076 Comment: My suggestion to download tgz instead: ```diff diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template index aeab9dc8f9..1155e2cd6d 100644 --- a/srcpkgs/vboot-utils/template +++ b/srcpkgs/vboot-utils/template @@ -10,15 +10,14 @@ maintainer="Enno Boland " license="BSD-3-Clause" homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git" CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon' +distfiles="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git/+archive/refs/heads/release-R${version//./-}.B.tar.gz" +checksum=c95b86754bf59e7dd7a78953aeea939e367363c7c21a0fbe7cd1456c12e295a9 +create_wrksrc=yes case "$XBPS_TARGET_MACHINE" in aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;; esac -do_fetch() { - git clone -b release-R${version/./-}.B https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git $pkgname-$version -} - do_build() { local _arch= sed -i "s/MTD_CHAR_MAJOR/90/" cgpt/cgpt_wrapper.c ```