From 98dc2d4c52a8fe3bc9549e7276dac73e381bdaf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 26 Jan 2024 19:56:05 +0100 Subject: [PATCH] rootfs: agent: Initialise AGENT_SOURCE_BIN & AGENT_TARBALL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise those would be unbound if not passed. Signed-off-by: Fabiano FidĂȘncio --- tools/osbuilder/rootfs-builder/rootfs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/osbuilder/rootfs-builder/rootfs.sh b/tools/osbuilder/rootfs-builder/rootfs.sh index 4ac960ebf2..999189ab39 100755 --- a/tools/osbuilder/rootfs-builder/rootfs.sh +++ b/tools/osbuilder/rootfs-builder/rootfs.sh @@ -28,6 +28,8 @@ LIBC=${LIBC:-musl} SECCOMP=${SECCOMP:-"yes"} SELINUX=${SELINUX:-"no"} AGENT_POLICY=${AGENT_POLICY:-no} +AGENT_SOURCE_BIN=${AGENT_SOURCE_BIN:-""} +AGENT_TARBALL=${AGENT_TARBALL:-""} COCO_GUEST_COMPONENTS_TARBALL=${COCO_GUEST_COMPONENTS_TARBALL:-""} lib_file="${script_dir}/../scripts/lib.sh"