From daf457860f856f34631ae6cfe7db692a1b567170 Mon Sep 17 00:00:00 2001 From: wangguochun Date: Wed, 19 Jun 2024 15:35:24 +0800 Subject: [PATCH] fix file system type mount mismatches --- conf/common/custom/cfg_qcow2/lib/utils | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/common/custom/cfg_qcow2/lib/utils b/conf/common/custom/cfg_qcow2/lib/utils index 7e4f460..3735038 100644 --- a/conf/common/custom/cfg_qcow2/lib/utils +++ b/conf/common/custom/cfg_qcow2/lib/utils @@ -90,10 +90,10 @@ function create_env() { function mount_dir() { mkdir -p ${MOUNT_WORKSPACE_DIR}/sys ${MOUNT_WORKSPACE_DIR}/dev/pts ${MOUNT_WORKSPACE_DIR}/proc - mount -t proc none ${MOUNT_WORKSPACE_DIR}/sys + mount -t sysfs none ${MOUNT_WORKSPACE_DIR}/sys mount --bind /dev ${MOUNT_WORKSPACE_DIR}/dev mount --bind /dev/pts ${MOUNT_WORKSPACE_DIR}/dev/pts - mount -t sysfs none ${MOUNT_WORKSPACE_DIR}/proc + mount -t proc none ${MOUNT_WORKSPACE_DIR}/proc } function unmount_dir() { -- Gitee