Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] vboot-utils: Add update check
@ 2021-02-05  8:58 the-maldridge
  2021-02-05  9:02 ` [PR PATCH] [Updated] " the-maldridge
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: the-maldridge @ 2021-02-05  8:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 598 bytes --]

There is a new pull request by the-maldridge against master on the void-packages repository

https://github.com/the-maldridge/void-packages vboot-update
https://github.com/void-linux/void-packages/pull/28510

vboot-utils: Add update check
Adds an update check that parses the git revision.  Also removes the need to keep track of a separate git hash.  Resolves complaint surfaced in #28507, but does not actually update the package as I have no time nor resources to test the functionality of this package.

A patch file from https://github.com/void-linux/void-packages/pull/28510.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vboot-update-28510.patch --]
[-- Type: text/x-diff, Size: 1608 bytes --]

From 6e52941cb44579fbc4131e6b4cd0761a5b5abdc7 Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@VoidLinux.org>
Date: Fri, 5 Feb 2021 00:56:53 -0800
Subject: [PATCH] vboot-utils: Add update check

---
 srcpkgs/vboot-utils/template | 5 +----
 srcpkgs/vboot-utils/update   | 3 +++
 2 files changed, 4 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/vboot-utils/update

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 46871f18f25..5723a9b0f94 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -3,7 +3,6 @@ pkgname=vboot-utils
 version=45.7262
 revision=13
 archs="x86_64* i686* aarch64* arm*"
-_githash=0e8c964915fffb58032bb59bdb31949de718ca90
 hostmakedepends="pkg-config git"
 makedepends="libressl-devel libuuid-devel liblzma-devel libyaml-devel"
 short_desc="Verified boot kernel utilities"
@@ -17,9 +16,7 @@ case "$XBPS_TARGET_MACHINE" in
 esac
 
 do_fetch() {
-	git clone https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git $pkgname-$version || true
-	cd $pkgname-$version
-	git checkout $_githash
+	git clone -b release-R${version/./-}.B https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git $pkgname-$version
 }
 
 do_build() {
diff --git a/srcpkgs/vboot-utils/update b/srcpkgs/vboot-utils/update
new file mode 100644
index 00000000000..e360ec80b5c
--- /dev/null
+++ b/srcpkgs/vboot-utils/update
@@ -0,0 +1,3 @@
+site="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git/+refs?format=TEXT"
+pattern='refs/heads/release-R\K[\d]+-[\d]+'
+version=${version//./-}

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2021-02-06  9:33 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-05  8:58 [PR PATCH] vboot-utils: Add update check the-maldridge
2021-02-05  9:02 ` [PR PATCH] [Updated] " the-maldridge
2021-02-05 10:16 ` [PR REVIEW] " Gottox
2021-02-05 10:17 ` Gottox
2021-02-05 11:26 ` fosslinux
2021-02-05 11:26 ` fosslinux
2021-02-05 13:33 ` ericonr
2021-02-05 16:44 ` Gottox
2021-02-05 16:45 ` Gottox
2021-02-05 16:47 ` Gottox
2021-02-05 17:02 ` Gottox
2021-02-05 17:40 ` [PR REVIEW] " ericonr
2021-02-05 17:45 ` Gottox
2021-02-05 22:23 ` fosslinux
2021-02-05 22:34 ` Gottox
2021-02-05 22:40 ` Johnnynator
2021-02-05 22:48 ` Gottox
2021-02-06  9:19 ` [PR PATCH] [Updated] " the-maldridge
2021-02-06  9:21 ` the-maldridge
2021-02-06  9:33 ` [PR PATCH] [Merged]: " the-maldridge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).