LSPosed / MagiskOnWSALocal

Integrate Magisk root and Google Apps into WSA (Windows Subsystem for Android)
GNU Affero General Public License v3.0
9.45k stars 22.92k forks source link

[Bug] Ver 2306: build.sh refers to .img files while the real extension is .vhdx #663

Closed Paolo55555 closed 6 months ago

Paolo55555 commented 1 year ago

Steps to reproduce/复现步骤

  1. run build.sh script with version 2306

Expected behaviour/预期行为

The script should succeed

Actual behaviour/实际行为

The script aborts because cannot find image files with .img extension. The image files are present in $WORK_DIR but with .vhdx extension

MagiskOnWSALocal commit full SHA/MagiskOnWSALocal 提交的完整哈希

21e80a3

Linux distribution info/Linux 发行版信息

Ubuntu 22.04.3 LTS

Windows version/Windows 版本

10.0.19045.3324

Build Parameters/构建参数

COMMAND_LINE=--arch x64 --release-type retail --root-sol magisk --gapps-brand MindTheGapps --compress --magisk-ver stable --compress-format 7z INFO: Architecture: x64 INFO: Release Type: retail INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: magisk INFO: Compress Format: 7z Build: RELEASE_TYPE=Retail Generate Download Links Generating WSA download link: arch=x64 release_type=Retail

WSA Build Version=2306.40000.4.0

Version requirement/版本要求

Logs/日志

[//]: <> (Don't modify above) ``` Remove read-only flag for read-only EXT4 image du: cannot access '/tmp/wsa-build/wsa/x64/system_ext.img': No such file or directory ./build.sh: line 210: * 2: syntax error: operand expected (error token is "* 2") Calculate the required space done Expand images du: cannot access '/tmp/wsa-build/wsa/x64/system_ext.img': No such file or directory du: cannot access '/tmp/wsa-build/wsa/x64/product.img': No such file or directory du: cannot access '/tmp/wsa-build/wsa/x64/system.img': No such file or directory du: cannot access '/tmp/wsa-build/wsa/x64/vendor.img': No such file or directory ``` [//]: <> (Don't modify below)