General TC > Programming & Scripting - Unofficial
extension audit script
Jason W:
Stat is part of coreutils, but I have also seen that error message as when I boot I see /usr/local/tce.installed/coreutils but the extension itself is not loaded. It is likely a bug in an extension somewhere and I will look more into it later today, have not had the chance to yet.
robc:
I think this script should be put in the repo as an extension. That way the deps will be installed with it. Also it will allow for further automation of build scripts.
Jason W:
Though I keep my remaster, fetch-and-package, and other scripts in this section and out of the repo, the audit script is different as it is used as part of the submission process and recommended for extension makers to either use or at least be aware of what is needed to be correct and factor that into their own routines.
With it in the repo, it will be updated each time tce-update is run if I have made any changes to it. And deps will be automatically installed and ready to go.
I have a few minor adjustments to make to it and I will ponder placing it in the repo.
Jason W:
Now in the repo as submitqc.tcz, and the script name is submitqc.
Rich:
Hi Jason W
--- Quote ---The graphics-2.6.33.3-tinycore.tcz entry in nvidia-96.43.20-module-2.6.33.3-tinycore.tcz.dep needs to use the KERNEL variable instead of kernel version number.
--- End quote ---
This message could be a little clearer, since you have to replace more than just the number:
--- Quote ---The graphics-2.6.33.3-tinycore.tcz entry in nvidia-96.43.20-module-2.6.33.3-tinycore.tcz.dep needs to have "version-tinycore" replaced with the word "KERNEL" .
--- End quote ---
The script also ran into trouble trying to fix one of my errors:
--- Quote ---chown: changing ownership of `nvidia-96.43.20-glx.tcz.123456789/usr/local/tce.installed/nvidia-96.43.20-glx': Operation not permitted
chown: changing ownership of `nvidia-96.43.20-glx.tcz.123456789/usr/local/tce.installed': Operation not permitted
--- End quote ---
I'm guessing there should be a sudo in front of the chmod and chown commands.
Due to cutting and pasting I introduced a typo in my dependency file:
nvidia-96.43.20-module-KERNEL.tcz.dep instead of nvidia-96.43.20-module-KERNEL.tcz
The dependency check did not flag it as a missing dependency.
Overall, a very helpful utility, thank you.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version