hack that product are satisfied; used only for beta1
authorStefan Schubert <schubi@suse.de>
Mon, 14 Apr 2008 14:57:43 +0000 (14:57 +0000)
committerStefan Schubert <schubi@suse.de>
Mon, 14 Apr 2008 14:57:43 +0000 (14:57 +0000)
zypp/sat/SATResolver.cc

index 3035202..8157eab 100644 (file)
@@ -429,6 +429,14 @@ class SetValidate : public resfilter::PoolItemFilterFunctor
 
     bool operator()( PoolItem item )
     {
+       
+       if (isKind<Product>(item.resolvable())) {
+           // FIXME This is a hack for registration 11.0 beta1
+           item.status().setSatisfied();
+           _XDEBUG("SATSolutionToPool(" << item << " ) satisfied. THIS IS A HACK !");
+           return true;
+       }
+
        int ret = solvable_trivial_installable_map(item.satSolvable().get(), &installedmap, &conflictsmap);
        item.status().setUndetermined();