TazPuppy 5.0 rc2
I found one more issue. In the function process_package we need to make the path to the receipt relative. Currently it is:s243a wrote:I'm not sure if it's updated but in the last version "beta 23" I have two fixes for:The first suggestion is to make the script architecture independent by putting something like the following at the top of the script:Code: Select all
/usr/bin/make-devx
note that where I have 'next64' as the default, you would put 'cooking' as the default. The point is to take the mirror and the release from slizaz.conf.Code: Select all
if [ -f /etc/slitaz/slitaz.conf ]; then . /etc/slitaz/slitaz.conf #Comment this line out if you don't want to use distro defualts. fi WEBSITE=${MIRROR_URL:-"http://mirror1.slitaz.org"} DIRPKG=${SLITAZ_RELEASE:-'next64'}
related to this in the function "download_pkgs", one has to replace "cooking" with "$DIRPKG" in the linewith gives:Code: Select all
wget -nc --timeout=10 $WEBSITE/packages/cooking/$pkgname.tazpkg -O cooking/slitaz-devx/$pkgname.tazpkg
My second fix is to create all the necessary build directories. Around line #20 (now line #24) I have replaced:Code: Select all
wget -nc --timeout=10 $WEBSITE/packages/$DIRPKG/$pkgname.tazpkg -O $curdir/slitaz-devx/$pkgname.tazpkg
withCode: Select all
curdir="$1" if [ ! -e $curdir ]; then echo "Create working folder: $curdir" mkdir -p $curdir 2>/dev/null if [ $? -ne 0 ]; then echo "Failed to create working folder" exit fi fi else echo "Usage: $cmd1 [working folder]" echo "Creates DEVX module for compiling" exit fi
Code: Select all
curdir=`realpath "$1"` while read aDir; do if [ ! -e $aDir ]; then echo "Create working folder: $aDir" mkdir -p $aDir 2>/dev/null if [ $? -ne 0 ]; then echo "Failed to create working folder $aDir" exit fi fi done <<EOM $curdir $curdir/devx-rootfs $curdir/slitaz-devx EOM else echo "Usage: $cmd1 [working folder]" echo "Creates DEVX module for compiling" exit fi #cd $curdir
Code: Select all
. /receipt
Code: Select all
. ./receipt
Last edited by s243a on Sun 03 Mar 2019, 00:15, edited 3 times in total.
Extract the package:oui wrote:Hi
as it is possible to convert the tazpkg's into *.pets, did some one already try to convert
libfirefox
and to use it in puppy to look some youtube's using little browsers (midori etc.)
Code: Select all
tazpkg extract package.tazpkg
I noticed something in the /etc/profile script that could be improved.
Around line one 170 we have the following code:
The issue here is that sometimes in /etc/profile.d there are separate scripts depending on the shell. For instance if one installs "gawk" there is a script gawk.csh (for the c shel) and also a gawk.sh for bourne compatible shells like bash and ash. We need some kind of logic that checks for shell dependent implementations of the profile.d script and picks the version that best matches the shell (based on the extension).
For example in the csh version we have:
but the setenv command only works for csh and not for bash, ash and dash.
Around line one 170 we have the following code:
Code: Select all
for profile_script in $(ls -1 /etc/profile.d) ; do
#xlog "Sourcing $profile_script ..."
[ "$(echo -n "$profile_script" | grep 'txt$')" != "" ] && continue
. /etc/profile.d/$profile_script
done
For example in the csh version we have:
Code: Select all
alias gawkpath_default 'unsetenv AWKPATH; setenv AWKPATH `gawk -v x=AWKPATH "BEGIN {print ENVIRON[x]}"`'
I think TazPup has the following issue (I'll verify later) but the 64bit version I'm trying to make certainly has this issue.
I noticed the following error in the boot log:
I was able to trace this error to line #32 to #35 of:
/etc/init.d/rcS
hwdb is not a valid command for udevadm as per the manpage:
https://linux.die.net/man/8/udevadm
Some versions of udevadm have a --reload option which might do what this statement is trying to achieve. However, I don't believe that the version of udevadm that comes with slitaz has this option.
I noticed the following error in the boot log:
Code: Select all
missing or unknown command
Usage: udevadm [--help] [--version] [--debug] COMMAND [COMMAND OPTIONS]
info query sysfs or the udev database
trigger request events from the kernel
settle wait for the event queue to finish
control control the udev daemon
monitor listen to kernel and udev events
test test an event run
test-builtin test a built-in command
/etc/init.d/rcS
Code: Select all
if [ -d '/etc/udev/hwdb.d' ]; then
echo 'Creating the udev hardware database...'
udevadm hwdb --update
fi
https://linux.die.net/man/8/udevadm
Some versions of udevadm have a --reload option which might do what this statement is trying to achieve. However, I don't believe that the version of udevadm that comes with slitaz has this option.
Hi
As I did write divers messages with comments on SliTaz (without Pup) in the last day, and did see a new ISO serie appear at http://mirror/slitaz.org, I did try to make a step more in direction of TazPup and try to build with the old as well as with the new iso's. I did try it out Slitaz, out Tazpup and out Bionicpup64. as well 32 bit iso als 64 bit iso of course and as well local as onine
new iso's did be created, about 99 Mb. but no one able to start (kernel panik).
my goal would be have to build Tazpup64. Out whitch is for me total undifferent (I also die download als packages from SliTaz from above url .../packages/cooking and have them on the disk). Some examples of errors in the console:
root# ./clean-workspace.sh
Deleting slitaz-rootfs...
Deleting tazpup-preiso...
root# ./make-tazpup.sh
Preparing working folders...
Mounting slitaz-rolling-core64.iso...
Copying rootfs gz...
Extracting rootfs gz...
cpio: unsupported cpio format, use newc or crc
touch: cannot touch '/root/tazbuild/slitaz-rootfs/tmp/tazpkg-local.lock': No such file or directory
and 6 other for tazopkg0skipdep.lock etc.
...
Removing block device files...
/usr/bin/tazpkg: .: line 11: can't open '/usr/bin/gettext.sh': No such file or directory
and 14 such analog lines for, that is the question!
Is there perhaps a more detailled text as the READ.ME?
Kind regards
As I did write divers messages with comments on SliTaz (without Pup) in the last day, and did see a new ISO serie appear at http://mirror/slitaz.org, I did try to make a step more in direction of TazPup and try to build with the old as well as with the new iso's. I did try it out Slitaz, out Tazpup and out Bionicpup64. as well 32 bit iso als 64 bit iso of course and as well local as onine
new iso's did be created, about 99 Mb. but no one able to start (kernel panik).
my goal would be have to build Tazpup64. Out whitch is for me total undifferent (I also die download als packages from SliTaz from above url .../packages/cooking and have them on the disk). Some examples of errors in the console:
root# ./clean-workspace.sh
Deleting slitaz-rootfs...
Deleting tazpup-preiso...
root# ./make-tazpup.sh
Preparing working folders...
Mounting slitaz-rolling-core64.iso...
Copying rootfs gz...
Extracting rootfs gz...
cpio: unsupported cpio format, use newc or crc
touch: cannot touch '/root/tazbuild/slitaz-rootfs/tmp/tazpkg-local.lock': No such file or directory
and 6 other for tazopkg0skipdep.lock etc.
...
Removing block device files...
/usr/bin/tazpkg: .: line 11: can't open '/usr/bin/gettext.sh': No such file or directory
and 14 such analog lines for, that is the question!
Is there perhaps a more detailled text as the READ.ME?
Kind regards
I actually did get get mistfire's build script to work with the slitaz-rolling-core64.iso but as mistfire note's in another post, this iso actually only has 64bit kernal modules. The actual binary libraries on the iso are 32 bits.oui wrote:Hi
As I did write divers messages with comments on SliTaz (without Pup) in the last day, and did see a new ISO serie appear at http://mirror/slitaz.org, I did try to make a step more in direction of TazPup and try to build with the old as well as with the new iso's. I did try it out Slitaz, out Tazpup and out Bionicpup64. as well 32 bit iso als 64 bit iso of course and as well local as onine
new iso's did be created, about 99 Mb. but no one able to start (kernel panik).
I actually started trying to do this. The last updload of my modfied build kit is at:my goal would be have to build Tazpup64.
https://www.dropbox.com/s/owr19jmja3fak ... ar.gz?dl=0
but there are some untested changes. The way, I'm doing it the Slitaz iso is only to create the build system. By that I mean that the package manager is executed in a chroot environment located at:
Code: Select all
$curdir/slitaz-rootfs
Code: Select all
$curdir/slitaz-rootfs$prefix
Code: Select all
tazpkg $options install $bname --root=$prefix
root# ./clean-workspace.sh
Deleting slitaz-rootfs...
Deleting tazpup-preiso...
root# ./make-tazpup.sh
Preparing working folders...
Mounting slitaz-rolling-core64.iso...
Copying rootfs gz...
Extracting rootfs gz...
cpio: unsupported cpio format, use newc or crc
touch: cannot touch '/root/tazbuild/slitaz-rootfs/tmp/tazpkg-local.lock': No such file or directory
and 6 other for tazopkg0skipdep.lock etc.
...
There isn't enough info for me to troubleshoot here. Try executing the script like this:
Code: Select all
sh -x ./clean-workspace.sh 2>&1 | tee build.log
Look inRemoving block device files...
/usr/bin/tazpkg: .: line 11: can't open '/usr/bin/gettext.sh': No such file or directory[/size]
and 14 such analog lines for, that is the question!
Is there perhaps a more detailled text as the READ.ME?
Kind regards
Code: Select all
$curdir/slitaz-rootfs/usr/bin/gettext.sh
P.S. if you actually try my buildscript then either edit or delete the file that says "defaults". For instance if you delete the following two lines:
Code: Select all
IMGPUP="/root/spot/Downloads/slacko64-6.9.9.9-uefi-k4.9-FF-LO.iso"
IMG="/root/spot/Downloads/slitaz-rolling-core64.iso"
TazPuppy beta 25 released
Changes:
* Basic cache cleaning. This will trigger the cleaner on the following scenarios:
+ Upon shutdown if the save session was a save file or in multisession mode
+ When periodic save on flash ran or execute save2flash
+ When the free disk memory was below 10%
This also can be run manually by typing this command
* Basic Mouse Wizard for configuring mouse
* Some fixes
Download: https://drive.google.com/file/d/1UYze6N ... sp=sharing
MD5 Checksum: c6b570bda89f5b4ce47af14235c22326
Build kit: https://drive.google.com/file/d/1sNyesb ... sp=sharing
Changes:
* Basic cache cleaning. This will trigger the cleaner on the following scenarios:
+ Upon shutdown if the save session was a save file or in multisession mode
+ When periodic save on flash ran or execute save2flash
+ When the free disk memory was below 10%
This also can be run manually by typing this command
Code: Select all
sudo purge-cache.sh
* Some fixes
Download: https://drive.google.com/file/d/1UYze6N ... sp=sharing
MD5 Checksum: c6b570bda89f5b4ce47af14235c22326
Build kit: https://drive.google.com/file/d/1sNyesb ... sp=sharing
The only one I'm not personally convinced about is that last on - freeing up cache. I experimented with that years ago and certainly it appears nice when for example the 'free' command shows more free RAM available. However, I stopped using such purge cache routines because I now accept that Linux does a pretty good and more intelligent job at freeing up cache automatically when it needs more actual free RAM. Cache is important since it speeds things up when data needs to be re-used and Linux kernel itselfs will release cache when it is actually needed; I.e. it won't allow the system to collapse until really there is no free RAM left despite all cache having been auto-purged. You can prove that by observing free RAM plus cache by continually running the 'free' command whilst adding more and more heavy HTML paged to tabs in your browser: then you will observe Linux itself freeing up cache to provide the extra RAM these new tabs need. Eventually, no more cache is available to free up, the RAM free itself runs out, and the system will freeze...mistfire wrote:TazPuppy beta 25 released
Changes:
* Basic cache cleaning. This will trigger the cleaner on the following scenarios:
+ Upon shutdown if the save session was a save file or in multisession mode
+ When periodic save on flash ran or execute save2flash
+ When the free disk memory was below 10%
But no manual purge cache script is required or even good.
wiak
WeeDogLinux forum: https://weedoglinux.rockedge.org/viewforum.php?f=4
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Okay, thanks mistfire.mistfire wrote:@wiak the basic cache cleaning was not cleaning ram, but it was cleaning the pup_rw layer in order to minimize the disk usage and utilize ang free disk space very well
WeeDogLinux forum: https://weedoglinux.rockedge.org/viewforum.php?f=4
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
-
- Posts: 721
- Joined: Sat 31 Mar 2018, 08:01
- Location: Rakaia
- Contact:
Wow late to the party. This has come along way Mistfire - very nice - a good pup indeed.mistfire wrote:TazPuppy beta 25 released
Changes:
* Basic cache cleaning. This will trigger the cleaner on the following scenarios:
+ Upon shutdown if the save session was a save file or in multisession mode
+ When periodic save on flash ran or execute save2flash
+ When the free disk memory was below 10%
This also can be run manually by typing this command* Basic Mouse Wizard for configuring mouseCode: Select all
sudo purge-cache.sh
* Some fixes
Download: https://drive.google.com/file/d/1UYze6N ... sp=sharing
MD5 Checksum: c6b570bda89f5b4ce47af14235c22326
Build kit: https://drive.google.com/file/d/1sNyesb ... sp=sharing
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]
[url]https://freemedia.neocities.org/[/url]
[url]https://freemedia.neocities.org/[/url]
-
- Posts: 98
- Joined: Mon 17 Oct 2016, 05:11
Hello.
I heard from another user of tazpuppy that on beta 25 mplayer requires libjpeg.so.9 and that it does not start.
So I advised him to update libjpeg package, and mplayer started.
But he reports that, after the update, x stopped starting, complaining about missing libjpeg.so.8.
I wonder if this issue is due to slitaz system (repository or software database, or some other things).
I heard from another user of tazpuppy that on beta 25 mplayer requires libjpeg.so.9 and that it does not start.
So I advised him to update libjpeg package, and mplayer started.
But he reports that, after the update, x stopped starting, complaining about missing libjpeg.so.8.
I wonder if this issue is due to slitaz system (repository or software database, or some other things).
@thinkpadfreak take a look at this forum
http://forum.slitaz.org/topic/after-20t ... rt-its-gui
They upgrade the libjpeg
I suggest this solution:
1. Boot TazPuppy without X using pfix=nox boot parameter
2. On TazPuppy terminal login as root
3. Use this the following command
4. Restart the TazPuppy by typing reboot and press enter
http://forum.slitaz.org/topic/after-20t ... rt-its-gui
They upgrade the libjpeg
I suggest this solution:
1. Boot TazPuppy without X using pfix=nox boot parameter
2. On TazPuppy terminal login as root
3. Use this the following command
Code: Select all
tazpkg recharge
tazpkg upgrade
-
- Posts: 98
- Joined: Mon 17 Oct 2016, 05:11
-
- Posts: 721
- Joined: Sat 31 Mar 2018, 08:01
- Location: Rakaia
- Contact:
This won't be enough info to help yet but might give some insite into what is going on:darry19662018 wrote:Mmmm since upgrade I have had GDbus error at the start.
Other than that upgrade went smoothly.
https://developer.gnome.org/gio/stable/gdbus.htmlgdbus
gdbus — Tool for working with D-Bus objects
...
....
call
Invokes a method on a remote object. Each argument to pass to the method must be specified as a serialized GVariant except that strings do not need explicit quotes. The return values are printed out as serialized GVariant values.
...
With this information, it's easy to use the call command to display a notificationMonitoring all objects on a service:Code: Select all
$ gdbus call --session \ --dest org.freedesktop.Notifications \ --object-path /org/freedesktop/Notifications \ --method org.freedesktop.Notifications.Notify \ my_app_name \ 42 \ gtk-dialog-info \ "The Summary" \ "Here's the body of the notification" \ [] \ {} \ 5000 (uint32 12,)
Code: Select all
$ gdbus monitor --system --dest org.freedesktop.ConsoleKit Monitoring signals from all objects owned by org.freedesktop.ConsoleKit The name org.freedesktop.ConsoleKit is owned by :1.15 /org/freedesktop/ConsoleKit/Session2: org.freedesktop.ConsoleKit.Session.ActiveChanged (false,) /org/freedesktop/ConsoleKit/Seat1: org.freedesktop.ConsoleKit.Seat.ActiveSessionChanged ('',) /org/freedesktop/ConsoleKit/Session2: org.freedesktop.ConsoleKit.Session.ActiveChanged (true,) /org/freedesktop/ConsoleKit/Seat1: org.freedesktop.ConsoleKit.Seat.ActiveSessionChanged ('/org/freedesktop/ConsoleKit/Session2',)
Some potentially useful further reading:
GIO Reference Manual: Migrating to GDBus
https://stackoverflow.com/questions/371 ... us-signals
-
- Posts: 721
- Joined: Sat 31 Mar 2018, 08:01
- Location: Rakaia
- Contact:
I have a wild hunch. Run the command:darry19662018 wrote:Thanks mate at work will give more details later.
Code: Select all
ps -aux | grep kit
Code: Select all
/usr/lib/polkit-1/polkitd
and
Code: Select all
/usr/sbin/console-kit-daemon
P.S. one might find more dbus related error messages in:
Code: Select all
/var/log/daemon.log
-
- Posts: 721
- Joined: Sat 31 Mar 2018, 08:01
- Location: Rakaia
- Contact:
Hi s243a,
Here is the pop up message that appears when desktop starts
Here is the pop up message that appears when desktop starts
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]
[url]https://freemedia.neocities.org/[/url]
[url]https://freemedia.neocities.org/[/url]