Change working directory to script directory #148
herrwinfried
started this conversation in
Ideas
Replies: 3 comments 4 replies
-
Checking the amount of disk space remaining |
Beta Was this translation helpful? Give feedback.
0 replies
-
❯ df -h
Filesystem Size Used Avail Use% Mounted on
none 3.9G 4.0K 3.9G 1% /mnt/wsl
drivers 477G 273G 205G 58% /usr/lib/wsl/drivers
none 3.9G 0 3.9G 0% /usr/lib/wsl/lib
/dev/sdc 1007G 9.8G 946G 2% /
none 3.9G 132K 3.9G 1% /mnt/wslg
rootfs 3.9G 1.9M 3.9G 1% /init
none 3.9G 0 3.9G 0% /dev
none 3.9G 620K 3.9G 1% /run
none 3.9G 0 3.9G 0% /run/lock
none 3.9G 0 3.9G 0% /run/shm
none 3.9G 0 3.9G 0% /run/user
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
none 3.9G 76K 3.9G 1% /mnt/wslg/versions.txt
none 3.9G 76K 3.9G 1% /mnt/wslg/doc
tmpfs 3.9G 2.9M 3.9G 1% /var/tmp
tmpfs 3.9G 358M 3.5G 10% /tmp
drvfs 477G 273G 205G 58% /mnt/c and windows says 204 GB more free space. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The script uses MagiskOnWSALocal/scripts/build.sh Line 32 in f59f012 # in front of that line to use the directory where the script is located as a temporary directory.
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Steps to reproduce/复现步骤
Expected behaviour/预期行为
It should complete the process and unzip the zip.
Actual behaviour/实际行为
does not install. It does not allocate files.
MagiskOnWSALocal commit full SHA/MagiskOnWSALocal 提交的完整哈希
f59f012
Linux distribution info/Linux 发行版信息
opensuse tumbleweed WSL
Windows version/Windows 版本
10.0.22621.607
Build Parameters/构建参数
COMMAND_LINE=--arch x64 --release-type retail --magisk-ver stable --gapps-brand OpenGApps --gapps-variant pico --root-sol magisk --compress
INFO: Architecture: x64
INFO: Release Type: retail
INFO: Magisk Version: stable
INFO: GApps Brand: OpenGApps
INFO: GApps Variant: pico
INFO: Root Solution: magisk
Version requirement/版本要求
Logs/日志
Details
(OK):download completed.
Extract WSA
unzipping to /tmp/wsa-build-ONXVoimmxy_/wsa
unzipping from /tmp/wsa-build-ONXVoimmxy_/wsa/WsaPackage_2207.40000.8.0_x64_Release-Nightly.msix
Traceback (most recent call last):
File "/tmp/MagiskOnWSALocal/scripts/extractWSA.py", line 72, in
zip.extractall(workdir / arch)
File "/usr/lib64/python3.10/zipfile.py", line 1645, in extractall
self._extract_member(zipinfo, path, pwd)
File "/usr/lib64/python3.10/zipfile.py", line 1700, in _extract_member
shutil.copyfileobj(source, target)
File "/usr/lib64/python3.10/shutil.py", line 198, in copyfileobj
fdst_write(buf)
OSError: [Errno 28] No space left on device
Unzip WSA failed, is the download incomplete?
Build: an error has occurred, exit
Cleanup Download Directory
Beta Was this translation helpful? Give feedback.
All reactions