mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-12 14:48:13 +00:00
obs: image: Fix to use new image tarball name.
The image name changed fix to allow obs build. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
bb889a464d
commit
0c7b2a82c3
@ -49,9 +49,16 @@ replace_list=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
verify
|
verify
|
||||||
|
rm -rf kata-containers.tar.gz
|
||||||
|
image_tarball=$(find . -name 'kata-containers-'"${VERSION}"'-*.tar.gz')
|
||||||
|
[ -f "${image_tarball}" ] || die "image not found"
|
||||||
|
cp "${image_tarball}" kata-containers.tar.gz
|
||||||
|
|
||||||
check_image
|
check_image
|
||||||
echo "Verify succeed."
|
echo "Verify succeed."
|
||||||
get_git_info
|
get_git_info
|
||||||
|
#TODO delete me: used by changelog_update
|
||||||
|
hash_tag="nocommit"
|
||||||
changelog_update $VERSION
|
changelog_update $VERSION
|
||||||
generate_files "$SCRIPT_DIR" "${replace_list[@]}"
|
generate_files "$SCRIPT_DIR" "${replace_list[@]}"
|
||||||
build_pkg "${PROJECT_REPO}"
|
build_pkg "${PROJECT_REPO}"
|
||||||
|
Loading…
Reference in New Issue
Block a user