diff options
author | Rick Bradshow <bradshaw@mcs.anl.gov> | 2006-02-27 18:30:10 +0000 |
---|---|---|
committer | Rick Bradshow <bradshaw@mcs.anl.gov> | 2006-02-27 18:30:10 +0000 |
commit | fc9881381c8bb4d6e729532de2fe030b3ff418b3 (patch) | |
tree | e947bc5158e16eb4fc5173eaca8fe45c7121b5d2 /tools/local-deb-repo-maker | |
parent | 5e6b51308eaf85dbb51998fd53e698b75767f604 (diff) | |
download | bcfg2-fc9881381c8bb4d6e729532de2fe030b3ff418b3.tar.gz bcfg2-fc9881381c8bb4d6e729532de2fe030b3ff418b3.tar.bz2 bcfg2-fc9881381c8bb4d6e729532de2fe030b3ff418b3.zip |
I updated all my repo scripts for the latest changes in the 0.8 version of
the repo. these are still very specific to my repo, but should give a good
idea of what is needed.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1772 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'tools/local-deb-repo-maker')
-rw-r--r-- | tools/local-deb-repo-maker | 34 |
1 files changed, 8 insertions, 26 deletions
diff --git a/tools/local-deb-repo-maker b/tools/local-deb-repo-maker index ab0771644..82bb9b0be 100644 --- a/tools/local-deb-repo-maker +++ b/tools/local-deb-repo-maker @@ -1,28 +1,10 @@ -#!/bin/sh +#!/bin/bash +# now build the Package files for everything in the sarge repo + +cd /disks/debian +dpkg-scanpackages sarge /dev/null > sarge/Packages +cd sarge +gzip -c Packages > Packages.gz + -HOSTNAME=`/bin/hostname` -#this is to pull the mplayer/avi stuff. -if [ ${HOSTNAME} == "debian-test" ]; then - cd /tmp - ncftpget ftp://ftp.nerim.net/debian-marillat/dists/stable/main/binary-i386/Packages - grep Package: Packages | awk '{print "ncftpget ftp://ftp.nerim.net/debian-marillat/dists/stable/main/binary-i386/" $2"\\*"}' > marillat-sync - cd /sandbox/woody/ - sh /tmp/marillat-sync - cd /sandbox - dpkg-scanpackages woody /dev/null > woody/Packages - cd woody - gzip -c Packages > Packages.gz -elif [ ${HOSTNAME} == "wonkarific.mcs.anl.gov" ]; then -#this is to pull the testing stuff. - - cd /tmp - ncftpget ftp://ftp.nerim.net/debian-marillat/dists/testing/main/binary-i386/Packages - grep Package: Packages | awk '{print "ncftpget ftp://ftp.nerim.net/debian-marillat/dists/testing/main/binary-i386/" $2"\\*"}' > marillat-sync - cd /sandbox/sarge/ - sh /tmp/marillat-sync - cd /sandbox - dpkg-scanpackages sarge /dev/null > sarge/Packages - cd sarge - gzip -c Packages > Packages.gz -fi |