Bug#320024: patch for #320024
Michael Tautschnig
michael.tautschnig at zt-consulting.com
Thu Oct 20 01:28:50 CEST 2005
> >>>>> On Thu, 20 Oct 2005 00:26:29 +0200, Henning Sprang <henning_sprang at gmx.de> said:
>
> > Can't/shouldn't fai-mirror be tweaked so the fai-cd can work
> > successfully with the same sources.list that was used by fai-mirror, or
> > always with exactly the same one, so it doesn't need to be changed?
> IMO this will never be possible. What if I use http or ftp URI's in my
> sources.list? This will never work on the fai-cd. We should make
> fai-cd/fai-mirror support the default Debian mirror layout and the
> usual URI types.
>
Could somebody please try this one? For me, it produces the complete
sources.list...
for i in $mirrordir/dists/* ; do
echo -n "deb file:/media/mirror `basename $i` "
find $i -name "Packages*" | grep binary | \
sed 's/\/binary-.*$//' | uniq | sed "s#$i/##" | tr '\n' " "
echo
done
Thanks,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20051020/65a66a2b/attachment.bin
More information about the linux-fai-devel
mailing list