Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Revert "scheduler: only split upgrades if a conflicts is found"
Isaac Freund committed 10 months ago
commit 9a1949ec5420d8816a5f5cad25dfcb9f7bda613e
parent 725dc2c
1 file changed +1 -1
modified libpkg/pkg_jobs_schedule.c
@@ -403,7 +403,7 @@ int pkg_jobs_schedule(struct pkg_jobs *j)
		 * will break the given cycle but is it possible that one of the choices
		 * would break additional cycles as well?
		 */
-
		while (path->type != PKG_SOLVED_UPGRADE && path->items[1]->pkg->conflicts == NULL) {
+
		while (path->type != PKG_SOLVED_UPGRADE) {
			if (path == cycle) {
				pkg_emit_error("found job scheduling cycle without upgrade job");
			 	return (EPKG_FATAL);