General TC > Programming & Scripting - Unofficial

extension audit script

<< < (14/21) > >>

jls:
The script doesn't recognizes me as package maintainer, maybe because there are spaces in my name?

Jason W:
It seems to work fine here, with the spaces


--- Code: ---
root@box:/home/tc# submitqc4
There are extensions without md5.txt files : mldonkey.tcz. Do you want to proceed and create md5.txt files for these and check the existing ones?  y/n  y
 
mldonkey.tcz is maintained by  jls_legalize <unsenepopiu at tin dot it>. You are  jls_legalize <unsenepopiu at tin dot it>.  Make sure the maintainer is aware you are updating his extension.
 
mldonkey.tcz  has some similarly named extensions in the repo.  Make sure yours does not    collide with these:
 
mldonkey.tcz
 
The following errors are found in mldonkey.tcz.info. No news is good news:
mldonkey.tcz is a valid tcz file.  Creating MD5 for mldonkey.tcz:
 
#######

--- End code ---

Alatun:
There is a link in the wiki to this thread, howto to submit extensions (http://wiki.tinycorelinux.net/wiki:creating_extensions).

It's a bit cumbersome to read thru this thread, to filter out the relevant information.

Suggestion: put the most recent info in the first posting or put the most recent info into the wiki.

When using the submitqc6 script as user "tc" it complains about missing permissions to remove files in the temporary mounted directory and finally fails to umount the extension.

When running this script as root (sudo) it seems ok. Is this by design? If so, it should be documented.

gordon64:
Hi Alatun

from the wiki

--- Quote ---If you prefer the build script way, it is easy to build root:root by running the script as root.
--- End quote ---

and lower down...

--- Quote ---sudo chown -R root:staff /tmp/package/usr/local/tce.installed
sudo chmod -R 775 /tmp/package/usr/local/tce.installed
--- End quote ---

This shows you that you have 2 choices in building and they are
build as root or
build as local user but fix permission, ownership using sudo

so choose your build method and then either submitqc6 will run as root
or run it as sudo.

good luck

Alatun:

--- Quote from: gordon64 on September 18, 2015, 10:10:31 AM ---Hi Alatun

from the wiki

--- Quote ---If you prefer the build script way, it is easy to build root:root by running the script as root.
--- End quote ---

and lower down...

--- Quote ---sudo chown -R root:staff /tmp/package/usr/local/tce.installed
sudo chmod -R 775 /tmp/package/usr/local/tce.installed
--- End quote ---

This shows you that you have 2 choices in building and they are
build as root or
build as local user but fix permission, ownership using sudo

so choose your build method and then either submitqc6 will run as root
or run it as sudo.

good luck

--- End quote ---

Hm, the stuff you are quoting deals with "Custom Startup Scripts".

I was refering to the submitqc6 script (a script to check the quality of extensions),
which is no custom startup script, so I'm confused what you like to tell me???

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version