mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-07 08:24:23 +01:00
pkglib: change short commit length
change short commit length to be the same to OBS. Now that runtime has a strict depedency version from packages. Like qemu-lite: Now: qemu-lite = 2.11.0+git.87517af Before: qemu-lite >= 2.11.0+git.87517af The rpm fails because the real package version of qemu lite is 2.11.0+git.87517afd72 The commit length comes from the format of OBS '%h' This change the shortcommit length to be the same to OBS and runtime dependencies and packages that include git commit as version use the same format. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
@@ -26,7 +26,7 @@ VERBOSE=false
|
||||
# package was compiled for.
|
||||
DEB_ARCH="$(go env GOARCH)"
|
||||
|
||||
short_commit_length=7
|
||||
short_commit_length=10
|
||||
|
||||
if command -v go; then
|
||||
export GO_ARCH=$(go env GOARCH)
|
||||
|
||||
Reference in New Issue
Block a user