diff --git a/winiso/deploy.fish b/winiso/deploy.fish index d583655e..17960ea0 100644 --- a/winiso/deploy.fish +++ b/winiso/deploy.fish @@ -158,6 +158,16 @@ begin end end + begin + set -l sourceDir "$winOverlay/sources" + set -l projectPath "$sourceDir/\$OEM\$/\$1/PortValhalla" + chmod u+w "$sourceDir" + mkdir -p "$projectPath" + source "$dir/../scripts/copy-repo.fish" "$projectPath" + rm -rf "$projectPath/archiso" + chmod -R u-w "$sourceDir" + end + sudo mount --mkdir -t overlay overlay -o lowerdir="$winOverlay":"$winpePath":"$winPath",upperdir="$upperDir",workdir="$workDir" "$valhallaPath" if [ -z "$_flag_usb" ]