mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-15 13:58:55 +00:00
osbuilder: fix missing cpio package when building rootfs-initrd image
1. install cpio package before building rootfs-initrd image 2. add `pipefaili;errexit` check to the scripts Fixes: #3144 Signed-off-by: Binbin Zhang <binbin36520@gmail.com>
This commit is contained in:
@@ -4,9 +4,11 @@
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
set -e
|
||||
[ -z "${DEBUG}" ] || set -x
|
||||
|
||||
[ -n "$DEBUG" ] && set -x
|
||||
set -o errexit
|
||||
# set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
script_name="${0##*/}"
|
||||
script_dir="$(dirname $(readlink -f $0))"
|
||||
|
Reference in New Issue
Block a user