Rename winpe iso variable
This commit is contained in:
parent
84177ce47d
commit
e6ea44a216
1 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@ begin
|
|||
set -l setupLabel "winiso-valhalla"
|
||||
set -l buildDir "$(status dirname)/build"
|
||||
set -l cacheDir ~/.cache/winiso-valhalla
|
||||
set -l isoFile "$buildDir/win.iso"
|
||||
set -l winpe "$cacheDir/winpe.iso"
|
||||
set -l winPath "/media/win"
|
||||
set -l winpePath "/media/winpe"
|
||||
set -l valhallaPath "/media/winiso-valhalla"
|
||||
|
@ -91,11 +91,11 @@ begin
|
|||
|
||||
cp -r "$dir/winfs"/* "$winpeOverlay"
|
||||
|
||||
mkdir -p "$(dirname "$isoFile")"
|
||||
mkdir -p "$(dirname "$winpe")"
|
||||
sudo mount --mkdir "$WIN11_IMAGE_PATH" "$winPath"
|
||||
mkwinpeimg --iso --arch amd64 --overlay "$winpeOverlay" --windows-dir "$winPath" "$isoFile"
|
||||
mkwinpeimg --iso --arch amd64 --overlay "$winpeOverlay" --windows-dir "$winPath" "$winpe"
|
||||
rm -rf "$winpeOverlay"
|
||||
sudo mount --mkdir "$isoFile" "$winpePath"
|
||||
sudo mount --mkdir "$winpe" "$winpePath"
|
||||
|
||||
begin
|
||||
echo "$wimFile"
|
||||
|
|
Loading…
Reference in a new issue