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

This section is designed for your 'porteus build scripts' which create Porteus modules for your favorite applications. Scripts should work like the well-known 'SlackBuilds' with minimum user interaction.

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

Postby Ed_P » 01 Nov 2015, 04:34

tb01 wrote:Off topic #1, how do you generate concise links to individual posts? (eg, viewtopic.php?f=76&t=2022&p=35538#p35528 -vs- 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: No sound - on an Acer 722 netbook [Solved :-) ] :wink:
Ed
User avatar
Ed_P
Contributor
Contributor
 
Posts: 2892
Joined: 06 Feb 2013, 23:12
Location: Western NY, USA
Distribution: Cinnamon 3.2.2 64-bit ISO

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

Postby tome » 02 Nov 2015, 23:37

@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)
tome
Contributor
Contributor
 
Posts: 560
Joined: 26 Jun 2013, 15:03
Location: Poland
Distribution: x64 Xfce (LXDE Openbox)

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

Postby tome » 12 Mar 2017, 18:38

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).
tome
Contributor
Contributor
 
Posts: 560
Joined: 26 Jun 2013, 15:03
Location: Poland
Distribution: x64 Xfce (LXDE Openbox)

Previous

Return to pBuild Scripts



Who is online

Users browsing this forum: No registered users and 1 guest