@Rich and @GNUuser, thank you for your FetchExt.sh
regarding
https://forum.tinycorelinux.net/index.php?action=post;board=36.0 "Re: Script to download extensions+dependencies on other"
My naive contribution is here for a
full running TC from a chroot., not only downloading tczs.
In a chroot we do not need the kernel (vmlinuz) neither its modules.
- So instead of vmlinuz + core.gz (= rootfs.gz + modules.gz) we could use just use roofs.gz
- In a chroot the host kernel (ex: 6.16.x) can be different from original Tc kernel (ex: 6.12.x).
- Plus host user can be (uid=1000, gid=1000) different from default TC user(uid=1001, gid=50), for some protection.
I tested my script using a host with Wayland server. I mounted just just /proc and /dev (no need to mount /sys or /tmp). The downloaded TCZ (running from chroot) will be saved locally on host, so no need to downloaded them again. Basically it functions like a real in RAM tiny-core distro.
tested commands:
- tce (CLI app) to download tc applets (ex:editor, cpanel etc)
- tce-download -wo libXau (testing on-demand is working).
- tce-load -i fluff (working from CLI shell).- fluff, editor, etc (all runs OK)
PS: I will publish the script soon, from another machine.