From: Stefan Schubert Date: Fri, 31 Mar 2006 16:28:12 +0000 (+0000) Subject: ignoring not compatible with its own X-Git-Tag: BASE-SuSE-SLE-10-SP2-Branch~1245 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a72fa350f7a7b630b60130f135ca558325c50d7a;p=platform%2Fupstream%2Flibzypp.git ignoring not compatible with its own --- diff --git a/zypp/solver/detail/QueueItemRequire.cc b/zypp/solver/detail/QueueItemRequire.cc index 034b2c3..0d660d1 100644 --- a/zypp/solver/detail/QueueItemRequire.cc +++ b/zypp/solver/detail/QueueItemRequire.cc @@ -183,6 +183,11 @@ struct RequireProcess return true; } + if (!provider->arch().compatibleWith( _context->architecture() )) { + MIL << "provider " << provider << " has incompatible arch '" << provider->arch() << "'" << endl; + return true; + } + if ( upgrades && upgrades.resolvable()->arch() != provider->arch()) { MIL << "provider " << provider << " has OTHER arch '" << provider->arch() << "' than the updated item "