WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: SCRIPT - Download all dependencies of a .tcz package  (Read 3730 times)

Offline Blues_Wolf

  • Newbie
  • *
  • Posts: 8
SCRIPT - Download all dependencies of a .tcz package
« on: June 17, 2014, 11:44:15 AM »
Hello all,

This is a script I made for re-packaging outside the TCL environment. Maybe tce-load already does it, but anyway. I'll leave it here in case someone needs it.
It downloads all packages in a list file, all it's dependencies, and it's dependencies dependencies, etc...

1) Verify the first 2 constants (mirror URL and kernel version)
2) Point the script to a text file with the list of packages, it can be a file like the onboot.lst or a .dep of a tcz packages with the list of dependencies.

Example:
I Want to download all dependencies for a .TCZ file, of the 4.x version
1) I leave the default constants
readonly cstMIRROR=http://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz/
readonly cstKERNEL=3.0.21-tinycore

2) I download the .dep file for that package from the mirror and point the script to it.
./gettcz.sh FreeRDP-ffmpeg.tcz.dep

After some time, all packages will be in the current folder.

Anyway, I hope it's useful for someone..

Regards
PS: It requires de wget package. I tested it on debian.
« Last Edit: June 17, 2014, 11:49:49 AM by Blues_Wolf »

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: SCRIPT - Download all dependencies of a .tcz package
« Reply #1 on: June 30, 2014, 12:57:38 AM »
Not Working

Offline Blues_Wolf

  • Newbie
  • *
  • Posts: 8
Re: SCRIPT - Download all dependencies of a .tcz package
« Reply #2 on: July 03, 2014, 12:10:45 PM »
Not Working

Would you be more specific?

It's working in Linux Mint