source: soft/build_system/build_system/upload/robot/trunk/cooker-get-amd64 @ 1

Last change on this file since 1 was 1, checked in by fasma, 12 years ago

Initial Import from Mandriva's soft revision 224062 and package revision 45733

File size: 1019 bytes
Line 
1#!/bin/sh
2
3RSYNCOPT=" -l --partial --delete -az -e ssh --timeout=120 $@"
4
5#LOCK=/mnt/BIG/distrib/cooker/cooker/Mandrake/.update_in_progress
6#LOCK=/mnt/BIG/distrib/.update_in_progress
7# check lock created by the admin script to be sure
8# to have a clean tree.
9
10#  ping -c 1 -i 30 kenobi > /dev/null
11
12#  if [ $? != 0 ]; then
13#      if [ -n "$*" ]; then
14#       echo "kenobi is down"
15#      fi
16#      exit 0
17#  fi
18
19if [ -n "$*" ]; then
20    echo "Mirroring amd64 from galois"
21fi
22rsync -avlHPe ssh -xc arcfour cooker@galois:/export/ ./
23exit
24
25path=/mnt/BIG/dis/cooker/amd64
26if [ -n "$*" ]; then
27    echo "Mirroring amd64 from gauss"
28fi
29#rsync $RSYNCOPT --exclude RPMS2 --exclude RPMS3 --exclude hdlist warly@gauss:/export/ $path/
30
31#gendistrib --noclean --distrib $path
32
33/c/cooker/misc/MakeCD --update-rpmsrate $path/Mandrake/base/rpmsrate $path/Mandrake/RPMS/
34pushd  $path/Mandrake/base/
35md5sum hdlist* synthesis* > MD5SUM
36chmod 644 hdlist* synthesis* MD5SUM
37popd
38cp $path/Mandrake/base/synthesis.hdlist.cz $path/Mandrake/RPMS/
Note: See TracBrowser for help on using the repository browser.