osbuilder: build rust agent by default

Since we only have the rust agent.

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
Peng Tao 2020-07-16 18:15:39 +08:00
parent 1bd5825955
commit dadab1febf
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ DISTRO := centos
BUILD_METHOD := distro BUILD_METHOD := distro
BUILD_METHOD_LIST := distro dracut BUILD_METHOD_LIST := distro dracut
AGENT_INIT ?= no AGENT_INIT ?= no
USE_DOCKER ?= true
ROOTFS_BUILD_DEST := $(shell pwd) ROOTFS_BUILD_DEST := $(shell pwd)
IMAGES_BUILD_DEST := $(shell pwd) IMAGES_BUILD_DEST := $(shell pwd)
ROOTFS_MARKER_SUFFIX := _rootfs.done ROOTFS_MARKER_SUFFIX := _rootfs.done

View File

@ -15,7 +15,7 @@ script_dir="$(dirname $(readlink -f $0))"
AGENT_VERSION=${AGENT_VERSION:-} AGENT_VERSION=${AGENT_VERSION:-}
GO_AGENT_PKG=${GO_AGENT_PKG:-github.com/kata-containers/agent} GO_AGENT_PKG=${GO_AGENT_PKG:-github.com/kata-containers/agent}
RUST_AGENT_PKG=${RUST_AGENT_PKG:-github.com/kata-containers/kata-containers} RUST_AGENT_PKG=${RUST_AGENT_PKG:-github.com/kata-containers/kata-containers}
RUST_AGENT=${RUST_AGENT:-no} RUST_AGENT=${RUST_AGENT:-yes}
RUST_VERSION="null" RUST_VERSION="null"
CMAKE_VERSION=${CMAKE_VERSION:-"null"} CMAKE_VERSION=${CMAKE_VERSION:-"null"}
MUSL_VERSION=${MUSL_VERSION:-"null"} MUSL_VERSION=${MUSL_VERSION:-"null"}