Commit af6e674
committed
Create mount point directories before mounting in php-cli-worker
The php.mount() call requires the mount point directory to already exist
in the PHP VFS. In the spawned PHP CLI workers, we need to create these
directories (/tmp, /wordpress, /home) before mounting native directories
to them.
This was already done in worker-thread-v2.ts but the shared mountResources()
function in mounts.ts didn't create directories, causing spawned PHP workers
to fail when trying to mount native directories in CI (Ubuntu).1 parent ad9aa31 commit af6e674
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
79 | 84 | | |
80 | 85 | | |
81 | 86 | | |
| |||
0 commit comments