]> CyberLeo.Net >> Repos - CDN/j.git/blob - seeds/cnu-debian.sh
j/seeds/cnu-debian: new seed to use CNU mirror infrastructure
[CDN/j.git] / seeds / cnu-debian.sh
1 # Initialize a debian seed using the CNU mirror infrastructure
2
3 # Parameters that I want on the command line:
4 # <arch> <suite>
5
6 repo=http://apt-mirror.cashnetusa.com/debian
7
8 . "${jseed}/debian.sh"
9
10 echo "Installing CNU Repos key"
11 curl -L http://apt-repo.cashnetusa.com/cnu-mirrors.gpg | env -i ${jenv} ${chroot} ${jroot} /usr/bin/apt-key add -
12
13 echo "Patching in CNU repos"
14 echo "deb http://apt-repo.cashnetusa.com/debian ${suite}/devel default" >> "${jroot}/etc/apt/sources.list"