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

Contents of /builds_bin/PrepTest.sh

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


Revision 1.3 - (show annotations) (download) (as text)
Sat Dec 2 17:19:10 2006 UTC (17 years, 6 months ago) by slords
Branch: MAIN
Changes since 1.2: +11 -27 lines
Content type: application/x-sh
Update build tools

1 #!/bin/sh
2
3 [ -f cdrom.image/updates/anaconda ] && chmod a+rx cdrom.image/updates/anaconda
4
5 chmod -R a+rX cdrom.image
6
7 for img in product updates
8 do
9 /usr/bin/mkcramfs \
10 $(pwd)/cdrom.image/$img \
11 $(pwd)/cdrom.image/CentOS/base/$img.img
12 done
13
14 PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/genhdlist \
15 --withnumbers \
16 $(pwd)/cdrom.image/
17
18 PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/pkgorder \
19 $(pwd)/cdrom.image \
20 i386 > pkgorder
21
22 PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/genhdlist \
23 --withnumbers \
24 --fileorder pkgorder \
25 $(pwd)/cdrom.image/
26
27 # That's it.

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