From 2cf4a15f270de2a1b867d9efb67607aeed8d8927 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 26 Jul 2024 13:32:37 +0200 Subject: [PATCH] Store PortValhalla in installation disk --- winiso/deploy.fish | 10 ++++++++++ 1 file changed, 10 insertions(+) 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" ]