mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
kernel: make get_config_version quiet
`get_config_version` should not log anything because it's used by functions that print a string as return value, hence its return value can be tainted, i.e `get_config_version`. fixes #867 Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
parent
01a6b6b82e
commit
bfe65e0dc5
@ -269,15 +269,14 @@ get_default_kernel_config() {
|
||||
|
||||
get_config_and_patches() {
|
||||
if [ -z "${patches_path}" ]; then
|
||||
info "Clone config and patches"
|
||||
patches_path="${default_patches_dir}"
|
||||
if [ ! -d "${patches_path}" ]; then
|
||||
tag="${kata_version}"
|
||||
git clone "https://${patches_repo}.git" "${patches_repo_dir}"
|
||||
git clone -q "https://${patches_repo}.git" "${patches_repo_dir}"
|
||||
pushd "${patches_repo_dir}" >> /dev/null
|
||||
if [ -n $tag ] ; then
|
||||
info "checking out $tag"
|
||||
git checkout $tag
|
||||
git checkout -q $tag
|
||||
fi
|
||||
popd >> /dev/null
|
||||
fi
|
||||
|
@ -1 +1 @@
|
||||
59
|
||||
60
|
||||
|
Loading…
Reference in New Issue
Block a user