Hi,
On Thu, 2005-10-20 at 01:28 +0200, Michael Tautschnig wrote:
[...]
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 | \
Done.
slightly modified built into fai-cd. worked in my tests.
Thanks! But IMHO there are two minor issues - I'm quoting your patch for
reference:
Committed in subversion /people/lazyboy/bugfixes/320024/
tmp1=$(mktemp)
cat $tmp1 EOF
# mirror location for fai CD, file
On Thu, 2005-10-20 at 15:24 +0200, Michael Tautschnig wrote:
[...]
You need to add echo to have a newline after each deb file:/, i.e.
Added and tested,worked well with my examples. But I have no example
where the script needs to generate multiple lines. It puts main and
updates/main in
On Wed, 2005-10-19 at 00:28 +0200, Thomas Lange wrote:
Try this one please.
[~] diff /usr/sbin/fai-cd .
206a207,210
# which components are available? main, contrib non-free
components=$(find $mirrordir/dists/stable/* -maxdepth 0 -type d -printf
%f\n)
214c218
deb
On Wed, 2005-10-19 at 00:28 +0200, Thomas Lange wrote:
Try this one please.
[~] diff /usr/sbin/fai-cd .
206a207,210
# which components are available? main, contrib non-free
components=$(find $mirrordir/dists/stable/* -maxdepth 0 -type d
-printf %f\n)
214c218
On Wed, 2005-10-19 at 21:56 +0200, Michael Tautschnig wrote:
[...]
Still, your flexible solution is a better idea, but it would need to be
extended to handle the things described above correctly. I can try that,
I need some perl training anyway, but won't come to that today. If
you're
6 matches
Mail list logo