Tiny Core Linux
General TC => General TC Talk => Topic started by: aus9 on September 25, 2012, 09:56:39 PM
-
hi
I have read the wiki, its links to the forum and one link in wiki is currently a fail for me
http://wiki.tinycorelinux.net/wiki:tiki-view_faq.php?faqId=3#q5
--> its empty
AFAIK when we build a tcz we should include a pathway to be squashed called
/usr/local/tc.installed/newtczname
But when I look into that folder, most are "touch"ed files or empty files as they don't need to do anything
Those with contents appear to match the wiki section on Adding Custom Startup Scripts
fair enough
But in that folder for tce.installed .....there are also sym link files eg
ls -al /usr/local/tce.installed/depmod
lrwxrwxrwx 1 root staff 49 Sep 26 01:16 /usr/local/tce.installed/depmod -> /tmp/tcloop/depmod/usr/local/tce.installed/depmod
Question
So what is the preferred option please?
I don't mind changing the wiki if you like to reflect what ever is the answer.
2) Now I am thinking, some time in the future, that I will need a script to do some things, in quasi-code terms they are
(Please don't offer the code, I need the fun to build it please)
search for a package running, if there, continue with next search......its a seach for dependencies
---probably done as a loop ...you can tell I am not an expert ;)
else, search for a packaged already downloaded and load it
elif, download and run the missing package
elif
exit 0
fi
Now, http://wiki.tinycorelinux.net/wiki:package_management_cheat_sheet
so I have for already downloaded package.........tce-load -i packagename
And for package not downloaded......................tce-load -wi packagename
but there is also mention in second wiki link
search (tinycore command) ab pattern
but I don't find that command and search in app browser for "tag or provides" gives me too long a list so
Question
what package provides ab
and how does it differ from say......
find / -name stringname or cat /pathway2file/filename | grep patternkeyword
-
1. Re: http://wiki.tinycorelinux.net/wiki:creating_extensions
You only need to create the custom startup script "if you would like to do something when the package is 1st installed or again mounted on boot."
2. You have given no reason for needing this script.
Ab has been renamed tce-ab and is part of core.
-
Hi aus9
But in that folder for tce.installed .....there are also sym link files eg
When an extension gets loaded, those symlinks are created automatically. If your extension has a /usr/bin
directory in it, when loaded, it will get mounted to /tmp/tcloop, and symlinks will get created between /usr/bin
and /tmp/tcloop/yourextension/usr/bin.
-
gerald_clark
tce-ab ahhhh I get it, terminal command for Apps Browser.
tce-ab ......Keywords........I assume this is using a search for Tags from the info file?
Rich
I will keep it simple then and not try to create a structure to be squashed called
/tmp/tcloop/packagename/usr/local/tce.installed/packagename
with a sym link to /usr/local/tce.installed/packagename.
which is what I was trying to report eh?
2) I will edit the wiki to update ab to tce-ab
-
Hi aus9
Ixbrian made some outstanding diagrams that show how Tinycore works, go to:
http://forum.tinycorelinux.net/index.php/topic,13041.msg71803.html#msg71803
and spend some time looking at the link under TCZ Mount mode architecture:.