Tiny Linux source code
QuantaPrism Code (code.quantaprism.com) sends a small Linux system ("Tiny Linux") and a PC BIOS to your web browser. They contain free software under the GNU General Public License (GPL) and the GNU Lesser General Public License (LGPL). This page is the complete corresponding source code of exactly the versions we send: the source of each program, the build recipes and patches used to compile it, and our own build scripts. You may also ask us for a copy at quantaprism.network@gmail.com; we will send it to you for no more than the cost of sending it. This offer is valid for at least three years after we last send the programs, to anyone who receives them.
| Package | Version | Licence | Size |
|---|---|---|---|
| linux-lts | 6.12.117-r0 | GPL-2.0-only | 148.8 MB |
| busybox | 1.37.0-r20 | GPL-2.0-only | 2.7 MB |
| tcc | 0.9.27_git20250106-r0 | LGPL-2.1-or-later | 955.1 KB |
| cmatrix | 2.0-r2 | GPL-3.0-or-later | 202.3 KB |
| seabios | 1.16.2 | LGPL-3.0-or-later | 631.8 KB |
| pyodide | 0.29.5 | MPL-2.0 (CPython inside: PSF-2.0) | 1.5 MB |
| quantaprism-tinylinux | e426548 | GPL-2.0-only (hello.c); our scripts: same terms | 35.5 KB |
| alpine-apkindex | 3.22-x86 | - | 2.3 MB |
| Total | 157.0 MB | ||
MANIFEST.md (where every file came from) ยท SHA256SUMS (check with sha256sum -c SHA256SUMS)
How to build: each Alpine folder holds the APKBUILD with its patches and configs next to the upstream files; in an i386 Alpine Linux 3.22 system run abuild -r in that folder. The kernel shipped is the virt flavour (config virt.x86.config). Tiny Linux itself is put together by build.sh in the quantaprism-tinylinux folder.
linux-lts-6.12.117-r0
Shipped as: linux-virt 6.12.117-r0 (bzImage) and linux-virt-dev (to build hello.ko)
Licence: GPL-2.0-only
Build recipe: https://gitlab.alpinelinux.org/alpine/aports/-/tree/e30fb966aa1d9cec17dac8283b37f4e779575cc2/main/linux-lts
Checked: sha512 of every file matches the APKBUILD (21 files)
linux-6.12.tar.xzfrom https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.12.tar.xzpatch-6.12.117.patch.xzfrom https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.12.117.xz
24 files, 148.8 MB
- 0001-Revert-LoongArch-Remove-some-extern-variables-in-sou.patch 1.4 KB
- 0001-powerpc-boot-wrapper-Add-z-notext-flag-for-ppc64le.patch 812 B
- 0002-x86-Compress-vmlinux-with-zstd-19-instead-of-22.patch 1.1 KB
- 0003-kexec-add-kexec_load_disabled-boot-option.patch 1.7 KB
- 0004-objtool-respect-AWK-setting.patch 766 B
- 0005-powerpc-config-defang-gcc-check-for-stack-protector-.patch 1.4 KB
- APKBUILD 13.0 KB
- SHA256SUMS 2.1 KB
- SOURCE-INFO.txt 490 B
- linux-6.12.tar.xz 141.1 MB
- lts.aarch64.config 69.4 KB
- lts.armv7.config 52.6 KB
- lts.loongarch64.config 21.4 KB
- lts.ppc64le.config 21.4 KB
- lts.riscv64.config 24.2 KB
- lts.s390x.config 24.7 KB
- lts.x86.config 66.2 KB
- lts.x86_64.config 75.5 KB
- patch-6.12.117.patch.xz 7.2 MB
- virt.aarch64.config 26.7 KB
- virt.armv7.config 25.0 KB
- virt.ppc64le.config 24.8 KB
- virt.x86.config 26.0 KB
- virt.x86_64.config 27.2 KB
busybox-1.37.0-r20
Shipped as: busybox-static 1.37.0-r20 (/bin/busybox.static: the shell and commands)
Licence: GPL-2.0-only
Build recipe: https://gitlab.alpinelinux.org/alpine/aports/-/tree/2e97d754a30d558f15524b8e422303c8a96832df/main/busybox
Checked: sha512 of every file matches the APKBUILD (72 files)
busybox-1.37.0.tar.bz2from https://busybox.net/downloads/busybox-1.37.0.tar.bz2
80 files, 2.7 MB
- 0001-awk-fix-handling-of-literal-backslashes-in-replaceme.patch 2.1 KB
- 0001-hexdump-fix-regression-with-n4-e-u.patch 1.6 KB
- 0001-init-add-support-for-separate-reboot-action.patch 6.9 KB
- 0001-netstat-sanitize-process-names.patch 970 B
- 0001-tar-fix-16018-masking-of-potentially-malicious-tar-cpio-content.patch 3.4 KB
- 0001-tar-fix-TOCTOU-symlink-race-condition.patch 1.1 KB
- 0001-tunctl-fix-segfault-on-ioctl-failure.patch 1.4 KB
- 0001-wget-add-header-Accept.patch 3.1 KB
- 0002-adduser-default-to-sbin-nologin-as-shell-for-system-.patch 789 B
- 0003-ash-add-built-in-BB_ASH_VERSION-variable.patch 3.3 KB
- 0004-Avoid-redefined-warnings-when-buiding-with-utmps.patch 3.2 KB
- 0005-libbb-sockaddr2str-ensure-only-printable-characters-.patch 1.3 KB
- 0006-modinfo-add-k-option-for-kernel-version.patch 4.8 KB
- 0007-nologin-Install-applet-to-sbin-instead-of-usr-sbin.patch 1.0 KB
- 0008-pgrep-add-support-for-matching-against-UID-and-RUID.patch 4.6 KB
- 0009-properly-fix-wget-https-support.patch 2.5 KB
- 0010-fsck-resolve-LABEL-.-UUID-.-spec-to-device.patch 1.9 KB
- 0011-nslookup-sanitize-all-printed-strings-with-printable.patch 2.4 KB
- 0012-ash-exec-busybox.static.patch 841 B
- 0013-app-location-for-cpio-vi-and-lspci.patch 1.7 KB
- 0014-udhcpc-set-default-discover-retries-to-5.patch 2.4 KB
- 0015-ping-make-ping-work-without-root-privileges.patch 6.2 KB
- 0016-fbsplash-support-console-switching.patch 5.3 KB
- 0017-fbsplash-support-image-and-bar-alignment-and-positio.patch 5.5 KB
- 0018-depmod-support-generating-kmod-binary-index-files.patch 13.8 KB
- 0019-Add-flag-for-not-following-symlinks-when-recursing.patch 2.4 KB
- 0020-udhcpc-Don-t-background-if-n-is-given.patch 3.5 KB
- 0021-tests-fix-tarball-creation.patch 1012 B
- 0022-tests-musl-doesn-t-seem-to-recognize-UTC0-as-a-timez.patch 1.2 KB
- 0023-Hackfix-to-disable-HW-acceleration-for-MD5-SHA1-on-x.patch 1.7 KB
- 0024-umount-Implement-O-option-to-unmount-by-mount-option.patch 6.4 KB
- 0025-find-fix-xdev-depth-and-delete.patch 8.0 KB
- 0026-awk.c-fix-CVE-2023-42366-bug-15874.patch 926 B
- 0027-awk-Mark-test-for-handling-of-start-of-word-pattern-.patch 1.5 KB
- 0028-od-Skip-od-B-on-big-endian.patch 785 B
- 0029-ash-reject-unknown-long-options.patch 1.5 KB
- 0030-hexdump-Skip-a-single-test-on-big-endian-systems.patch 1.1 KB
- 0031-syslogd-fix-wrong-OPT_locallog-flag-detection.patch 1.2 KB
- 0032-lineedit-fix-some-tab-completions-written-to-stdout.patch 1.5 KB
- 0033-lineedit-use-stdout-for-shell-history-builtin.patch 1.5 KB
- 0034-adduser-remove-preconfigured-GECOS-full-name-field.patch 1.6 KB
- APKBUILD 23.2 KB
- SHA256SUMS 7.8 KB
- SOURCE-INFO.txt 393 B
- acpid-poweroff.sh 19 B
- acpid.initd 267 B
- acpid.logrotate 140 B
- bbsuid.c 2.1 KB
- busybox-1.37.0.tar.bz2 2.4 MB
- busybox-extras.post-install 79 B
- busybox-extras.pre-deinstall 195 B
- busybox.post-install 335 B
- busybox.post-upgrade 1.4 KB
- busybox.trigger 568 B
- busyboxconfig 30.9 KB
- busyboxconfig-extras 37.0 KB
- crond.confd 54 B
- crond.initd 204 B
- dad.if-up 285 B
- default.script 3.7 KB
- dnsd.initd 198 B
- httpd.initd 210 B
- inetd.initd 216 B
- klogd.confd 14 B
- klogd.initd 280 B
- loadkmap.confd 111 B
- loadkmap.initd 289 B
- mdev.initd 745 B
- ntpd.confd 106 B
- ntpd.initd 305 B
- rdate.confd 48 B
- rdate.initd 253 B
- securetty 156 B
- ssl_client.c 3.3 KB
- syslog.confd 18 B
- syslog.initd 292 B
- udhcpc.conf 287 B
- udhcpd.initd 202 B
- watchdog.confd 40 B
- watchdog.initd 315 B
tcc-0.9.27_git20250106-r0
Shipped as: tcc, tcc-libs, tcc-libs-static, tcc-dev 0.9.27_git20250106-r0 (the C compiler, libtcc1.a)
Licence: LGPL-2.1-or-later
Build recipe: https://gitlab.alpinelinux.org/alpine/aports/-/tree/0f89d47b17bbafb8f5f9060fb08d1b5d05b6a715/community/tcc
Checked: sha512 of every file matches the APKBUILD (2 files)
tcc-f6385c05308f715bdd2c06336801193a21d69b50.tar.gzfrom https://repo.or.cz/tinycc.git/snapshot/f6385c05308f715bdd2c06336801193a21d69b50.tar.gz
5 files, 955.1 KB
- APKBUILD 1.7 KB
- SHA256SUMS 354 B
- SOURCE-INFO.txt 486 B
- libtcc.pc.in 210 B
- tcc-f6385c05308f715bdd2c06336801193a21d69b50.tar.gz 952.4 KB
cmatrix-2.0-r2
Shipped as: cmatrix 2.0-r2
Licence: GPL-3.0-or-later
Build recipe: https://gitlab.alpinelinux.org/alpine/aports/-/tree/dcf926d126ee921df71282780cae6c160fe30783/community/cmatrix
Checked: sha512 of every file matches the APKBUILD (1 files)
cmatrix-2.0.tar.gzfrom https://github.com/abishekvashok/cmatrix/archive/v2.0.tar.gz
4 files, 202.3 KB
- APKBUILD 905 B
- SHA256SUMS 242 B
- SOURCE-INFO.txt 344 B
- cmatrix-2.0.tar.gz 200.8 KB
seabios-1.16.2
Shipped as: seabios.bin and vgabios.bin in vendor/v86-0.5.473 (built by the v86 project, commit cc37f35c43bf)
Licence: LGPL-3.0-or-later
Build recipe: https://github.com/copy/v86/tree/cc37f35c43bf14865d74ad76879ecf9410f69eb1/bios
Checked: the binaries in vendor/ equal v86's bios/*.bin at that commit (sha256); the build script and config are v86's
seabios-1.16.2.tar.gzfrom https://www.seabios.org/downloads/seabios-1.16.2.tar.gz
6 files, 631.8 KB
- SHA256SUMS 452 B
- SOURCE-INFO.txt 452 B
- seabios-1.16.2.tar.gz 621.0 KB
- v86-bios-COPYING.LESSER 7.5 KB
- v86-bios-fetch-and-build-seabios.sh 371 B
- v86-bios-seabios.config 2.1 KB
pyodide-0.29.5
Shipped as: vendor/pyodide-0.29.5 (pyodide.js, pyodide.asm.js, pyodide.asm.wasm, python_stdlib.zip)
Licence: MPL-2.0 (CPython inside: PSF-2.0)
Build recipe: https://github.com/pyodide/pyodide/tree/0.29.5
Checked: release tag archive from GitHub (Pyodide's own code and build recipes)
pyodide-0.29.5.tar.gzfrom https://github.com/pyodide/pyodide/archive/refs/tags/0.29.5.tar.gz
3 files, 1.5 MB
- SHA256SUMS 170 B
- SOURCE-INFO.txt 398 B
- pyodide-0.29.5.tar.gz 1.5 MB
quantaprism-tinylinux-e426548
Shipped as: vendor/tinylinux/bzImage and initrd.gz (packages.txt lists every package inside)
Licence: GPL-2.0-only (hello.c); our scripts: same terms
Build recipe: CodeSite/tools/tinylinux in the QuantaPrism repository (git e426548)
Checked: shipped-files.sha256: sha256 of the bzImage and initrd.gz this source belongs to
21 files, 35.5 KB
- SHA256SUMS 1.7 KB
- SOURCE-INFO.txt 364 B
- build-in-container.sh 2.7 KB
- build.sh 429 B
- fetch-sources.sh 10.0 KB
- hello/Makefile 17 B
- hello/hello.c 655 B
- kernel-version.txt 16 B
- make-source-index.py 6.8 KB
- packages.txt 391 B
- quantaprism-tinylinux-e426548.tar.gz 10.3 KB
- rootfs/etc/group 10 B
- rootfs/etc/motd 107 B
- rootfs/etc/passwd 33 B
- rootfs/etc/profile 192 B
- rootfs/init 491 B
- rootfs/root/animals.txt 229 B
- rootfs/root/hello.c 102 B
- rootfs/usr/local/bin/cowsay 424 B
- rootfs/usr/local/bin/help-me 458 B
- shipped-files.sha256 150 B
alpine-3.22-x86-apkindex
Shipped as: -
Licence: -
Build recipe: https://dl-cdn.alpinelinux.org/alpine/v3.22/
Checked: our-packages.txt: version and aports commit of every package in Tiny Linux, from these indexes
5 files, 2.3 MB
- APKINDEX-community.tar.gz 1.8 MB
- APKINDEX-main.tar.gz 486.2 KB
- SHA256SUMS 344 B
- SOURCE-INFO.txt 224 B
- our-packages.txt 1.7 KB