Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2010 12:02:50 +0400
From:      Ilya A. Arhipov <pa36ouHu4er@yandex.ru>
To:        Sam Fourman Jr. <sfourman@gmail.com>,gecko@freebsd.org
Subject:   Re: pxe NFSroot and firefox 3.6
Message-ID:  <162661284537771@web53.yandex.ru>
In-Reply-To: <AANLkTi=4qH4qfVXyRi5rgz9=jc78C%2Bs1_5uyWRU8JPcG@mail.gmail.com>
References:  <AANLkTi=4qH4qfVXyRi5rgz9=jc78C%2Bs1_5uyWRU8JPcG@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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
>  
>  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?162661284537771>