27 |
[ -d cdrom.image ] || (echo "No cdrom.image directory?"; exit 1) |
[ -d cdrom.image ] || (echo "No cdrom.image directory?"; exit 1) |
28 |
|
|
29 |
distname='SME Server' |
distname='SME Server' |
30 |
|
disttag='smeserver' |
31 |
distvers=$(basename $(pwd)) |
distvers=$(basename $(pwd)) |
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 |
54 |
--fileorder pkgorder \ |
--fileorder pkgorder \ |
55 |
$(pwd)/cdrom.image/ |
$(pwd)/cdrom.image/ |
56 |
|
|
57 |
rm -f smeserver-$distvers.iso smeserver.iso |
rm -f $disttag-$distvers.iso smeserver.iso |
58 |
|
|
59 |
cd cdrom.image |
cd cdrom.image |
60 |
|
|
74 |
-no-emul-boot -boot-load-size 4 -boot-info-table \ |
-no-emul-boot -boot-load-size 4 -boot-info-table \ |
75 |
-x lost+found \ |
-x lost+found \ |
76 |
-x CVS \ |
-x CVS \ |
77 |
-o "../smeserver-$distvers".iso \ |
-o "../$disttag-$distvers".iso \ |
78 |
. |
. |
79 |
|
|
80 |
cd .. |
cd .. |
81 |
/usr/lib/anaconda-runtime/implantisomd5 smeserver-$distvers.iso |
/usr/lib/anaconda-runtime/implantisomd5 $disttag-$distvers.iso |
82 |
dd if=/dev/zero bs=2048 count=150 >> smeserver-$distvers.iso |
dd if=/dev/zero bs=2048 count=150 >> $disttag-$distvers.iso |
83 |
md5sum smeserver-$distvers.iso > smeserver-$distvers.iso.md5sum |
md5sum $disttag-$distvers.iso > $disttag-$distvers.iso.md5sum |
84 |
ls -lRt > smeserver-$distvers.iso.ls-lRt |
ls -lRt > $disttag-$distvers.iso.ls-lRt |
85 |
zsyncmake smeserver-$distvers.iso |
zsyncmake $disttag-$distvers.iso |
86 |
mv smeserver-$distvers.iso smeserver.iso |
mv $disttag-$distvers.iso $disttag.iso |
87 |
ln -sf smeserver.iso smeserver-$distvers.iso |
ln -sf $disttag.iso $disttag-$distvers.iso |
88 |
|
|
89 |
echo "Building SRPMS ISO" |
echo "Building SRPMS ISO" |
90 |
|
|
94 |
-x lost+found \ |
-x lost+found \ |
95 |
-x CVS \ |
-x CVS \ |
96 |
-x cdrom.image \ |
-x cdrom.image \ |
97 |
-o "smeserver-$distvers-SRPMS".iso \ |
-o "$disttag-$distvers-SRPMS".iso \ |
98 |
--graft-points \ |
--graft-points \ |
99 |
./SRPMS=SRPMS \ |
./SRPMS=SRPMS \ |
100 |
GPL=cdrom.image/GPL \ |
GPL=cdrom.image/GPL \ |