Tiny Core Linux

General TC => Remasters / Remixes - Unofficial => Topic started by: tinyme on March 20, 2013, 05:23:45 AM

Title: qremaster error
Post 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
Title: Re: qremaster error
Post by: tinypoodle on March 20, 2013, 06:36:07 AM
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
Title: Re: qremaster error
Post by: Rich on March 20, 2013, 11:22:13 AM
Hi tinyme
Open the qremaster script and change:
Code: [Select]
TCE_DIR=$(cat /opt/.tce_dir)/optionalto:
Code: [Select]
TCE_DIR=$(readlink /etc/sysconfig/tcedir)/optional || TCE_DIR=$(cat /opt/.tce_dir)/optional
Quote
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
Title: Re: qremaster error
Post by: tinyme on March 20, 2013, 12:18:03 PM
Hi tinyme
Open the qremaster script and change:
Code: [Select]
TCE_DIR=$(cat /opt/.tce_dir)/optionalto:
Code: [Select]
TCE_DIR=$(readlink /etc/sysconfig/tcedir) || TCEDIR=$(cat /opt/.tce_dir)
Quote
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?
Title: Re: qremaster error
Post by: Rich on March 20, 2013, 12:53:40 PM
Hi tinyme
Quote
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:
Code: [Select]
TCE_DIR=$(readlink /etc/sysconfig/tcedir)/optional || TCE_DIR=$(cat /opt/.tce_dir)/optional
Title: Re: qremaster error
Post by: tinyme on March 22, 2013, 12:48:07 PM
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?
Title: Re: qremaster error
Post by: Rich on March 22, 2013, 12:59:32 PM
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.
Title: Re: qremaster error
Post by: tinyme on March 22, 2013, 01:38:41 PM
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.
Title: Re: qremaster error
Post by: Rich on March 22, 2013, 01:47:18 PM
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
Title: Re: qremaster error
Post by: tinyme on March 22, 2013, 01:50:22 PM
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.
Title: Re: qremaster error
Post by: ixbrian on March 23, 2013, 01:12:14 PM
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. 
Title: Re: qremaster error
Post by: tinyme on March 25, 2013, 05:35:08 AM
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.
Title: Re: qremaster error
Post by: danielibarnes on June 22, 2013, 07:48:06 PM
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.