instead of having to create a new patch when the load-config.js
file changes, consider replacing the patch line in the prepare()
function with something like this:
sed -i 's/^let[[:space:]]defaultDataDir .*$/let defaultDataDir \= \x27\/var\/lib\/actual\x27;/' src/load-config.js
There are probably better ways to formulate this line, but this is just something I was able to hack together that worked. I am no expert at sed
.
Pinned Comments
pikl commented on 2024-05-27 09:01 (UTC) (edited on 2024-05-27 09:02 (UTC) by pikl)
Linux kernels >=
v6.9-arch1
have a bug that prevents the server running and the AUR package being built. Downgrade tov6.8.9-arch1
or uselinux-lts
.