SliTaz SliTaz Forum

You are not logged in.

#1 2015-04-12 15:07:51

Darjeeling
Member
Registered: 2012-02-06
Posts: 210

Setting up a local offline-mirror ...

... seems impossible, at least I can't figure out how to do it. Tazpkg uses busybox wget which doesn't handle "file://" links, and using a simple path like "/seagate/5.0/repo" fails ...

> Please enter URL of the new mirror (http, ftp or local path).

> You must specify the complete address to the directory of

> the packages and packages.list file.

... because the required list file is missing. How do I create a list file for the 90 odd packages that are in the repo directory? Can someone please help me with this?

Offline

#2 2015-04-12 15:19:35

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Setting up a local offline-mirror ...

On the slitaz build server the command [c]cook pkgdb[/c] generates packages.list

http://hg.slitaz.org/cookutils/file/1bcdba9d34f0/cook#l1357

cd to your repo folder

[c]ls -1 *.tazpkg | sed s'/.tazpkg//' > packages.list[/c]

After [c]ls[/c] is dash followed by the number [c]1[/c]

Offline

#3 2015-04-12 19:10:20

Darjeeling
Member
Registered: 2012-02-06
Posts: 210

Re: Setting up a local offline-mirror ...

It works! Thanks very much, Mojo!

When I saw all those files in /var/lib/tazpkg I thought much more than a single list file was necessary to make tazpkg work locally. Now I can go on tinkering with the customization of my live CD without causing so much traffic.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]