Page 3 of 3

Re: Firefox always up to date (autd) - i686 & x86_64

Posted: 01 Nov 2015, 03:34
by Ed_P
tb01 wrote:Off topic #1, how do you generate concise links to individual posts? (eg, http://forum.porteus.org/viewtopic.php?f=76&t=2022&p=35538#p35528 -vs- http://forum.porteus.org/viewtopic.php?p=35528&sid=0b225566ecea222ef097a0cce46a1ea5#p35528)
Two ways that I use. 1. I find the posting I wish to link to and copy it before I sign on. 2. I manually delete the sid operand & value when I post a link found when I am signed on.

Such as this sound problem one that I had that you may find useful: http://forum.porteus.org/viewtopic.php? ... 926#p20365 :wink:

Re: Firefox always up to date (autd) - i686 & x86_64

Posted: 02 Nov 2015, 22:37
by tome
@tb01
break the certificate check? I didn't have that issue and am curious why
Because of another Desktop ->packages -> missing ca-certificates package
Could this have been a permissions setting issue? I didn't see that msg.
No, $where path doesn't exist or is not writable (iso image, xzm module)

Re: Firefox always up to date (autd) - i686 & x86_64

Posted: 12 Mar 2017, 17:38
by tome
My way to keep firefox module up to date (especially for those who don't use changes= cheatcode).

If you:
1. use firefox module,
2. you have enabled updates in firefox preferences and
3. user has permissions to write firefox updates (e.g. /opt/firefox-esr), then
firefox module can be automatically rebuild every update. One example to achieve this is to add:

Code: Select all

if [ -e /mnt/live/memory/changes/opt/firefox-esr/updates ]; then
src=/opt/firefox-esr
mkdir -p /tmp/new-modules/$src
mount -o bind $src /tmp/new-modules/$src
new="firefox-esr-$(date -I).xzm"
mksquashfs /tmp/new-modules/opt /tmp/$new -noappend -b 256K -comp gzip -Xcompression-level 5 -keep-as-directory
umount /tmp/new-modules/$src
dest=`grep 'firefox-esr-' /mnt/live/tmp/modules | sed -n '1p' | sed 's/\(.*\)\/.*/\1/'`
mv -f /tmp/$new $dest
old=`grep 'firefox-esr-' /mnt/live/tmp/modules | grep -v "$new"`
gvfs-trash -f $old
sync
fi
to '/etc/rc.d/rc.local_shutdown' (or another suitable place).
In above example firefox-esr is used and icons, alias command and launcher are kept outside module. Firefox ESR is an abbreviation of Firefox Extended Support Release - mainly security updates (lesser size of updates).