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/ |
95 |
fi |
fi |
96 |
dd if=/dev/zero bs=2048 count=150 >> ../iso/$distrel/$distarch/$disttag-$distvers-$distarch-netinstall.iso |
dd if=/dev/zero bs=2048 count=150 >> ../iso/$distrel/$distarch/$disttag-$distvers-$distarch-netinstall.iso |
97 |
|
|
98 |
|
isohybrid ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso |
99 |
if [ -x /usr/lib/anaconda-runtime/implantisomd5 ] |
if [ -x /usr/lib/anaconda-runtime/implantisomd5 ] |
100 |
then |
then |
101 |
/usr/lib/anaconda-runtime/implantisomd5 ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso |
/usr/lib/anaconda-runtime/implantisomd5 ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso |