Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] in build script? cpio no such file or directory #775

Closed
1 task done
cusco opened this issue Feb 28, 2024 · 1 comment
Closed
1 task done

[Bug] in build script? cpio no such file or directory #775

cusco opened this issue Feb 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cusco
Copy link

cusco commented Feb 28, 2024

Steps to reproduce/复现步骤

bash -x ./scripts/build.sh --arch x64 --release-type retail --root-sol magisk --magisk-ver stable

...

Integrating Magisk

  • /tmp/wsa-build-Qsi4GEAdVr_/magisk/magiskboot compress=xz /tmp/wsa-build-Qsi4GEAdVr_/magisk/magisk64 /tmp/wsa-build-Qsi4GEAdVr_/magisk/magisk64.xz
  • /tmp/wsa-build-Qsi4GEAdVr_/magisk/magiskboot compress=xz /tmp/wsa-build-Qsi4GEAdVr_/magisk/magisk32 /tmp/wsa-build-Qsi4GEAdVr_/magisk/magisk32.xz
  • /tmp/wsa-build-Qsi4GEAdVr_/magisk/magiskboot compress=xz ../download/magisk-stable.zip /tmp/wsa-build-Qsi4GEAdVr_/magisk/stub.xz
  • /tmp/wsa-build-Qsi4GEAdVr_/magisk/magiskboot cpio /tmp/wsa-build-Qsi4GEAdVr_/wsa/x64/Tools/initrd.img 'mv /init /wsainit' 'add 0750 /lspinit ../bin/x64/lspinit' 'ln /lspinit /init' 'add 0750 /magiskinit /tmp/wsa-build-Qsi4GEAdVr_/magisk/magiskinit' 'mkdir 0750 overlay.d' 'mkdir 0750 overlay.d/sbin' 'add 0644 overlay.d/sbin/magisk64.xz /tmp/wsa-build-Qsi4GEAdVr_/magisk/magisk64.xz' 'add 0644 overlay.d/sbin/magisk32.xz /tmp/wsa-build-Qsi4GEAdVr_/magisk/magisk32.xz' 'add 0644 overlay.d/sbin/stub.xz /tmp/wsa-build-Qsi4GEAdVr_/magisk/stub.xz' 'mkdir 000 .backup' 'add 000 overlay.d/init.lsp.magisk.rc init.lsp.magisk.rc' 'add 000 overlay.d/sbin/post-fs-data.sh post-fs-data.sh'
    Loading cpio: [/tmp/wsa-build-Qsi4GEAdVr_/wsa/x64/Tools/initrd.img]
    Move [/init] -> [/wsainit]
    No such file or directory (os error 2)
    Failed to process cpio

...

Expected behaviour/预期行为

should not produce this error

Actual behaviour/实际行为

produces error

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

44df7ca

Linux distribution info/Linux 发行版信息

Debian on WSL2

Windows version/Windows 版本

22H2 19045.3086

Build Parameters/构建参数

bash -x ./scripts/build.sh --arch x64 --release-type retail --root-sol magisk --magisk-ver stable

Version requirement/版本要求

  • I am using latest commit of MagiskOnWSALocal/我正在使用最新 commit 的版本

Logs/日志

# Replace this line with the log / 将此行用日志替换
@cusco cusco added the bug Something isn't working label Feb 28, 2024
@s1204IT
Copy link
Contributor

s1204IT commented Mar 3, 2024

This has now been resolved with the latest commit.

41aec53

@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants