This commit is contained in:
Adam Jafarov 2022-11-23 11:15:44 +03:00 committed by GitHub
parent 4c27144d4f
commit 9fb6df06d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,6 +167,7 @@ xargs -0 zenity --list --width=600 --height=512 --title="Select disk" --text="Se
e2label "${INSTALLDEVICE}${homePartNum}" holo-home
elif [[ "${HOME_REUSE_TYPE}" == "2" ]]; then
echo "Home partition will be reused at $(sudo blkid | grep holo-home | cut -d ':' -f 1 | head -n 1)"
home_partition="${INSTALLDEVICE}${homePartNum}"
fi
else
mkfs -t ext4 -O casefold ${INSTALLDEVICE}${homePartNum}
@ -213,6 +214,7 @@ base_os_install() {
${CMD_MOUNT_BOOT}
check_mount $? boot
if [ $home ]; then
mkdir -p ${HOLO_INSTALL_DIR}/home
mount -t ext4 ${home_partition} ${HOLO_INSTALL_DIR}/home
check_mount $? home
fi
@ -345,4 +347,4 @@ else
zenity --warning --text="Exiting installer..." --width=120 --height=50
fi
echo "End time: $(date)"
echo "End time: $(date)"