32 |
|
|
33 |
[ -f cdrom.image/updates/anaconda ] && chmod a+rx cdrom.image/updates/anaconda |
[ -f cdrom.image/updates/anaconda ] && chmod a+rx cdrom.image/updates/anaconda |
34 |
|
|
|
chmod -R a+rX cdrom.image |
|
|
|
|
35 |
for img in product updates |
for img in product updates |
36 |
do |
do |
37 |
/usr/bin/mkcramfs \ |
/usr/bin/mkcramfs \ |
58 |
|
|
59 |
yum-arch . |
yum-arch . |
60 |
createrepo . |
createrepo . |
61 |
|
repoview . |
62 |
|
|
63 |
bootimg='isolinux/isolinux.bin' |
bootimg='isolinux/isolinux.bin' |
64 |
bootcat='isolinux/boot.cat' |
bootcat='isolinux/boot.cat' |
87 |
|
|
88 |
echo "Building SRPMS ISO" |
echo "Building SRPMS ISO" |
89 |
|
|
90 |
|
rm -f $disttag-SRPMS.iso $disttag-$distvers-SRPMS.iso |
91 |
|
|
92 |
mkisofs $mkisopts \ |
mkisofs $mkisopts \ |
93 |
-V "$distname $distvers SRPMS" \ |
-V "$distname $distvers SRPMS" \ |
94 |
-A "$distname SRPMS created on $today" \ |
-A "$distname SRPMS created on $today" \ |
103 |
RPM-GPG-KEY-centos4=cdrom.image/RPM-GPG-KEY-centos4 \ |
RPM-GPG-KEY-centos4=cdrom.image/RPM-GPG-KEY-centos4 \ |
104 |
RPM-GPG-KEY-SMEServer7=cdrom.image/RPM-GPG-KEY-SMEServer7 |
RPM-GPG-KEY-SMEServer7=cdrom.image/RPM-GPG-KEY-SMEServer7 |
105 |
|
|
106 |
|
md5sum $disttag-$distvers-SRPMS.iso > $disttag-$distvers-SRPMS.iso.md5sum |
107 |
|
zsyncmake $disttag-$distvers-SRPMS.iso |
108 |
|
mv $disttag-$distvers-SRPMS.iso $disttag-SRPMS.iso |
109 |
|
ln -sf $disttag-SRPMS.iso $disttag-$distvers-SRPMS.iso |
110 |
|
|
111 |
# That's it. |
# That's it. |
112 |
|
|