Use /mnt
as mount directory
This commit is contained in:
parent
e828cb1988
commit
a9a90a64f9
1 changed files with 6 additions and 5 deletions
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue