Small fixes for HFS formatted drive creation in easyinstall (#511)

* More descriptive messages for creating drive images

* Revert back to using hda file extension for created drives
This commit is contained in:
Daniel Markstedt 2021-12-08 15:59:17 -08:00 committed by GitHub
parent 824a9c5ecd
commit 8f1cc95195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -460,7 +460,7 @@ function createDrive() {
driveSize=$1 driveSize=$1
driveName=$2 driveName=$2
mkdir -p "$VIRTUAL_DRIVER_PATH" mkdir -p "$VIRTUAL_DRIVER_PATH"
drivePath="${VIRTUAL_DRIVER_PATH}/${driveSize}MB.hds" drivePath="${VIRTUAL_DRIVER_PATH}/${driveSize}MB.hda"
if [ ! -f "$drivePath" ]; then if [ ! -f "$drivePath" ]; then
echo "Creating a ${driveSize}MB Drive" echo "Creating a ${driveSize}MB Drive"
@ -812,14 +812,14 @@ function runChoice() {
echo "Installing / Updating RaSCSI OLED Screen - Complete!" echo "Installing / Updating RaSCSI OLED Screen - Complete!"
;; ;;
4) 4)
echo "Creating a 600MB drive" echo "Creating an HFS formatted 600MB drive image with LIDO driver"
createDrive600MB createDrive600MB
echo "Creating a 600MB drive - Complete!" echo "Creating an HFS formatted 600MB drive image with LIDO driver - Complete!"
;; ;;
5) 5)
echo "Creating a custom drive" echo "Creating an HFS formatted drive image with LIDO driver"
createDriveCustom createDriveCustom
echo "Creating a custom drive - Complete!" echo "Creating an HFS formatted drive image with LIDO driver - Complete!"
;; ;;
6) 6)
echo "Configuring wired network bridge" echo "Configuring wired network bridge"