mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-07 16:34:28 +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>
9 lines
308 B
Bash
9 lines
308 B
Bash
# This is a configuration file add extra variables to
|
|
# be used by build_rootfs() from rootfs_lib.sh the variables will be
|
|
# loaded just before call the function. For more information see the
|
|
# rootfs-builder/README.md file.
|
|
|
|
OS_VERSION=${OS_VERSION:-DEFAULT_VERSION}
|
|
|
|
PACKAGES="systemd iptables udevlib.so"
|