Decrease size of libllvm
The Debian 'libllvm19' package has an enormous library file, 'libLLVM.so.19.1', size 124MiB. The package has a dependency, 'libz3-4', with a library file 'libz3.so.4', size 27MiB.
The download .img file in Easy 7.3.6 is 1113MiB, up from 1101MiB in Easy 7.3.4. The reason for the size bump is the change from Celluloid to SMPlayer; the latter requiring the Qt5 libraries. I would like to rein-in the .img download size; considering whether libllvm19 can be made smaller.
Yes it can, without breaking anything, at least not in my testing
so far..
The way I did it is download the 'llvm-toolchain' source package and the patches, from here:
https://packages.debian.org/trixie/libllvm19
Applied the patches, and uploaded the patched source tarball here:
https://distro.ibiblio.org/easyos/source/alphabetical/l/
Then compiled the patched source, in the devx container in Easy 7.3.6:
# mkdir build
# cd build
# cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_ENABLE_Z3=OFF -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" -DLLVM_ENABLE_FFI=ON \
-DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF -DLLVM_ENABLE_PIC=ON \
-DLLVM_BINDINGS_LIST='' -DLLVM_ENABLE_RTTI=ON -DLLVM_OPTIMIZED_TABLEGEN=ON \
-DCMAKE_BUILD_TYPE=MinSizeRel -DLLVM_ENABLE_PROJECTS="" -S ../llvm
# make -j1
# DESTDIR='/mnt/sda2/downloads/downloads3/input694/0-libllvm2/out1' make install
...of course for the DESTDIR variable, you would need to substitute your own path.
Note, Google AI also recommended this, which I did not apply:
-DLLVM_DYLIB_COMPONENTS="core;support;bitwriter;irreader"
I got all those "-D" settings from general reading and asking Google AI how to compile a smaller libllvm. The result is 'libLLVM.so.19.1' is 66MiB, and there is no dependency on 'libz3-4'. The saving is 85MiB, uncompressed, but it should result in the .img file being about one third of that smaller.
A small victory. Clawing back a bit of space, so that adding the
Qt5 library files has not increased the size of the .img file; now
a bit smaller. It does open the door to throwing in some other
Qt5-based apps.
Integrating this into woofQ2 though, haven't worked that out. Yes, the smaller libLLVM.so.19.1 in easy.sfs, but the devx SFS will probably want the full libLLVM.so.19.1, and maybe also libz3-4. Thinking about it.
Forum discussion:
https://forum.puppylinux.com/viewtopic.php?t=16954
Tags: easy
SMPlayer has replaced Celluloid
One of the guys reported Celluloid played a DVD movie with audio but no video. Another report is audio OK but video corrupted:
https://forum.puppylinux.com/viewtopic.php?p=170900#p170900
I reported that audio and video both played OK for me, but last night was experimenting with a different version of Celluloid, and got that same corrupted video, even worse.
Yet, mpv plays video and audio properly. Celluloid is a GUI wrapper for mpv, so it should be just embedding mpv into its window and it should just work. So why is it so flakey?
SMPlayer is the same, a GUI wrapper for mpv, but it works properly, at least on my computer hardware.
SMPlayer uses the Qt5 GUI toolkit, whereas Celluloid uses GTK4; which means that choosing to have SMPlayer builtin instead of celluloid, all the Qt5 libraries will also be required. Which does bump the size of the .img download file somewhat, surprisingly not much.
It works nice for me, so you guys can also test it and report
back!
Tags: easy
Fix bug loading SFS at version update
Forum member vtpup reported the problem with a custom SFS not loading after a version update of EasyOS, and Caramel posted a fix:
https://forum.puppylinux.com/viewtopic.php?p=170957#p170957
Fix applied.
Tags: easy
SOF fail trying again
Posted yesterday, compiled the 6.12.91 kernel with Sound Open Firmware support:
"Trying Sound Open Firmware yet again"
https://bkhome.org/news/202605/trying-sound-open-firmware-yet-again.html
...dismal failure. Audio card not recognized.
Even worse, 'NetworkManager' daemon aborts at startup, no error message. Is that due to one of my kernel config changes, or a regression in the 6.12.91 kernel?
Maybe I am missing a magic kernel config setting...
Looked at instructions here:
https://thesofproject.github.io/latest/getting_started/setup_linux/prepare_build_environment.html
Downloaded the kconfig files from here:
https://github.com/thesofproject/kconfig
Edited kconfig/kconfig-distro-sof-update.sh, commented-out the
"make localmodconfig" line.
Ran this:
# tar -xf linux-6.12.91.tar.xz
# cp -a DOTconfig-6.12.90 linux-6.12.91/.config
# cd linux-6.12.91
# ../kconfig/kconfig-distro-sof-update.sh
...created a new '.config' file.
Looking at the changes from my current 6.12.90 config:
< # Linux/x86 6.12.90 Kernel Configuration
> # Linux/x86 6.12.91 Kernel Configuration
> CONFIG_PREEMPT_COUNT=y
< # CONFIG_KALLSYMS_ALL is not set
> CONFIG_KALLSYMS_ALL=y
< CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
< CONFIG_INLINE_READ_UNLOCK=y
< CONFIG_INLINE_READ_UNLOCK_IRQ=y
< CONFIG_INLINE_WRITE_UNLOCK=y
< CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
> CONFIG_UNINLINE_SPIN_UNLOCK=y
< # CONFIG_BT_FEATURE_DEBUG is not set
> CONFIG_FW_LOADER_DEBUG=y
> # CONFIG_PINCTRL_CS42L43 is not set
< # CONFIG_GPIO_ARIZONA is not set
> CONFIG_GPIO_ARIZONA=m
> CONFIG_MFD_CS42L43=m
< # CONFIG_MFD_CS42L43_SDW is not set
> CONFIG_MFD_CS42L43_SDW=m
< # CONFIG_REGULATOR_ARIZONA_LDO1 is not set
< # CONFIG_REGULATOR_ARIZONA_MICSUPP is not set
> CONFIG_REGULATOR_ARIZONA_LDO1=m
> CONFIG_REGULATOR_ARIZONA_MICSUPP=m
< # CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM is not set
> CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM=y
> # CONFIG_SND_INTEL_BYT_PREFER_SOF is not set
> CONFIG_SND_SOC_TOPOLOGY=y
> CONFIG_SND_SOC_ACPI_AMD_MATCH=m
> CONFIG_SND_SOC_AMD_SOUNDWIRE=m
< # CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES is not set
> CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES=y
> CONFIG_SND_SOC_INTEL_HDA_DSP_COMMON=m
> CONFIG_SND_SOC_INTEL_SOF_MAXIM_COMMON=m
> CONFIG_SND_SOC_INTEL_SOF_REALTEK_COMMON=m
> CONFIG_SND_SOC_INTEL_SOF_CIRRUS_COMMON=m
> CONFIG_SND_SOC_INTEL_SOF_NUVOTON_COMMON=m
> CONFIG_SND_SOC_INTEL_SOF_BOARD_HELPERS=m
> CONFIG_SND_SOC_INTEL_SOF_WM8804_MACH=m
> CONFIG_SND_SOC_INTEL_GLK_DA7219_MAX98357A_MACH=m
> CONFIG_SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH=m
> CONFIG_SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH=m
> CONFIG_SND_SOC_INTEL_SOF_RT5682_MACH=m
> CONFIG_SND_SOC_INTEL_SOF_CS42L42_MACH=m
> CONFIG_SND_SOC_INTEL_SOF_PCM512x_MACH=m
> CONFIG_SND_SOC_INTEL_SOF_ES8336_MACH=m
> CONFIG_SND_SOC_INTEL_SOF_NAU8825_MACH=m
> CONFIG_SND_SOC_INTEL_CML_LP_DA7219_MAX98357A_MACH=m
> CONFIG_SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH=m
> CONFIG_SND_SOC_INTEL_SOF_DA7219_MACH=m
> CONFIG_SND_SOC_INTEL_SOF_SSP_AMP_MACH=m
> CONFIG_SND_SOC_INTEL_EHL_RT5660_MACH=m
> CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m
< # CONFIG_SND_SOC_SOF_TOPLEVEL is not set
> CONFIG_SND_SOC_SOF_TOPLEVEL=y
> CONFIG_SND_SOC_SOF_PCI_DEV=m
> CONFIG_SND_SOC_SOF_PCI=m
> CONFIG_SND_SOC_SOF_ACPI=m
> CONFIG_SND_SOC_SOF_ACPI_DEV=m
> CONFIG_SND_SOC_SOF_DEBUG_PROBES=m
> CONFIG_SND_SOC_SOF_CLIENT=m
> CONFIG_SND_SOC_SOF=m
> CONFIG_SND_SOC_SOF_PROBE_WORK_QUEUE=y
> CONFIG_SND_SOC_SOF_IPC3=y
> CONFIG_SND_SOC_SOF_IPC4=y
> CONFIG_SND_SOC_SOF_AMD_TOPLEVEL=m
> CONFIG_SND_SOC_SOF_AMD_COMMON=m
> CONFIG_SND_SOC_SOF_AMD_RENOIR=m
> CONFIG_SND_SOC_SOF_AMD_VANGOGH=m
> CONFIG_SND_SOC_SOF_AMD_REMBRANDT=m
> CONFIG_SND_SOC_SOF_ACP_PROBES=m
> CONFIG_SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE=m
> CONFIG_SND_SOC_SOF_AMD_SOUNDWIRE=m
> CONFIG_SND_SOC_SOF_AMD_ACP63=m
> # CONFIG_SND_SOC_SOF_AMD_ACP70 is not set
> CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL=y
> CONFIG_SND_SOC_SOF_INTEL_HIFI_EP_IPC=m
> CONFIG_SND_SOC_SOF_INTEL_ATOM_HIFI_EP=m
> CONFIG_SND_SOC_SOF_INTEL_COMMON=m
> CONFIG_SND_SOC_SOF_BAYTRAIL=m
> CONFIG_SND_SOC_SOF_BROADWELL=m
> CONFIG_SND_SOC_SOF_MERRIFIELD=m
> CONFIG_SND_SOC_SOF_INTEL_SKL=m
> CONFIG_SND_SOC_SOF_SKYLAKE=m
> CONFIG_SND_SOC_SOF_KABYLAKE=m
> CONFIG_SND_SOC_SOF_INTEL_APL=m
> CONFIG_SND_SOC_SOF_APOLLOLAKE=m
> CONFIG_SND_SOC_SOF_GEMINILAKE=m
> CONFIG_SND_SOC_SOF_INTEL_CNL=m
> CONFIG_SND_SOC_SOF_CANNONLAKE=m
> CONFIG_SND_SOC_SOF_COFFEELAKE=m
> CONFIG_SND_SOC_SOF_COMETLAKE=m
> CONFIG_SND_SOC_SOF_INTEL_ICL=m
> CONFIG_SND_SOC_SOF_ICELAKE=m
> CONFIG_SND_SOC_SOF_JASPERLAKE=m
> CONFIG_SND_SOC_SOF_INTEL_TGL=m
> CONFIG_SND_SOC_SOF_TIGERLAKE=m
> CONFIG_SND_SOC_SOF_ELKHARTLAKE=m
> CONFIG_SND_SOC_SOF_ALDERLAKE=m
> CONFIG_SND_SOC_SOF_INTEL_MTL=m
> CONFIG_SND_SOC_SOF_METEORLAKE=m
> CONFIG_SND_SOC_SOF_INTEL_LNL=m
> CONFIG_SND_SOC_SOF_LUNARLAKE=m
> CONFIG_SND_SOC_SOF_INTEL_PTL=m
> CONFIG_SND_SOC_SOF_PANTHERLAKE=m
> CONFIG_SND_SOC_SOF_HDA_COMMON=m
> CONFIG_SND_SOC_SOF_HDA_GENERIC=m
> CONFIG_SND_SOC_SOF_HDA_MLINK=m
> CONFIG_SND_SOC_SOF_HDA_LINK=y
> CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC=y
> CONFIG_SND_SOC_SOF_HDA_LINK_BASELINE=m
> CONFIG_SND_SOC_SOF_HDA=m
> CONFIG_SND_SOC_SOF_HDA_PROBES=m
> CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE=m
> CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE=m
> CONFIG_SND_SOC_SOF_XTENSA=m
> CONFIG_SND_SOC_CS42L43=m
> CONFIG_SND_SOC_CS42L43_SDW=m
> CONFIG_SND_SOC_HDAC_HDA=m
> CONFIG_SND_SOC_RT1011=m
> CONFIG_SND_SOC_RT1308=m
> CONFIG_SND_SOC_RT5660=m
> # CONFIG_SND_SOC_SDW_MOCKUP is not set
> CONFIG_SND_SOC_SDW_UTILS=m
< # CONFIG_SOUNDWIRE_AMD is not set
> CONFIG_SOUNDWIRE_AMD=m
< # CONFIG_DYNAMIC_DEBUG is not set
< # CONFIG_DYNAMIC_DEBUG_CORE is not set
> CONFIG_DYNAMIC_DEBUG=y
> CONFIG_DYNAMIC_DEBUG_CORE=y
< # CONFIG_SOFTLOCKUP_DETECTOR is not set
> CONFIG_LOCKUP_DETECTOR=y
> CONFIG_SOFTLOCKUP_DETECTOR=y
> # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
< # CONFIG_HARDLOCKUP_DETECTOR is not set
> CONFIG_HARDLOCKUP_DETECTOR=y
> # CONFIG_HARDLOCKUP_DETECTOR_PREFER_BUDDY is not set
> CONFIG_HARDLOCKUP_DETECTOR_PERF=y
> # CONFIG_HARDLOCKUP_DETECTOR_BUDDY is not set
> # CONFIG_HARDLOCKUP_DETECTOR_ARCH is not set
> CONFIG_HARDLOCKUP_DETECTOR_COUNTS_HRTIMER=y
> # CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set
< # CONFIG_LOCK_STAT is not set
< # CONFIG_DEBUG_RT_MUTEXES is not set
< # CONFIG_DEBUG_SPINLOCK is not set
< # CONFIG_DEBUG_MUTEXES is not set
> CONFIG_LOCK_STAT=y
> CONFIG_DEBUG_RT_MUTEXES=y
> CONFIG_DEBUG_SPINLOCK=y
> CONFIG_DEBUG_MUTEXES=y
< # CONFIG_DEBUG_RWSEMS is not set
< # CONFIG_DEBUG_LOCK_ALLOC is not set
< # CONFIG_DEBUG_ATOMIC_SLEEP is not set
> CONFIG_DEBUG_RWSEMS=y
> CONFIG_DEBUG_LOCK_ALLOC=y
> CONFIG_LOCKDEP=y
> CONFIG_LOCKDEP_BITS=15
> CONFIG_LOCKDEP_CHAINS_BITS=16
> CONFIG_LOCKDEP_STACK_TRACE_BITS=19
> CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS=14
> CONFIG_LOCKDEP_CIRCULAR_QUEUE_BITS=12
> # CONFIG_DEBUG_LOCKDEP is not set
> CONFIG_DEBUG_ATOMIC_SLEEP=y
> # CONFIG_TEST_DYNAMIC_DEBUG is not set
Right now recompiling the 6.12.91 kernel with this new '.config'.
EDIT:
Same story on my Zenbook laptop; sound card not found, and
'NetworkManager' daemon crashes at startup.
All OK on my Lenovo Ideacentre PC, with Intel i3 CPU. But the Zenbook is the concern, it is a more modern computer, with Intel Ultra7 155U CPU, and SOF doesn't work, so it is useless for me. Going back to kernel built with "legacy" sound drivers only.
Though, I might install Debian, see how it
works on the Zenbook. Just to find out if the problem afflicts
mainstream distros, not just EasyOS.
Tags: easy
Trying Sound Open Firmware yet again
Have been down this path a few times, see post last year:
"Testing Intel SOF drivers"
https://bkhome.org/news/202509/testing-intel-sof-drivers.html
What has enticed me to try again, is this forum post by NNI:
https://forum.puppylinux.com/viewtopic.php?p=170710#p170710
It turned out, enabling that "CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH" was difficult. The online documentation does not properly explain what configuration options need to be enabled in the kernel to get that option to show up.
This page for example, "lead me down the garden path":
https://www.kernelconfig.io/CONFIG_SOUNDWIRE?q=&kernelversion=6.12.82&arch=x86
...no, "Device Tree and Open Firmware support" does not
need to be enabled to enable "SoundWire support". The hierarchical
tree is incorrect. Or, more likely, it is an optional path. Which
is bad because the alternative path isn't shown.
Yes, soundwire has to be enabled, so we are back again hoping it will work. Right now compiling the 6.12.91 kernel. Here is what has been enabled compared with the 6.12.90 kernel in Easy 7.3.4:
CONFIG_MFD_CS42L43=m
CONFIG_MFD_CS42L43_SDW=m
CONFIG_MFD_INTEL_LPSS=y
CONFIG_MFD_INTEL_LPSS_ACPI=y
CONFIG_MFD_INTEL_LPSS_PCI=y
CONFIG_SND_SOC_TOPOLOGY=y
CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES=y
CONFIG_SND_SOC_INTEL_HDA_DSP_COMMON=m
CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m
CONFIG_SND_SOC_SOF_TOPLEVEL=y
CONFIG_SND_SOC_SOF_PCI_DEV=m
CONFIG_SND_SOC_SOF_PCI=m
CONFIG_SND_SOC_SOF_ACPI=m
CONFIG_SND_SOC_SOF_ACPI_DEV=m
CONFIG_SND_SOC_SOF_DEBUG_PROBES=m
CONFIG_SND_SOC_SOF_CLIENT=m
CONFIG_SND_SOC_SOF=m
CONFIG_SND_SOC_SOF_IPC3=y
CONFIG_SND_SOC_SOF_IPC4=y
CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL=y
CONFIG_SND_SOC_SOF_INTEL_HIFI_EP_IPC=m
CONFIG_SND_SOC_SOF_INTEL_ATOM_HIFI_EP=m
CONFIG_SND_SOC_SOF_INTEL_COMMON=m
CONFIG_SND_SOC_SOF_BAYTRAIL=m
CONFIG_SND_SOC_SOF_BROADWELL=m
CONFIG_SND_SOC_SOF_MERRIFIELD=m
CONFIG_SND_SOC_SOF_INTEL_SKL=m
CONFIG_SND_SOC_SOF_SKYLAKE=m
CONFIG_SND_SOC_SOF_KABYLAKE=m
CONFIG_SND_SOC_SOF_INTEL_APL=m
CONFIG_SND_SOC_SOF_APOLLOLAKE=m
CONFIG_SND_SOC_SOF_GEMINILAKE=m
CONFIG_SND_SOC_SOF_INTEL_CNL=m
CONFIG_SND_SOC_SOF_CANNONLAKE=m
CONFIG_SND_SOC_SOF_COFFEELAKE=m
CONFIG_SND_SOC_SOF_COMETLAKE=m
CONFIG_SND_SOC_SOF_INTEL_ICL=m
CONFIG_SND_SOC_SOF_ICELAKE=m
CONFIG_SND_SOC_SOF_JASPERLAKE=m
CONFIG_SND_SOC_SOF_INTEL_TGL=m
CONFIG_SND_SOC_SOF_TIGERLAKE=m
CONFIG_SND_SOC_SOF_ELKHARTLAKE=m
CONFIG_SND_SOC_SOF_ALDERLAKE=m
CONFIG_SND_SOC_SOF_INTEL_MTL=m
CONFIG_SND_SOC_SOF_METEORLAKE=m
CONFIG_SND_SOC_SOF_INTEL_LNL=m
CONFIG_SND_SOC_SOF_LUNARLAKE=m
CONFIG_SND_SOC_SOF_INTEL_PTL=m
CONFIG_SND_SOC_SOF_PANTHERLAKE=m
CONFIG_SND_SOC_SOF_HDA_COMMON=m
CONFIG_SND_SOC_SOF_HDA_GENERIC=m
CONFIG_SND_SOC_SOF_HDA_LINK_BASELINE=m
CONFIG_SND_SOC_SOF_HDA_PROBES=m
CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE=m
CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE=m
CONFIG_SND_SOC_SOF_XTENSA=m
CONFIG_SND_SOC_CS42L43=m
CONFIG_SND_SOC_CS42L43_SDW=m
CONFIG_SND_SOC_RT1308=m
CONFIG_SND_SOC_SDW_UTILS=m
CONFIG_SOUNDWIRE=y
Changed relative to 6.12.90:
CONFIG_MFD_INTEL_LPSS=m
CONFIG_MFD_INTEL_LPSS_ACPI=m
CONFIG_MFD_INTEL_LPSS_PCI=m
CONFIG_SOUNDWIRE=m
Well, we shall see what happens. Note, the 'firmware-sof-signed' DEB package is required.
EDIT 2026-05-25:
Another attempt, see next blog post:
https://bkhome.org/news/202605/sof-fail-trying-again.html
...in summary, still failure.
Tags: easy
PKGget bug fix
Forum member Caramel found a bug:
https://forum.puppylinux.com/viewtopic.php?t=16919
The 'vlc' package, identical versions, were found in two
different Debian repositories, which upset PKGget.
Good, fixed.
Tags: easy
Year-2028 fix for mkisofs in cdrtools
See recent post about compiling 'cdrtools', which is now in EasyOS:
- cdrtools replaces cdrkit — May 20, 2026
Forum member FeodorF reported a date problem reached in 2028:
https://forum.puppylinux.com/viewtopic.php?p=170622#p170622
This site has the fix for 'genisoimage' the GPL version of 'mkisofs':
https://github.com/samboy/img9660
...which has a patch, but it doesn't patch cleanly in 'mkisofs'. Instead, downloaded the latest 'schilytools' from here:
https://codeberg.org/schilytools/schilytools/releases/tag/2024-03-21
...which has the fix in file mkisofs/mkisofs.c, then I created a patch for my cdrtools source. My source and patch uploaded here:
https://distro.ibiblio.org/easyos/source/alphabetical/c/
The schilytools repository does have other commits since Jörg was
deceased, so probably should use that source, rather than only
applying one patch to the older cdrtools-3.02a9
source.
Tags: easy
Delete .a library files in devx SFS
In woofQ2, the EasyOS build system, the script woofq2/rootfs/3create-devx-sfs creates the devx SFS. The latest is 'devx_7.3.4_amd64.sfs'. Due to more rigorous finding of "-dev" packages to match those builtin in 'easy.sfs', the devx SFS has grown in size, from 553MB in Easy 7.3.3, to 689MB in Easy 7.3.4
A lot of the "-dev" packages contain static library files, for example 'libcdio.a', that are not really needed, unless creating a statically-linked binary executable. There are some exceptions, where a dynamically-linked executable is created, with one or two statically-linked libraries in it; but that is unusual.
To bring down the size of the devx SFS, this could be done:
find ${SB}/devx-rw/usr/lib/${xARCH}-linux-gnu -maxdepth 1 -type f -name '*.a' ! -name 'libc*' ! -name 'libm.a' ! -name 'libgcc*' ! -name 'libstd*' -delete
However, I decided to be more cautious, and only delete the .a if there is a matching .so, for example for libcdio.a there exists libcdio.so:
find ${SB}/devx-rw/usr/lib/${xARCH}-linux-gnu -maxdepth 1 -type f -name '*.a' ! -name 'libc*' ! -name 'libm.a' ! -name 'libgcc*' ! -name 'libstd*' > /tmp/zzdevx-excl
for aF in $(cat /tmp/zzdevx-excl | tr ' ' 'X')
do
[ -z "$aF" ] && continue
if [ -f ${aF/.a/.so} -o -h ${aF/.a/.so} ];then
rm -f ${SB}/devx-rw/usr/lib/${xARCH}-linux-gnu/${aF##*/}
fi
done
Seems ok to do this.
Tags: easy