Tiny Core Linux
General TC => Remasters / Remixes - Unofficial => Topic started by: tinyme on March 20, 2013, 05:23:45 AM
-
Dear,
I'm trying to make a php form that creates a tiny/microcore isofile.
Therefore I use qremaster and tinycore webserver with php support.
However when I execute the qremaster script I get following errors:
cat: can't open 'opt/.tcedir': no such file or directory => already tried creating this dir but then I still get the error (changed tce dir in script but still read error)
unable to read package.tcz => resolved also => extension wasn't in directory and qremaster doesn't download it.
The only problem now is that the -d option doesn't work. Is it possible to have a mirror of all extensions?
thx
-
cat: can't open 'opt/.tcedir': no such file or directory => already tried creating this dir but then I still get the error (changed tce dir in script but still read error)
This has been changed form a file to a symlink being /etc/sysconfig/tcedir
-
Hi tinyme
Open the qremaster script and change:
TCE_DIR=$(cat /opt/.tce_dir)/optional
to:
TCE_DIR=$(readlink /etc/sysconfig/tcedir)/optional || TCE_DIR=$(cat /opt/.tce_dir)/optional
unable to read package.tcz => resolved also => extension wasn't in directory and qremaster doesn't download it.
The only problem now is that the -d option doesn't work. Is it possible to have a mirror of all extensions?
I'm guessing that the -d option probably does work but you ask for the wrong package name. I don't see a package.tcz
but I do see a package-tools.tcz listed in the repository.
[EDIT]: Corrected the code block listed under "to:" Rich
-
Hi tinyme
Open the qremaster script and change:
TCE_DIR=$(cat /opt/.tce_dir)/optional
to:
TCE_DIR=$(readlink /etc/sysconfig/tcedir) || TCEDIR=$(cat /opt/.tce_dir)
unable to read package.tcz => resolved also => extension wasn't in directory and qremaster doesn't download it.
The only problem now is that the -d option doesn't work. Is it possible to have a mirror of all extensions?
I'm guessing that the -d option probably does work but you ask for the wrong package name. I don't see a package.tcz
but I do see a package-tools.tcz listed in the repository.
Actually that was an example. I used the package partimage.tcz in the -d option. My tcz dir is /mnt/sda1/tcz/optional.
Is there any difference when i use this directory?
-
Hi tinyme
Is there any difference when i use this directory?
No, but it does make a difference if I gave you the wrong information. :-[
The new line should have read:
TCE_DIR=$(readlink /etc/sysconfig/tcedir)/optional || TCE_DIR=$(cat /opt/.tce_dir)/optional
-
No problem thx for the right info now :)
Is there any interest in the script when it's finished? Or doesn't tinycore run on a tinycore server?
-
Hi tinyme
You might want to send a PM to danielibarnes and ask if he would consider updating his script. Include a link
back to this thread.
-
Hi tinyme
You might want to send a PM to danielibarnes and ask if he would consider updating his script. Include a link
back to this thread.
Hi Rich,
I use daniellibarnes's script for creating the iso. What I meant was that maybe it would be nice that tinycore had a custom iso generator. If there is any interest in the script I will put it in this thread when ready.
-
Hi tinyme
Yes, I understood. I was suggesting that since his script no longer functions properly with the current version of
Tinycore, and other people may try to use it in the future, you might bring it to his attention.
You are welcome to post your script under Programming & Scripting - Unofficial
-
Hi tinyme
Yes, I understood. I was suggesting that since his script no longer functions properly with the current version of
Tinycore, and other people may try to use it in the future, you might bring it to his attention.
You are welcome to post your script under Programming & Scripting - Unofficial
Ok, I will update the qremaster topic with a link to this one.
-
Hi tinyme
You might want to send a PM to danielibarnes and ask if he would consider updating his script. Include a link
back to this thread.
Hi Rich,
I use daniellibarnes's script for creating the iso. What I meant was that maybe it would be nice that tinycore had a custom iso generator. If there is any interest in the script I will put it in this thread when ready.
You can also check out ezremaster. It is a GUI frontend and a shell script that remasters Tiny Core, and it works with the latest releases of Tiny Core.
-
I got the script already working. The only problem is that it doesn't get the packages who aren't on the computer (-d option)
However, that's not a problem. I can setup a mirror for that. Then the newest packages are always available.
-
I made the suggested fix and updated the original post. Thanks for the input. Please let me know if there are any other adjustments that need to be made. I did some brief testing with 3.8.4 and 4.7.7. Please let me know if there are any issues.