From b14d117a8923c3207738355d76fc71761201ff29 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Fri, 20 Apr 2018 11:15:45 +0100 Subject: [PATCH] image-builder: Fix incorrect error message Fixed an error message which was referring to an incorrect rootfs variable name. Signed-off-by: James O. D. Hunt --- image-builder/image_builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image-builder/image_builder.sh b/image-builder/image_builder.sh index c5d0ceb2f4..d484d40ccc 100755 --- a/image-builder/image_builder.sh +++ b/image-builder/image_builder.sh @@ -113,7 +113,7 @@ if [ -n "${USE_DOCKER}" ] ; then fi # The kata rootfs image expect init and kata-agent to be installed init="${ROOTFS}/sbin/init" -[ -x "${init}" ] || [ -L ${init} ] || die "/sbin/init is not installed in ${ROOTFS_DIR}" +[ -x "${init}" ] || [ -L ${init} ] || die "/sbin/init is not installed in ${ROOTFS}" OK "init is installed" [ "${AGENT_INIT}" == "yes" ] || [ -x "${ROOTFS}/usr/bin/${AGENT_BIN}" ] || \ die "/usr/bin/${AGENT_BIN} is not installed in ${ROOTFS}