mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 11:31:05 +00:00
We're moving away from alpine and using ubuntu in order to be able to build the agent for all the architectures we need. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
23 lines
670 B
Bash
Executable File
23 lines
670 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) 2024 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
[ -z "${DEBUG}" ] || set -x
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
set -o errtrace
|
|
|
|
script_dir=$(dirname "$(readlink -f "$0")")
|
|
install_libseccomp_script_src="${script_dir}/../../../../ci/install_libseccomp.sh"
|
|
install_libseccomp_script_dest="${script_dir}/../../static-build/agent/install_libseccomp.sh"
|
|
|
|
cp "${install_libseccomp_script_src}" "${install_libseccomp_script_dest}"
|
|
|
|
# We don't have to import any other file, as we're passing
|
|
# the env vars needed for installing libseccomp and gperf.
|
|
sed -i -e '/^source.*$/d' ${install_libseccomp_script_dest}
|