Skip to content

Commit

Permalink
thunderbird: Work around slow NFS access with NSS_SDB_USE_CACHE=1
Browse files Browse the repository at this point in the history
Accessing the certificate store over the network takes a long time, and
blocks Thunderbird for several minutes. Work around it by setting
`NSS_SDB_USE_CACHE=1`.
  • Loading branch information
pmenzel committed Jul 4, 2019
1 parent 0cc6ffd commit 01c82cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion thunderbird.be0
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,12 @@ mee_install() {

mee_install_post() {
start_cmd install -d ${D}${LIBDIR}/mariux64
start_cmd mv ${D}${BINDIR}/${PKGNAME} ${D}${LIBDIR}/mariux64/${PKGNAME}
start_cmd rm ${D}${BINDIR}/${PKGNAME}

cat >${D}${LIBDIR}/mariux64/${PKGNAME}<<-EOF
NSS_SDB_USE_CACHE=1 exec "${LIBDIR}/${PKGNAME}/${PKGNAME}" "\$@"
EOF
chmod 755 ${D}${LIBDIR}/mariux64/${PKGNAME}

# install official icon in all sizes

Expand Down

0 comments on commit 01c82cd

Please sign in to comment.