You are not logged in.
Pages: 1
I tried to package `nengo` yesterday, and put all the mess in the /opt..
but it looks like it will create an directory `/opt/nengo/lib/cachedir/packages` before launching.Where user has no permission.
I find Wiki says.
Bear in mind that /usr may be mounted as read-only on some systems. If there are files in the shared directory that need to be written by the application, they may have to be relocated to /etc, /var, or the user's home directory.
But how should it be done?I just creat '/lib/cachedir/packages' in the PKGBUILD. The UI can launch now, but it quite a terrible workaround.
I'm a newbie to packaging, and may sorry for poor English.
Offline
You can set the Jython cachedir:
package() {
...
sed -i 's|^java |&-Dpython.cachedir=/tmp/nengo |' "$pkgdir/opt/$pkgname/$pkgname"
}
Offline
You can set the Jython cachedir:
package() { ... sed -i 's|^java |&-Dpython.cachedir=/tmp/nengo |' "$pkgdir/opt/$pkgname/$pkgname" }
Thank you very much,I got it.
Offline
Pages: 1