-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exp/tcz : postinstall scripts are not executed (usr/local/tce.installed/*) #2665
Comments
Interestingly enough, everything exp/tcz and tce-load are symlinks to loop mounted squashfs files. Those are binaries copied directly over rootfs in ram. |
Found it....
How does tce-load knows that it needs to extract compressed tgz over rootfs? |
Found it. There is a "final deployment scripts" which instructs of final package installation steps, deployed under /usr/local/tce.installed Example:
Now, question is how to process them properly in go under exp/tcz after package install? |
Someone looking into this might want to change 8.x to 14.x into exp/tcz doing so. |
Whole goal from Heads desires into tinycore would be: - cryptsetup-reencrypt (not avail) - thin-provisioning-tools (nice to have, but might dodge it by choosing brtfs or xfs. wyng has now support for it) - lvm2 tools (requires proper dm mods that are kernel versioned, and not dealt with under u-root either as of now) - gpg2 toolstack (present) - tinycore providing system libraries into a seperate tcz (otherwise check what is packed currently under u-root.cpio under modules/u-root: this is now 2.5mb compressed by xz. That won't fly) - u-root cannot be easily compiled by tinygo as of now: not avail under debian-11 nor debian-12.... I talked a bit on tinycore channel, tried to register to forum, now got a link to hack the registration form at:https://forum.tinycorelinux.net/index.php/topic,25947.msg168262.html#msg168262 All of this is not a really good sign for a healthy inclusion if goal is not to deduplicate work and contribute to tinycore for package updates... Vibe for the moment is: meh. Alternatives? - check for nix package caches, see how complicated it would be to wrap around this... - which goes back again into why not building Heads into NixOS, just like ownerboot is doing, but using caches of already verified reproducible binares...
This was crosslinked from tinycore forum to here. Let's see if synergies can happen. |
Describe the bug
Under tinycore,
tce-load -wi python3.9
provides interpreter and configurator under/usr/local/bin/python3.9
and/usr/local/bin/python3.9-config
respectively (as expected)exp/tcz doesn't.
To Reproduce
tcz -v 14.x -d python3.9
(or
tcz python
to use current 8.x hardcoded download path to tinycore x86_64 8.x release tcz files: no python 2.7 either under /usr/local/bin)Expected behavior
Have python under /usr/local/bin/python3.9 as under tinycore
Additional context
none
The text was updated successfully, but these errors were encountered: