libdnf/libdnf-0.31.0-x86_64-disable_inferior_arch_check.patch

12 lines
666 B
Diff
Raw Normal View History

--- libdnf-0.31.0/libdnf/goal/Goal.cpp.orig 2019-06-23 18:33:29.205434790 +0200
+++ libdnf-0.31.0/libdnf/goal/Goal.cpp 2019-06-23 19:33:44.093032736 +0200
@@ -1185,6 +1185,8 @@
solver_set_flag(solv, SOLVER_FLAG_ALLOW_VENDORCHANGE, 1);
/* don't erase packages that are no longer in repo during distupgrade */
solver_set_flag(solv, SOLVER_FLAG_KEEP_ORPHANS, 1);
+ /* x86_64: disable inferior arch check to allow x86 packages cohexistance */
+ solver_set_flag(solv, SOLVER_FLAG_NO_INFARCHCHECK, 1);
/* no arch change for forcebest */
solver_set_flag(solv, SOLVER_FLAG_BEST_OBEY_POLICY, 1);
/* support package splits via obsoletes */