mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-08 17:04:26 +01:00
If the rootfs is built with SECCOMP=yes environment variable then include libseccomp package inside the rootfs image. Else do not include it. Fixes: #155 Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
24 lines
602 B
Bash
24 lines
602 B
Bash
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
OS_NAME="Fedora"
|
|
|
|
OS_VERSION=${OS_VERSION:-28}
|
|
|
|
MIRROR_LIST="https://mirrors.fedoraproject.org/metalink?repo=fedora-${OS_VERSION}&arch=\$basearch"
|
|
|
|
PACKAGES="iptables"
|
|
|
|
#Optional packages:
|
|
# systemd: An init system that will start kata-agent if kata-agent
|
|
# itself is not configured as init process.
|
|
[ "$AGENT_INIT" == "no" ] && PACKAGES+=" systemd" || true
|
|
|
|
# Init process must be one of {systemd,kata-agent}
|
|
INIT_PROCESS=systemd
|
|
ARCH_EXCLUDE_LIST=()
|
|
|
|
[ "$SECCOMP" = "yes" ] && PACKAGES+=" libseccomp" || true
|