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