pup-tools utilities converted from bacon and nim to C
pup-tools is a package with lots of little utilities that are used in EasyOS. Most are written in C; however, a couple are written in BaCon and one in nim language.
For a very long time I have wanted to convert them all to C; however, it is not easy, so just put it off. Until today; used AI for the first time.
Went to claude.ai, used the free version, online, gave it the BaCon and the nim programs and it converted them to C.
I was very surprised that Claude knows all about BaCon Basic, BaCON HUG (Highlevel Universal GUI), nim, even the Puppy Linux package format. It was actually quite scary how clever Claude was, analyzing the programs.
Now have pup-tools-20261117.tar.gz source, but cannot upload to ibiblio.org, as ibiblio is having some serious problem. Don't know what it is, tried to upload about 12 hours ago, again this evening, no go. support.ibiblio.org was working this morning, now broken, so can't even find it information about the breakage.
pup-tools was previously compiled in OpenEmbedded, for Scarthgap,
and I used that in the EasyOS Excalibur build. Now though, have
put pup-tools compile in woofQ2.
Tags: easy
Cleanup user-installed packages when version update
I was reading posts by pp4mnk:
https://forum.puppylinux.com/viewtopic.php?p=180049#p180049
Yes, easy.sfs in Easy version 7.5.3 has bumped yradio to 1.9.6-1. If the user has installed a yradio .pet, that is going to interfere. In the initrd, there is a script /sbin/zrem-user-pkgs, that removes the conflicting user-installed .pet
I reviewed that code, and found that it does work, but only for .deb packages. When a package is installed, a file is created in /root/.packages/filesdb, with a list of all installed folders and files.
To test this, I installed 'yradio-1.9.5-1.pet' and yes, /root/.packages/filesdb/yradio-1.9.5-1.files got created.
Good, but the code in zrem-user-pkgs only looks for "yradio.files" and "yradio_*.files", which is ok for .deb packages, not the yradio .pet. I have modified the script:
FLIST="$(find /mnt/${WKG_DEV}/${WKG_DIR}.session/session1/root/.packages/filesdb -maxdepth 1 -name "${aU}_*.files" | head -n 1)"
#20261117 pet pkg has filesdb/yradio-1.9.5-1.files ...
if [ -z "$FLIST" ];then
xaU="$(grep -F "|${aU}|" /mnt/${WKG_DEV}/${WKG_DIR}.session/session1/root/.packages/user-installed-packages | cut -f 1 -d '|' | head -n 1)"
FLIST="$(find /mnt/${WKG_DEV}/${WKG_DIR}.session/session1/root/.packages/filesdb -maxdepth 1 -name "${xaU}*.files" | head -n 1)"
fi
...looks like it will do the job.
This is a developer policy decision, that user-installed packages
should not override those in easy.sfs. This is important, as the
user may have installed an older package, say yradio-1.9.5-1,
whereas the easy.sfs has a later version.
Tags: easy
Fix kexec in 6.6.x kernel
I have posted recently about being able to rollback to an older kernel. For example, when linux-kernel-old_6.6.161_amd64.sfs is selected to be loaded, at next bootup the inc/05-kernel-change script changes from the 7.2.12 kernel over to the 6.6.161 kernel, using the 'kexec' utility.
That's ok, but if you de-select the linux-kernel-old_6.6.161_amd64.sfs, at next bootup, kexec attempts to swap back to the 7.2.12 kernel, but fails. Just hangs, requiring to hold down the power button to hard power-off. Then when bootup it is ok, back on the 7.2.12 kernel.
I found that CONFIG_KEXEC_FILE is required to be set, but isn't, so have compiled the 6.6.162 kernel, like this:
General setup ->
Kexec and crash features ->
[*] Enable kexec file based system call
...which enables that CONFIG_KEXEC_FILE
Haven't uploaded linux-kernel-old_6.6.162_amd64.sfs, will do so
soon.
Tags: easy
Slightly wider EasyJWM window
Forum member pp4mnk has suggested this:
https://forum.puppylinux.com/viewtopic.php?t=17729
Yes, done.
Tags: easy
EasyApps fix missing apps
Forum member pp4mnk reported the problem. Fixes applied:
https://forum.puppylinux.com/viewtopic.php?t=17727
EasyApps is a convenient alternative to the menu, for finding
apps, organized in a way that might make finding what you want
easier. Though, it might not have everything that is in the main
menu.
Tags: easy
YouTube tutorial kernel rollback
I posted to this blog recently about kernel rollback:
- Kernels 6.6.161 and 6.12.115 compiled — November 02, 2026
Have now recorded a tutorial on YouTube:
"EasyOS Part25: Kernel rollback"
https://www.youtube.com/watch?v=BpPZJxdwQDY
Been awhile since recorded a tutorial. Have in mind to do more,
but not sure when.
Tags: easy
Detect builtin wl.ko when EasyOS update
Forum member retiredt00 contributed a fix for updating the broadcom .pet package, that has the wl.ko kernel module, when there is a version update of EasyOS:
https://forum.puppylinux.com/viewtopic.php?p=165617#p165617
Recent discussion about this topic:
https://forum.puppylinux.com/viewtopic.php?p=179914#p179914
A complication now, is that wl.ko may be builtin, not as a separate .pet package. In script /usr/local/easy_version/easy-update, I have added a wrapper around retiredt00's code:
#20260306 retiredt00 ref: https://forum.puppylinux.com/viewtopic.php?p=165617#p165617
# Download the broadcom wireless driver if used and there is a kernel update
#20261115 determine if wl.ko builtin...
WLbuiltin=0
if [ -e /mnt/.easy_ro/linux-kernel-old/usr/lib/modules/${KERNVER}/kernel/drivers/net/wireless/wl.ko ];then
WLbuiltin=1
#elif [ -e /mnt/.easy_ro/easy_sfs/usr/lib/modules/${KERNVER}/kernel/drivers/net/wireless/wl.ko ];then
# WLbuiltin=1
else
unsquashfs -l "$MNTPT2"/easyos/easy.sfs | grep -q -F '/wl.ko'
[ $? -eq 0 ] && WLbuiltin=1
fi
if [ $WLbuiltin -eq 0 ];then
...retiredt00 code...
fi
So, if one of the rollback kernel SFSs is loaded, with wl.ko in it, then no need to update the broadcom .pet.
Or, if decide in some future easy.sfs to have wl.ko builtin, again, no need for a broadcom .pet
The logic seems OK.
Tags: easy
EasyOS Excalibur-series 7.5.3 released
Changes since 7.5.1:
- Yradio 1.9.6-1 — November 11, 2026
- Fix for Osmo has no close box — November 11, 2026
- EasyOS logo — November 10, 2026
- Simplification of version update — November 10, 2026
Download:
https://distro.ibiblio.org/easyos/amd64/releases/excalibur/7.5.3/
Feedback welcome:
https://forum.puppylinux.com/viewtopic.php?p=179832#p179832
Have fun!
Tags: easy