/[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.1 - (hide annotations) (download) (as text)
Thu Sep 15 23:55:09 2005 UTC (19 years, 2 months ago) by gordonr
Branch: MAIN
Branch point for: SME
Content type: application/x-sh
Initial revision

1 gordonr 1.1 #!/bin/sh
2    
3     for img in product updates
4     do
5     /usr/bin/mkcramfs \
6     /builds/current/cdrom.image/$img \
7     /builds/current/cdrom.image/CentOS/base/$img.img
8     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     rm -f /builds/current/cdrom.image/CentOS/RPMS/comps-4*
16     cp ~/rpms/RPMS/i386/comps* /builds/current/cdrom.image/CentOS/RPMS/
17     cp -f ~/rpms/RPMS/i386/comps* /builds/current/cdrom.image/CentOS/base/comps.rpm
18    
19     PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/genhdlist \
20     --withnumbers \
21     /builds/current/cdrom.image/
22    
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     /builds/current/cdrom.image/
31    
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     rm -f /builds/current/cdrom.image/CentOS/RPMS/comps-4*
38     cp ~/rpms/RPMS/i386/comps* /builds/current/cdrom.image/CentOS/RPMS/
39     cp -f ~/rpms/RPMS/i386/comps* /builds/current/cdrom.image/CentOS/base/comps.rpm
40    
41     rm /tmp/pkgorder
42    
43     # That's it.

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