/[smeserver]/builds_bin/PrepTest.sh
ViewVC logotype

Annotation of /builds_bin/PrepTest.sh

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


Revision 1.2 - (hide annotations) (download) (as text)
Fri Sep 16 00:57:13 2005 UTC (19 years, 2 months ago) by gordonr
Branch: MAIN
Changes since 1.1: +10 -10 lines
Content type: application/x-sh
Remove cdrom.image subdir ref. to match current link

1 gordonr 1.1 #!/bin/sh
2    
3     for img in product updates
4     do
5     /usr/bin/mkcramfs \
6 gordonr 1.2 /builds/current/$img \
7     /builds/current/CentOS/base/$img.img
8 gordonr 1.1 done
9    
10     rm -f ~/rpms/SRPMS/comps-*
11     rm -f ~/rpms/RPMS/i386/comps-*
12     rpmbuild -ba ~/rpms/SPECS/comps-smeserver.spec
13     cp ~/rpms/SRPMS/comps* /builds/rpms/SRPMS/
14     cp ~/rpms/RPMS/i386/comps* /builds/rpms/RPMS/i386/
15 gordonr 1.2 rm -f /builds/current/CentOS/RPMS/comps-4*
16     cp ~/rpms/RPMS/i386/comps* /builds/current/CentOS/RPMS/
17     cp -f ~/rpms/RPMS/i386/comps* /builds/current/CentOS/base/comps.rpm
18 gordonr 1.1
19     PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/genhdlist \
20     --withnumbers \
21 gordonr 1.2 /builds/current/
22 gordonr 1.1
23     PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/pkgorder \
24     /builds/current/cdrom.image \
25     i386 > /tmp/pkgorder
26    
27     PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/genhdlist \
28     --withnumbers \
29     --fileorder /tmp/pkgorder \
30 gordonr 1.2 /builds/current/
31 gordonr 1.1
32     rm -f ~/rpms/SRPMS/comps-*
33     rm -f ~/rpms/RPMS/i386/comps-*
34     rpmbuild -ba ~/rpms/SPECS/comps-smeserver.spec
35     cp ~/rpms/SRPMS/comps* /builds/rpms/SRPMS/
36     cp ~/rpms/RPMS/i386/comps* /builds/rpms/RPMS/i386/
37 gordonr 1.2 rm -f /builds/current/CentOS/RPMS/comps-4*
38     cp ~/rpms/RPMS/i386/comps* /builds/current/CentOS/RPMS/
39     cp -f ~/rpms/RPMS/i386/comps* /builds/current/CentOS/base/comps.rpm
40 gordonr 1.1
41     rm /tmp/pkgorder
42    
43     # That's it.

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