summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorДамјан Георгиевски2021-03-29 18:12:21 +0200
committerДамјан Георгиевски2021-03-29 18:16:06 +0200
commit96e968939c1c76842916596a99f3c4171ad82883 (patch)
tree7284a33d2723d4cd531d18ffe021148bb7e046c5
parent012f6056642c0d75742311738c310315e2270238 (diff)
downloadaur-firecracker-git.tar.gz
unattended install, epoch=1, versioning change
* firecracker tags are not on the master branch, so switch versioning to: "number of revisions since beginning of the history" * epoch=1, since the versioning scheme has changed * add flag for unattended install
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD10
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1139fb5352c..05fbb7a7365 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,8 @@
pkgbase = firecracker-git
pkgdesc = Secure and fast microVMs for serverless computing
- pkgver = v0.20.0.r4.g144b6c08
+ pkgver = r2700.dc893ea2
pkgrel = 1
+ epoch = 1
url = https://github.com/firecracker-microvm/firecracker
arch = x86_64
license = Apache:2.0
diff --git a/PKGBUILD b/PKGBUILD
index ae17c76680b..cb2e2efd243 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
pkgname=firecracker-git
_gitname=firecracker
-pkgver=v0.20.0.r4.g144b6c08
+pkgver=r2700.dc893ea2
pkgrel=1
+epoch=1
pkgdesc="Secure and fast microVMs for serverless computing"
url="https://github.com/firecracker-microvm/firecracker"
depends=()
@@ -13,15 +14,12 @@ sha256sums=('SKIP')
pkgver() {
cd ${_gitname}
- ( set -o pipefail
- git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- )
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd ${_gitname}
- tools/devtool build --release
+ tools/devtool --unattended build --release
}
package() {