Developing Tiny Core Linux extensions
Conclusion
Tiny Core extensions have a simpler structure than Debian packages, but they accomplish their task. These extensions allow you to load custom software into a Live operating system without wasting RAM or time.
Creating your own extension is easier than it seems. It is worth the effort if only for the experience of being a repository package maintainer. I found that generating an extension is very similar to creating a Slackware package. Despite the formatting differences, the process is pretty much the same: Compile or place the program into a folder and then encapsulate that directory. The biggest difference is the way install scripts are managed.
If you are interested in contributing to the official repository, sign up at the Tiny Core Linux forum [7]. The Tiny Core Linux community keeps a database of build scripts you can consult if you want to see how other users are creating their extensions. To see some of my extensions (official and unofficial), visit the Software directory of my Gopher server [8].
Submissions to the Tiny Core Linux repository are welcome at tcesubmit@gmail.com
.
What Is Squashfs?
Squashfs is a read-only, compressed filesystem. Files are added to it upon filesystem creation, and its contents cannot be modified while the filesystem is mounted and in use.
Squashfs is a popular tool for Live operating systems, which are usually stored on read-only media (such as DVDs) or devices whose lifespan is reduced by write operations (USB pen drives). For example, Porteus packages, called modules, are compressed Squashfs filesystem images, as are SLAX modules.
Infos
- Tiny Core Linux: http://www.tinycorelinux.net
- "Micro Distros: The Tiniest Linux You Can Get" by Mike Saunders, Linux Magazine, issue 203, October 2017, https://www.linux-magazine.com/Issues/2017/203/Tiny-Distros
- x86 Pure 64: http://www.tinycorelinux.net/11.x/x86_64/
- AdoptOpenJDK 12 with Hotspot VM: https://github.com/AdoptOpenJDK/openjdk12-binaries/releases/download/jdk-12.0.2%2B10/OpenJDK12U-jdk_x64_linux_hotspot_12.0.2_10.tar.gz
- FHS 3.0: https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.txt
- Example info file for AdoptOpenJDK 12: http://www.tinycorelinux.net/11.x/x86_64/tcz/adoptopenjdk-12.tcz.info
- Tiny Core Linux Forum: http://forum.tinycorelinux.net/
- Extensions on Gopher server: http://gopher://gopher.operationalsecurity.es/1/Software/TCE/
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)