53 |
$(pwd)/$distarch/ |
$(pwd)/$distarch/ |
54 |
fi |
fi |
55 |
|
|
56 |
rm -f ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso ../iso/$distrel/$distarch/$disttag.iso |
rm -f ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso* ../iso/$distrel/$distarch/$disttag-$distarch.iso |
57 |
rm -f ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.jigdo ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.template |
rm -f ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.jigdo ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.template |
58 |
|
|
59 |
if [ "$distrel" == "7" ] |
if [ "$distrel" == "7" ] |
76 |
-b "$bootimg" \ |
-b "$bootimg" \ |
77 |
-c "$bootcat" \ |
-c "$bootcat" \ |
78 |
-no-emul-boot -boot-load-size 4 -boot-info-table \ |
-no-emul-boot -boot-load-size 4 -boot-info-table \ |
79 |
-x lost+found -x product -x updates -x 'buildinstall.tree.*' -x CVS \ |
-x lost+found -x 'buildinstall.tree.*' -x CVS \ |
80 |
|
-x $(pwd)/$distarch/images/boot.iso -x $(pwd)/$distarch/images/diskboot.img \ |
81 |
|
-x $(pwd)/$distarch/images/xen -x $(pwd)/$distarch/images/pxeboot \ |
82 |
|
-x $(pwd)/$distarch/product -x $(pwd)/$distarch/updates \ |
83 |
-o ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso \ |
-o ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso \ |
84 |
$(pwd)/$distarch/ |
$(pwd)/$distarch/ |
85 |
|
|
88 |
md5sum ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso | sed 's,\.\..*/,,' > ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.md5sum |
md5sum ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso | sed 's,\.\..*/,,' > ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.md5sum |
89 |
sha1sum ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso | sed 's,\.\..*/,,' > ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.sha1sum |
sha1sum ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso | sed 's,\.\..*/,,' > ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.sha1sum |
90 |
zsyncmake -u $disttag-$distvers-$distarch.iso -o ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.zsync ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso |
zsyncmake -u $disttag-$distvers-$distarch.iso -o ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.zsync ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso |
91 |
mv ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso ../iso/$distrel/$distarch/$disttag.iso |
mv ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso ../iso/$distrel/$distarch/$disttag-$distarch.iso |
92 |
ln -sf $disttag.iso ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso |
ln -sf $disttag-$distarch.iso ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso |
93 |
|
|
94 |
rsync -a --delete --delete-excluded \ |
rsync -a --delete --delete-excluded \ |
95 |
--exclude 'repodata/' --exclude 'product/' --exclude 'updates/' --exclude 'repoview/' \ |
--exclude 'repodata/' --exclude 'product/' --exclude 'updates/' --exclude 'repoview/' \ |
106 |
|
|
107 |
if [ -d SRPMS -a "$distarch" == "i386" ] |
if [ -d SRPMS -a "$distarch" == "i386" ] |
108 |
then |
then |
109 |
rm -f ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso ../iso/$distrel/source/$disttag-SRPMS.iso |
rm -f ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso* ../iso/$distrel/source/$disttag-SRPMS.iso* |
110 |
|
|
111 |
mkisofs $mkisopts \ |
mkisofs $mkisopts \ |
112 |
-V "$distname $distvers SRPMS" \ |
-V "$distname $distvers SRPMS" \ |