Store PortValhalla in installation disk
This commit is contained in:
parent
5904f56d11
commit
2cf4a15f27
1 changed files with 10 additions and 0 deletions
|
@ -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" ]
|
||||||
|
|
Loading…
Reference in a new issue