Rename winpe iso variable
This commit is contained in:
parent
84177ce47d
commit
e6ea44a216
|
@ -12,7 +12,7 @@ begin
|
||||||
set -l setupLabel "winiso-valhalla"
|
set -l setupLabel "winiso-valhalla"
|
||||||
set -l buildDir "$(status dirname)/build"
|
set -l buildDir "$(status dirname)/build"
|
||||||
set -l cacheDir ~/.cache/winiso-valhalla
|
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 winPath "/media/win"
|
||||||
set -l winpePath "/media/winpe"
|
set -l winpePath "/media/winpe"
|
||||||
set -l valhallaPath "/media/winiso-valhalla"
|
set -l valhallaPath "/media/winiso-valhalla"
|
||||||
|
@ -91,11 +91,11 @@ begin
|
||||||
|
|
||||||
cp -r "$dir/winfs"/* "$winpeOverlay"
|
cp -r "$dir/winfs"/* "$winpeOverlay"
|
||||||
|
|
||||||
mkdir -p "$(dirname "$isoFile")"
|
mkdir -p "$(dirname "$winpe")"
|
||||||
sudo mount --mkdir "$WIN11_IMAGE_PATH" "$winPath"
|
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"
|
rm -rf "$winpeOverlay"
|
||||||
sudo mount --mkdir "$isoFile" "$winpePath"
|
sudo mount --mkdir "$winpe" "$winpePath"
|
||||||
|
|
||||||
begin
|
begin
|
||||||
echo "$wimFile"
|
echo "$wimFile"
|
||||||
|
|
Loading…
Reference in a new issue