pxe NFSroot and firefox 3.6
Ilya A. Arhipov
pa36ouHu4er at yandex.ru
Wed Sep 15 08:20:07 UTC 2010
exampe ?
--- Makefile.orig 2010-09-15 11:29:24.000000000 +0400
+++ Makefile 2010-09-15 11:59:39.000000000 +0400
@@ -53,6 +53,7 @@
OPTIONS= DBUS "Enable D-BUS support" on \
SMB "Enable smb:// URI support using gnomevfs" off \
+ NFSroot "Create /var/lib/nfs" off
.include <bsd.port.pre.mk>
@@ -81,6 +82,10 @@
notify.1:${PORTSDIR}/devel/libnotify
.endif
+.if defined(WITH_NFSroot)
+NFSroot= /var/lib/nfs
+.endif
+
post-extract::
@${SED} -e 's|@FIREFOX_ICON@|${FIREFOX_ICON}|' -e 's|@MOZILLA@|${MOZILLA}|' \
-e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|' \
@@ -116,5 +121,6 @@
${MKDIR} ${PREFIX}/lib/${MOZILLA}/chrome/icons/default
${LN} -sf ${FIREFOX_ICON_SRC} ${PREFIX}/share/pixmaps/${FIREFOX_ICON}
@${CAT} ${PKGMESSAGE}
+ ( mkdir -p ${NFSroot} )
.include <bsd.port.post.mk>
15.09.10, 09:47, "Sam Fourman Jr." <sfourman at gmail.com>:
> Hello all
>
> I am running several FreeBSD 8/9 systems on a nfsroot, and it seems
> firefox 3.6.9 (sqllite rather)
> has issues accessing bookmarks, history and other things unless the
> /var/lib/nfs path exists.
>
> firefox 3.6.9 on NFSroot you must:
> mkdir -p /var/lib/nfs
>
> I found details here
> https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/237970
>
> Since this simple fix works, and firefox is a popular port
> I was wondering how would we go about making this path exist by default?
>
> I dont know much about this, but if several ports need this path then maybe we
> could have the installworld script add mkdir -p /var/lib/nfs ?
>
> or perhaps just have the firefox port add the path?
> maybe there is yet another way to achieve this...
>
> the end goal here is to make this work by default the way it now does
> on ubuntu / debian
>
> comments welcome
>
>
More information about the freebsd-gecko
mailing list