From 0e61eb215d1c66199cc64a07936ba5d56d416be8 Mon Sep 17 00:00:00 2001 From: mchtech Date: Wed, 26 Feb 2025 18:54:18 +0800 Subject: [PATCH] tools: initialize unbound variables in rootfs.sh Initialize unbound variables in rootfs.sh for RHEL series OS. Signed-off-by: mchtech --- tools/osbuilder/rootfs-builder/rootfs.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/osbuilder/rootfs-builder/rootfs.sh b/tools/osbuilder/rootfs-builder/rootfs.sh index 02e95f73d4..fabbba4ee6 100755 --- a/tools/osbuilder/rootfs-builder/rootfs.sh +++ b/tools/osbuilder/rootfs-builder/rootfs.sh @@ -35,6 +35,9 @@ AGENT_TARBALL=${AGENT_TARBALL:-""} COCO_GUEST_COMPONENTS_TARBALL=${COCO_GUEST_COMPONENTS_TARBALL:-""} CONFIDENTIAL_GUEST="${CONFIDENTIAL_GUEST:-no}" PAUSE_IMAGE_TARBALL=${PAUSE_IMAGE_TARBALL:-""} +DNF_CONF=${DNF_CONF:-""} +DISTRO_REPO=${DISTRO_REPO:-""} +PKG_MANAGER=${PKG_MANAGER:-""} lib_file="${script_dir}/../scripts/lib.sh" source "$lib_file"