Comments (5)
Interestingly enough, everything exp/tcz and tce-load are symlinks to loop mounted squashfs files.
But not python3.9 nor python3.9-config.
Those are binaries copied directly over rootfs in ram.
from u-root.
Found it....
~ # tar zxvf /TinyCorePackages/tcloop/python3.9/usr/local/share/python3.9/files/
files.tar.gz
usr/
usr/local/
usr/local/bin/
usr/local/bin/python3.9
usr/local/bin/pip3.9
usr/local/bin/pip3
usr/local/bin/easy_install-3.9
usr/local/bin/2to3
usr/local/bin/pydoc3
usr/local/bin/idle3
usr/local/bin/python3-config
usr/local/bin/python3
usr/local/bin/pydoc3.9
usr/local/bin/idle3.9
usr/local/bin/2to3-3.9
usr/local/bin/python3.9-config
How does tce-load knows that it needs to extract compressed tgz over rootfs?
from u-root.
Found it.
There is a "final deployment scripts" which instructs of final package installation steps, deployed under /usr/local/tce.installed
Example:
~ # ls /usr/local/tce.installed/
openssl-1.1.1 python3.9
~ # cat /TinyCorePackages/tcloop/python3.9/usr/local/tce.installed/python3.9
#!/bin/sh
tar xzf /usr/local/share/python3.9/files/files.tar.gz -C /
~ # cat /usr/local/tce.installed/openssl-1.1.1
#!/bin/sh
[ -d /usr/local/etc/ssl/certs ] || mkdir -p /usr/local/etc/ssl/certs
[ -d /usr/local/etc/ssl/private ] || mkdir -p /usr/local/etc/ssl/private
[ -d /usr/local/etc/ssl/crl ] || mkdir -p /usr/local/etc/ssl/crl
[ -d /usr/local/etc/ssl/newcerts ] || mkdir -p /usr/local/etc/ssl/newcerts
[ -f /usr/local/etc/ssl/index.txt ] || touch /usr/local/etc/ssl/index.txt
[ -f /usr/local/etc/ssl/serial ] || echo "01" > /usr/local/etc/ssl/serial
[ -f /usr/local/etc/ssl/crlnumber ] || echo "01" > /usr/local/etc/ssl/crlnumber
Now, question is how to process them properly in go under exp/tcz after package install?
from u-root.
Someone looking into this might want to change 8.x to 14.x into exp/tcz doing so.
from u-root.
This was crosslinked from tinycore forum to here. Let's see if synergies can happen.
http://forum.tinycorelinux.net/index.php?topic=26241.msg168791#msg168791
from u-root.
Related Issues (20)
- brctl HOT 2
- tinygo support progress overview HOT 3
- tsort
- init: Load configured kernel modules before mounting file systems, e.g., efivarfs module before mounting /sys/firmware/efi/efivars.
- tftp HOT 1
- ip HOT 2
- nc
- ls command ignores all arguments
- OpenGPG lib HOT 1
- Additional go compiler flags HOT 1
- flaky pkg/mount/block vm_test
- set up codespell in CI
- cpio+reproducible is breaking hardlinks HOT 10
- Tool to mount archives as filesystems
- traceroute
- tc
- tinygo: cmds/boot/boot
- mount -o bind /proc /mnt/proc does not work HOT 1
- cmds/core/msr
- Unable to import any commands
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from u-root.