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 \ |
56 |
|
|
57 |
cd cdrom.image |
cd cdrom.image |
58 |
|
|
|
yum-arch . |
|
59 |
createrepo . |
createrepo . |
60 |
|
repoview . |
61 |
|
|
62 |
bootimg='isolinux/isolinux.bin' |
bootimg='isolinux/isolinux.bin' |
63 |
bootcat='isolinux/boot.cat' |
bootcat='isolinux/boot.cat' |
86 |
|
|
87 |
echo "Building SRPMS ISO" |
echo "Building SRPMS ISO" |
88 |
|
|
89 |
|
rm -f $disttag-SRPMS.iso $disttag-$distvers-SRPMS.iso |
90 |
|
|
91 |
mkisofs $mkisopts \ |
mkisofs $mkisopts \ |
92 |
-V "$distname $distvers SRPMS" \ |
-V "$distname $distvers SRPMS" \ |
93 |
-A "$distname SRPMS created on $today" \ |
-A "$distname SRPMS created on $today" \ |
102 |
RPM-GPG-KEY-centos4=cdrom.image/RPM-GPG-KEY-centos4 \ |
RPM-GPG-KEY-centos4=cdrom.image/RPM-GPG-KEY-centos4 \ |
103 |
RPM-GPG-KEY-SMEServer7=cdrom.image/RPM-GPG-KEY-SMEServer7 |
RPM-GPG-KEY-SMEServer7=cdrom.image/RPM-GPG-KEY-SMEServer7 |
104 |
|
|
105 |
|
md5sum $disttag-$distvers-SRPMS.iso > $disttag-$distvers-SRPMS.iso.md5sum |
106 |
|
zsyncmake $disttag-$distvers-SRPMS.iso |
107 |
|
mv $disttag-$distvers-SRPMS.iso $disttag-SRPMS.iso |
108 |
|
ln -sf $disttag-SRPMS.iso $disttag-$distvers-SRPMS.iso |
109 |
|
|
110 |
# That's it. |
# That's it. |
111 |
|
|