summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@nostromo.devel.redhat.com>2007-09-17 16:18:28 -0400
committerBill Nottingham <notting@nostromo.devel.redhat.com>2007-09-17 16:18:28 -0400
commit83b7d3e8d6d7fea5f2db3c64c7c1f9d4a86cfd0b (patch)
tree1cca494a55822c98f288d952be214c4b7c24a396
parent7adf1b7f22a0934311d5d22bdb800e4ac284bbd9 (diff)
downloadreleng-83b7d3e8d6d7fea5f2db3c64c7c1f9d4a86cfd0b.tar.gz
releng-83b7d3e8d6d7fea5f2db3c64c7c1f9d4a86cfd0b.tar.xz
releng-83b7d3e8d6d7fea5f2db3c64c7c1f9d4a86cfd0b.zip
add --update support (jkeating)
-rwxr-xr-xscripts/buildrawhide5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/buildrawhide b/scripts/buildrawhide
index 8baff90..1b8d81b 100755
--- a/scripts/buildrawhide
+++ b/scripts/buildrawhide
@@ -28,6 +28,11 @@ cvs -d :pserver:anonymous@cvs.fedora.redhat.com:/cvs/extras -z3 -q co comps && {
cd ..
}
mkdir -p /mnt/koji/mash/rawhide-$DATE/logs
+for dir in $OLD/development/*
+ do
+ rsync -aR `dirname $dir`/./`basename $dir`/os/repodata /mnt/koji/mash/rawhide-$DATE/development/
+ rsync -aR `dirname $dir`/./`basename $dir`/os/repoview /mnt/koji/mash/rawhide-$DATE/development/
+done
mash -o /mnt/koji/mash/rawhide-$DATE --compsfile /tmp/mashbuild.$DATE/comps.xml development > /mnt/koji/mash/rawhide-$DATE/logs/mash.log 2>&1 || exit 1
[ -n "\$OLD" ] && /usr/share/mash/treediff /mnt/koji/mash/rawhide-$DATE/development \$OLD/development > /mnt/koji/mash/rawhide-$DATE/logs/treediff
/usr/share/mash/spam-o-matic /mnt/koji/mash/rawhide-$DATE/development >/mnt/koji/mash/rawhide-$DATE/logs/depcheck