From 9fb6df06d7db1287c123f2ed2356fcebf8d958e9 Mon Sep 17 00:00:00 2001 From: Adam Jafarov Date: Wed, 23 Nov 2022 11:15:44 +0300 Subject: [PATCH] Ditto --- airootfs/etc/holoinstall/post_install/install_holoiso.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/airootfs/etc/holoinstall/post_install/install_holoiso.sh b/airootfs/etc/holoinstall/post_install/install_holoiso.sh index 226522e..08f1e94 100644 --- a/airootfs/etc/holoinstall/post_install/install_holoiso.sh +++ b/airootfs/etc/holoinstall/post_install/install_holoiso.sh @@ -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)" \ No newline at end of file +echo "End time: $(date)"