mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-26 17:54:24 +01:00
This patch introduces a bash library (scripts/lib.sh) that concentrates common functions. This also enhances future additions of other OSes, making it more simple. Also, new variables were introduced in each distro config.sh in order to parameterise the creation of package manager config (dnf/yum, in this case). A fix to the resulting rootfs directory name (include OS name) is also fixed in this patch. Fixes #39 Fixes #34 Signed-off-by: Erick Cardona <erick.cardona.ruiz@intel.com>
19 lines
397 B
Bash
19 lines
397 B
Bash
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
OS_NAME="Alpine"
|
|
|
|
OS_VERSION=${OS_VERSION:-v3.7}
|
|
|
|
BASE_PACKAGES="alpine-base"
|
|
|
|
# Alpine mirror to use
|
|
# See a list of mirrors at http://nl.alpinelinux.org/alpine/MIRRORS.txt
|
|
MIRROR=http://dl-5.alpinelinux.org/alpine
|
|
|
|
# Mandatory Packages that must be installed
|
|
# - iptables: Need by Kata agent
|
|
PACKAGES="iptables"
|