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.
-
Ed_P
- Contributor
- Posts: 8747
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#31
by Ed_P » 01 Nov 2015, 03:34
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
Ed_P
-
tome
- Contributor
- Posts: 682
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
-
Contact:
Post#32
by tome » 02 Nov 2015, 22: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)
You have mind and feelings. Be wise and clever.
tome
-
tome
- Contributor
- Posts: 682
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
-
Contact:
Post#33
by tome » 12 Mar 2017, 17: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).
You have mind and feelings. Be wise and clever.
tome