lib.sh: Pass right parameters to build image

Creating Kata packages fails
due to "Makefile:58: *** target pattern
contains no '%'.  Stop" error. Fix it.

Fixes: #539 

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
This commit is contained in:
nitkon 2019-05-24 17:02:23 +05:30 committed by GitHub
parent 829fd44aaa
commit 3d0b60fefd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,10 +42,8 @@ get_from_kata_deps() {
# repository will pass the kernel version as an override to this function to
# allow testing of kernels before they land in tree.
if ${CI}; then
info "Sourcing versions from local file found in runtime repository"
versions_file="${GOPATH}/src/${runtime_repo}/versions.yaml"
else
info "Sourcing versions from github ${branch} branch"
versions_file="versions-${branch}.yaml"
fi
if [ ! -e "${versions_file}" ]; then