Git Product home page Git Product logo

Comments (5)

tlaurion avatar tlaurion commented on September 23, 2024

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.

tlaurion avatar tlaurion commented on September 23, 2024

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.

tlaurion avatar tlaurion commented on September 23, 2024

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.

tlaurion avatar tlaurion commented on September 23, 2024

Someone looking into this might want to change 8.x to 14.x into exp/tcz doing so.

from u-root.

tlaurion avatar tlaurion commented on September 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.