15 |
exit 1 |
exit 1 |
16 |
fi |
fi |
17 |
|
|
18 |
|
# remove package that are no longer in the distro |
19 |
|
if [ "$distrel" == "7" ] |
20 |
|
then |
21 |
|
find -name 'qmail-workaround*' -print0 -o \ |
22 |
|
-name '*rkhunter*' -print0 \ |
23 |
|
| xargs -r0 rm |
24 |
|
fi |
25 |
|
|
26 |
for img in product updates |
for img in product updates |
27 |
do |
do |
28 |
if [ "$distrel" == "7" ] |
if [ "$distrel" == "7" ] |
70 |
else |
else |
71 |
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/ |
72 |
fi |
fi |
73 |
sync; rm -rf $(pwd)/$distarch/.olddata |
sync; rm -rf $(pwd)/$distarch/.olddata $(pwd)/$distarch/repodata/repoview $(pwd)/$distarch/repoview |
74 |
repoview $(pwd)/$distarch/ |
repoview $(pwd)/$distarch/ |
75 |
sync; rm -rf $(pwd)/$distarch/.repodata |
sync; rm -rf $(pwd)/$distarch/.repodata |
76 |
|
|
84 |
-b "$bootimg" \ |
-b "$bootimg" \ |
85 |
-c "$bootcat" \ |
-c "$bootcat" \ |
86 |
-no-emul-boot -boot-load-size 4 -boot-info-table \ |
-no-emul-boot -boot-load-size 4 -boot-info-table \ |
87 |
-x lost+found -x product -x updates -x 'buildinstall.tree.*' -x CVS \ |
-x lost+found -x product -x updates -x 'buildinstall.tree.*' -x CVS -x product -x updates \ |
88 |
-o ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso \ |
-o ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso \ |
89 |
$(pwd)/$distarch/ |
$(pwd)/$distarch/ |
90 |
|
|