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" \ |