Files
kata-containers/tools/osbuilder/rootfs-builder/alpine/config.sh
Fabiano Fidêncio 1c365ae6a7 tools: Fix shellcheck issues in config.sh
Fix shellcheck warnings and notes identified by running
shellcheck --severity=style.

Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
2026-04-24 08:14:08 +02:00

32 lines
776 B
Bash

#!/usr/bin/env bash
#
# Copyright (c) 2018 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
# shellcheck disable=SC2034
OS_NAME="Alpine"
OS_VERSION=${OS_VERSION:-3.18}
# shellcheck disable=SC2034
BASE_PACKAGES="alpine-base"
# Alpine mirror to use
# See a list of mirrors at http://nl.alpinelinux.org/alpine/MIRRORS.txt
# shellcheck disable=SC2034
MIRROR=http://dl-cdn.alpinelinux.org/alpine/
PACKAGES="bash iptables ip6tables"
# Init process must be one of {systemd,kata-agent}
# shellcheck disable=SC2034
INIT_PROCESS=kata-agent
# List of zero or more architectures to exclude from build,
# as reported by `uname -m`
# shellcheck disable=SC2034
ARCH_EXCLUDE_LIST=()
# shellcheck disable=SC2154
if [[ "${SECCOMP}" = "yes" ]]; then PACKAGES+=" libseccomp"; fi