mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-30 17:22:33 +00:00
rootfs-builder: add kmod package
Support for loading kernel modules got merged. kmod package is needed for loading kernel modules in the guest. fixes #341 Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
parent
87af599dd0
commit
495a92d2c3
@ -15,7 +15,7 @@ clr_url="https://download.clearlinux.org"
|
|||||||
|
|
||||||
BASE_URL="${clr_url}/releases/${OS_VERSION}/${REPO_NAME}/${ARCH}/os/"
|
BASE_URL="${clr_url}/releases/${OS_VERSION}/${REPO_NAME}/${ARCH}/os/"
|
||||||
|
|
||||||
PACKAGES="libudev0-shim"
|
PACKAGES="libudev0-shim kmod-bin"
|
||||||
|
|
||||||
#Optional packages:
|
#Optional packages:
|
||||||
# systemd: An init system that will start kata-agent if kata-agent
|
# systemd: An init system that will start kata-agent if kata-agent
|
||||||
|
@ -8,7 +8,7 @@ OS_VERSION=${OS_VERSION:-9.5}
|
|||||||
# Set OS_NAME to the desired debian "codename"
|
# Set OS_NAME to the desired debian "codename"
|
||||||
OS_NAME=${OS_NAME:-"stretch"}
|
OS_NAME=${OS_NAME:-"stretch"}
|
||||||
|
|
||||||
PACKAGES="systemd iptables init chrony"
|
PACKAGES="systemd iptables init chrony kmod"
|
||||||
|
|
||||||
# NOTE: Re-using ubuntu rootfs configuration, see 'ubuntu' folder for full content.
|
# NOTE: Re-using ubuntu rootfs configuration, see 'ubuntu' folder for full content.
|
||||||
source $script_dir/ubuntu/$CONFIG_SH
|
source $script_dir/ubuntu/$CONFIG_SH
|
||||||
|
@ -12,7 +12,7 @@ OS_VERSION=${OS_VERSION:-18.04}
|
|||||||
OS_NAME=${OS_NAME:-"bionic"}
|
OS_NAME=${OS_NAME:-"bionic"}
|
||||||
|
|
||||||
# packages to be installed by default
|
# packages to be installed by default
|
||||||
PACKAGES="systemd iptables init chrony"
|
PACKAGES="systemd iptables init chrony kmod"
|
||||||
|
|
||||||
DEBOOTSTRAP=${PACKAGE_MANAGER:-"debootstrap"}
|
DEBOOTSTRAP=${PACKAGE_MANAGER:-"debootstrap"}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user