Store PortValhalla in installation disk

This commit is contained in:
Manuel Thalmann 2024-07-26 13:32:37 +02:00
parent 5904f56d11
commit 2cf4a15f27

View file

@ -158,6 +158,16 @@ begin
end end
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" sudo mount --mkdir -t overlay overlay -o lowerdir="$winOverlay":"$winpePath":"$winPath",upperdir="$upperDir",workdir="$workDir" "$valhallaPath"
if [ -z "$_flag_usb" ] if [ -z "$_flag_usb" ]