[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Official test-cycle-1 images!



On Tue, 23 May 2000, Carlos Bustamante G. wrote:

> I'm trying to mirror the images from
> cdimage.debian.org::potato_test-cycle-1_nonUS/  using 
> debiancdmirror script, but it seems to need the ls-lR file. My
> debiancdmirror.log says:
> 
> Tue May 23 21:07:04 CLT 2000  Mirroring started.
> Tue May 23 21:07:04 CLT 2000  Getting ls-lR from rsync server.
> Tue May 23 21:07:09 CLT 2000  Rsync server error (ls-lR not present).
> Tue May 23 21:07:09 CLT 2000  Aborting.
> 
> What can I do? Any suggestion?

Simple: don't use debcdmirror ;-)

I've made a simple script for my own use, called "multigrab". Put any .list
files in the Pseudo-Image Kit's directory (which is where the images will
come), then run "multigrab *.list".

--8<----------------------
#! /bin/sh

PACKMIRROR="ftp://substitute-any-mirror-here/debian";
# WITHOUT trailing slash

RSYNCSERVER="cdimage.debian.org::potato_test-cycle-1_nonUS/"
# WITH trailing slash

export PATH="$PATH":.

while [ "$1" != "" ] ; do
  make-pseudo-image "$1" "$PACKMIRROR" >> multigrab.log 2>&1

  rm -rf pseudo-image.*
  mv pseudo-image ${1%%.list}

  rsync --verbose --stats --block-size=8192                             \
        "$RSYNCSERVER""${1%%.list}" . >> multigrab.log 2>&1

  shift
done
--8<----------------------

Tested, and seems to work well.


Regards,
  Anne Bezemer



Reply to: