LSPosed / MagiskOnWSALocal

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

[Bug] WSA fail to integrate Magisk #807

Closed YT-Advanced closed 4 months ago

YT-Advanced commented 4 months ago

Steps to reproduce/复现步骤

  1. git clone https://github.com/LSPosed/MagiskOnWSALocal.git --depth 1
  2. ./scripts/run.sh
  3. Choose Magisk Stable as magisk-ver

Expected behaviour/预期行为

WSA should build successfully

Actual behaviour/实际行为

MagiskOnWSALocal fail to build

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

599e02705417298f8f99b5d773fe92157bb7dd32

Linux distribution info/Linux 发行版信息

22.04LTS

Windows version/Windows 版本

10.0.22621.1992

Build Parameters/构建参数

COMMAND_LINE=--arch x64 --release-type RP --root-sol magisk --magisk-ver stable --install-gapps --compress-format 7z

Version requirement/版本要求

Logs/日志

[//]: <> (Don't modify above) ``` Integrating Magisk Loading cpio: [/tmp/wsa-build-NLQvYR1iaF_/wsa/arm64/Tools/initrd.img] Move [/init] -> [/wsainit] Add file [/lspinit] (100750) Create symlink [/init] -> [/lspinit] Add file [/magiskinit] (100750) Create directory [overlay.d] (0750) Create directory [overlay.d/sbin] (0750) No such file or directory (os error 2) Failed to process cpio ERROR: Unable to patch initrd Build: an error has occurred, exit ``` [//]: <> (Don't modify below)
YT-Advanced commented 4 months ago

Fixed after cloning again