--- builds_bin/build_ISO 2009/06/22 16:46:16 1.28 +++ builds_bin/build_ISO 2010/02/12 18:52:05 1.31 @@ -15,6 +15,14 @@ then exit 1 fi +# remove package that are no longer in the distro +if [ "$distrel" == "7" ] +then + find -name 'qmail-workaround*' -print0 -o \ + -name '*rkhunter*' -print0 \ + | xargs -r0 rm +fi + for img in product updates do if [ "$distrel" == "7" ] @@ -62,7 +70,7 @@ then else createrepo --update --database --groupfile repodata/comps.xml -u "media://$(head -1 $distarch/.discinfo)" $(pwd)/$distarch/ fi -sync; rm -rf $(pwd)/$distarch/.olddata +sync; rm -rf $(pwd)/$distarch/.olddata $(pwd)/$distarch/repodata/repoview $(pwd)/$distarch/repoview repoview $(pwd)/$distarch/ sync; rm -rf $(pwd)/$distarch/.repodata