65 |
createrepo --update --database --groupfile repodata/comps.xml -u "media://$(head -1 $distarch/.discinfo)" $(pwd)/$distarch/ |
createrepo --update --database --groupfile repodata/comps.xml -u "media://$(head -1 $distarch/.discinfo)" $(pwd)/$distarch/ |
66 |
elif [ "$distrel" == "9" ] |
elif [ "$distrel" == "9" ] |
67 |
then |
then |
68 |
createrepo --database --update --skip-symlinks --groupfile repodata/comps.xml $(pwd)/$distarch/ |
mkdir -p $(pwd)/$distarch/repodata/ |
69 |
|
rm -f $(pwd)/$distarch/repodata/*comps.xml* |
70 |
|
/bin/cp -af $(pwd)/$distarch/Packages/base/comps.xml $(pwd)/$distarch/repodata/ |
71 |
|
createrepo --database --update --skip-symlinks --simple-md-filenames --groupfile repodata/comps.xml $(pwd)/$distarch/ |
72 |
fi |
fi |
73 |
sync; rm -rf $(pwd)/$distarch/.olddata $(pwd)/$distarch/repodata/repoview $(pwd)/$distarch/repoview |
sync; rm -rf $(pwd)/$distarch/.olddata $(pwd)/$distarch/repodata/repoview $(pwd)/$distarch/repoview |
74 |
repoview $(pwd)/$distarch/ |
repoview $(pwd)/$distarch/ |
87 |
$(pwd)/$distarch/ |
$(pwd)/$distarch/ |
88 |
|
|
89 |
cp -a $(pwd)/$distarch/images/boot.iso ../iso/$distrel/$distarch/$disttag-$distvers-$distarch-netinstall.iso |
cp -a $(pwd)/$distarch/images/boot.iso ../iso/$distrel/$distarch/$disttag-$distvers-$distarch-netinstall.iso |
|
if [ -x /usr/lib/anaconda-runtime/implantisomd5 ] |
|
|
then |
|
|
/usr/lib/anaconda-runtime/implantisomd5 ../iso/$distrel/$distarch/$disttag-$distvers-$distarch-netinstall.iso |
|
|
else |
|
|
implantisomd5 ../iso/$distrel/$distarch/$disttag-$distvers-$distarch-netinstall.iso |
|
|
fi |
|
|
dd if=/dev/zero bs=2048 count=150 >> ../iso/$distrel/$distarch/$disttag-$distvers-$distarch-netinstall.iso |
|
90 |
|
|
91 |
|
isohybrid ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso |
92 |
if [ -x /usr/lib/anaconda-runtime/implantisomd5 ] |
if [ -x /usr/lib/anaconda-runtime/implantisomd5 ] |
93 |
then |
then |
94 |
/usr/lib/anaconda-runtime/implantisomd5 ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso |
/usr/lib/anaconda-runtime/implantisomd5 ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso |
95 |
else |
else |
96 |
implantisomd5 ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso |
implantisomd5 ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso |
97 |
fi |
fi |
|
dd if=/dev/zero bs=2048 count=150 >> ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso |
|
98 |
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 |
99 |
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 |
100 |
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 |