Merge pull request #9825 from microsoft/mahuber/main

osbuilder: allow rootfs builds w/o git or version file deps
This commit is contained in:
Aurélien Bombo
2024-07-02 09:38:13 -07:00
committed by GitHub
7 changed files with 23 additions and 18 deletions

View File

@@ -395,12 +395,6 @@ build_rootfs_distro()
mkdir -p ${ROOTFS_DIR}
fi
# need to detect rustc's version too?
detect_rust_version ||
die "Could not detect the required rust version for AGENT_VERSION='${AGENT_VERSION:-main}'."
echo "Required rust version: $RUST_VERSION"
if [ "${SELINUX}" == "yes" ]; then
if [ "${AGENT_INIT}" == "yes" ]; then
die "Guest SELinux with the agent init is not supported yet"