mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
Add a logs to debug actions easily Fixes: #157 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
19 lines
290 B
Bash
Executable File
19 lines
290 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) 2019 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
set -o errexit
|
|
set -o pipefail
|
|
|
|
pushd kata-artifacts >>/dev/null
|
|
for c in ./*.tar.gz
|
|
do
|
|
echo "untarring tarball $c"
|
|
tar -xvf $c
|
|
done
|
|
|
|
tar cvfJ ../kata-static.tar.xz ./opt
|
|
popd >>/dev/null
|