mirror of
https://github.com/bhaiest/holoiso.git
synced 2024-11-13 23:02:30 +01:00
Ditto
This commit is contained in:
parent
4c27144d4f
commit
9fb6df06d7
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user