/[smeserver]/builds_bin/rsync_sme
ViewVC logotype

Contents of /builds_bin/rsync_sme

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Feb 12 18:52:06 2010 UTC (14 years, 9 months ago) by slords
Branch: MAIN
Tools update

1 #!/bin/bash
2
3 ver7=7.5beta1
4 ver8=8.0beta5
5 isos=false
6
7 mkdir -p /releases/testing/$ver8/{smeos,iso}
8 if $isos
9 then
10 rsync -avhHP --delete /stage/iso/7/ /releases/testing/$ver7/iso/
11 else
12 rsync -avhHP --exclude '*.iso*' --delete-excluded --delete /stage/iso/7/ /releases/testing/$ver7/iso/
13 fi
14 rsync -avhHP --exclude 'product/' --exclude 'updates/' --exclude 'pkgorder.*' --exclude 'build_*' --exclude '*.jigdo/' --delete-excluded --delete /stage/7/ /releases/testing/$ver7/smeos/
15
16 if $isos
17 then
18 rsync -avhHP --delete /stage/iso/8/ /releases/testing/$ver8/iso/
19 else
20 rsync -avhHP --exclude '*.iso*' --delete-excluded --delete /stage/iso/8/ /releases/testing/$ver8/iso/
21 fi
22 rsync -avhHP --exclude 'updates/' --exclude 'pkgorder.*' --exclude 'build_*' --exclude '*.jigdo/' --delete-excluded --delete /stage/8/ /releases/testing/$ver8/smeos/
23 createrepo --update --database --groupfile repodata/comps.xml /releases/testing/$ver8/smeos/i386/
24 createrepo --update --database --groupfile repodata/comps.xml /releases/testing/$ver8/smeos/x86_64/
25
26 ls /builds /releases /stage > /dev/null
27 find /builds/ /releases/ /stage/ -\( -not -user releases -o -not -group releases -\) -print0 | xargs -r0 chown releases:releases
28 chgrp updates /releases/{7,testing/8}/smeupdates-testing/i386/RPMS
29 chgrp contribs /releases/{7,testing/8}/smecontribs/i386/RPMS
30 find /builds/ /releases/ /stage/ -type f -\( -not -perm -664 -o -perm -002 -\) -print0 | xargs -r0 chmod u+rw,g+rw,o+r,o-w
31 find /builds/ /releases/ /stage/ -type d -\( -not -perm -2775 -o -perm -002 -\) -print0 | xargs -r0 chmod u+rwx,g+rwxs,o+rx,o-w

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed