WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: configuring local repository  (Read 3782 times)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
configuring local repository
« on: November 06, 2013, 01:49:45 AM »
hi , I have downloaded the entire repository from http://tinycorelinux.net/5.x/x86/tcz/ in folder /repo
How can I set local folder as repository ?

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: configuring local repository
« Reply #1 on: November 06, 2013, 05:10:10 AM »
You're really not supposed to do that as it takes a while and eats up a largish amount of server bandwidth  But having done so, the simplest way would be to just drop the whole mess into your /etc/sysconfig/tcedir/optional/ drectory... Though I'd think twice before adding everything to onboot.lst.    ;D
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: configuring local repository
« Reply #2 on: November 07, 2013, 06:25:12 AM »
4191 tcz files in all stored in my hard disk.
sum of all files found using command
Code: [Select]
\ls -l *tcz > /cygdrive/d/calculate-size-of-all-tcz.txt
cat /cygdrive/d/calculate-size-of-all-tcz.txt | awk 'BEGIN{sum=0};{ sum=sum+$5};END{print sum}'
is
9073320469 , 8.4GB (unit conversion via http://www.matisse.net/bitcalc/)
I digressed.
Question)Can I place a link of repo-folder inside /etc/sysconfig/tcedir/optional/ OR I have to create link to each file ?
« Last Edit: November 07, 2013, 07:13:08 AM by manit123 »

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: configuring local repository
« Reply #3 on: November 07, 2013, 11:14:27 AM »
Hi manit123
Quote
hi , I have downloaded the entire repository from http://tinycorelinux.net/5.x/x86/tcz/ ...
Quote
4191 tcz files in all stored in my hard disk.
I show TC5.x has 1601 extensions available and TC4.x has 4260.
Quote
Question)Can I place a link of repo-folder inside /etc/sysconfig/tcedir/optional/ OR I have to create link to each file ?
I'm not certain, but I think you may need to use the  tce=  boot code to point to your repo so your extensions are found
while booting.

Offline beroje

  • Full Member
  • ***
  • Posts: 130
Re: configuring local repository
« Reply #4 on: November 07, 2013, 06:33:33 PM »
OR I have to create link to each file ?
Google Translator
In version 5.0.2, Yes

Traductor de Google
En la versión 5.0.2, Sí

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: configuring local repository
« Reply #5 on: November 08, 2013, 01:43:54 AM »
I have used debian based distros like ubuntu etc.
In them , I used to create packages.gz using dpkg-scan-packages then add the packages.gz folder to /etc/apt/sources.list
before installing i copied required debs to /var/cache/apt/archives . OS thinks that files have been downloaded earlier & installs them now.
I have seen info.lst being downloaded by tiny core before downloading & installing packages
is there any such provision in tiny core ?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: configuring local repository
« Reply #6 on: November 08, 2013, 07:39:29 AM »
As already said, put them all in your optional folder. Then you can pick them using Apps onboot/ondemand maintenance, or temporarily via Load local.
The only barriers that can stop you are the ones you create yourself.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: configuring local repository
« Reply #7 on: November 14, 2013, 09:37:27 AM »
creating link of all tcz & dep files worked.

It would have been great , if creating a link to tcz containing folder had sufficed