mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-31 23:36:12 +00:00
initrd-builder: fix ROOTFS_DIR typo
It should be just ROOTFS. Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
parent
0736e06193
commit
56ab8c99fe
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user