From 72687afa9d22873955eaae05c6b2818b9ecfca4d Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 27 Aug 2024 04:30:12 +0200 Subject: [PATCH] Use `/mnt` as mount directory --- winiso/deploy.fish | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/winiso/deploy.fish b/winiso/deploy.fish index 0b829bd0..5e7a99c0 100755 --- a/winiso/deploy.fish +++ b/winiso/deploy.fish @@ -16,6 +16,7 @@ begin argparse --name (status filename) -x "iso,usb" "iso" "usb" "debug" -- $argv or exit 1 + set -l mountDir "/mnt" set -l setupLabel "winiso-valhalla" set -l projectPath "PortValhalla" set -l systemDrivePath "sources/\$OEM\$/\$1" @@ -23,9 +24,9 @@ begin set -l localProjectPath "$systemDrivePath/$projectPath" set -l cacheDir ~/.cache/winiso-valhalla set -l winpe "$cacheDir/winpe.iso" - set -l winPath "/media/win" - set -l winpePath "/media/winpe" - set -l valhallaPath "/media/winiso-valhalla" + set -l winPath "$mountDir/win" + set -l winpePath "$mountDir/winpe" + set -l valhallaPath "$mountDir/winiso-valhalla" set -l winpeOverlay (mktemp -d) set -l winOverlay (mktemp -d) set -l upperDir (mktemp -d) @@ -228,8 +229,8 @@ begin -output "$isoFile" \ "$valhallaPath" else - set -l bootPath "/media/boot" - set -l dataPath "/media/data" + set -l bootPath "$mountDir/boot" + set -l dataPath "$mountDir/data" set -a mountPaths \ "$bootPath" \