/[fai]/trunk/examples/simple/scripts/FAISERVER/20-copy-mirror
ViewVC logotype

Contents of /trunk/examples/simple/scripts/FAISERVER/20-copy-mirror

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6472 - (hide annotations) (download)
Sat Apr 16 09:38:07 2011 UTC (2 years, 1 month ago) by mt
File size: 475 byte(s)
Replace lenny with squeeze in all apt related sources.

Merge of 7cd0760 from 3.4 into trunk.
1 lange 3198 #! /bin/bash
2    
3 lange 3297 # TODO: if we install from network copy the package mirror via, e.g., wget
4 lange 3290
5 lange 3198 [ -d /media/mirror ] || exit 0
6    
7 lange 3290 echo "Copying Debian mirror from CD to local disk. This may take some time."
8 lange 3198 mkdir -p $target/var/www/debian
9     cp -a /media/mirror/* $target/var/www/debian
10    
11     cd $target/var/www/debian/dists
12 mt 6472 # this link can only work when squeeze is released. For testing before the release use : ln -s testing squeeze
13     ln -s stable squeeze
14 lange 3216
15     fcopy -v /etc/rc2.d/S99fai-setup

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5