From 56ab8c99fe4ac4b5d186a9fa4264afd577487d8b Mon Sep 17 00:00:00 2001 From: Peng Tao Date: Thu, 22 Mar 2018 23:18:07 +0800 Subject: [PATCH] initrd-builder: fix ROOTFS_DIR typo It should be just ROOTFS. Signed-off-by: Peng Tao --- initrd-builder/initrd_builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initrd-builder/initrd_builder.sh b/initrd-builder/initrd_builder.sh index a0bbc15d87..3cb25a531a 100755 --- a/initrd-builder/initrd_builder.sh +++ b/initrd-builder/initrd_builder.sh @@ -85,7 +85,7 @@ IMAGE_NAME=$(basename ${INITRD_IMAGE}) # The kata rootfs image expects init 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}