projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebc3012
)
hack that product are satisfied; used only for beta1
author
Stefan Schubert
<schubi@suse.de>
Mon, 14 Apr 2008 14:57:43 +0000
(14:57 +0000)
committer
Stefan Schubert
<schubi@suse.de>
Mon, 14 Apr 2008 14:57:43 +0000
(14:57 +0000)
zypp/sat/SATResolver.cc
patch
|
blob
|
history
diff --git
a/zypp/sat/SATResolver.cc
b/zypp/sat/SATResolver.cc
index
3035202
..
8157eab
100644
(file)
--- a/
zypp/sat/SATResolver.cc
+++ b/
zypp/sat/SATResolver.cc
@@
-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();