From c8f8159e4950e28df9073b83f686269ba0905ef6 Mon Sep 17 00:00:00 2001
From: Kirill Smelkov <kirr@nexedi.com>
Date: Tue, 23 Mar 2021 20:28:41 +0300
Subject: [PATCH] slapos-master: Switch to ZODB4-wc2

SlapOS Master is going to use Wendelin.core 2.
Wendelin.core 2 works with either ZODB4-wc2, or ZODB5, but not with ZODB4(*).
ERP5 does not currently work with ZODB5.
-> this leaves ZODB4-wc2 as the only choice.

(*) see https://lab.nexedi.com/nexedi/ZODB/commit/8e7eab33?expanded=1
for details.

/reviewed-by @tomo, @rafael
/reviewed-on https://lab.nexedi.com/nexedi/slapos/merge_requests/944
---
 software/slapos-master/software.cfg | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/software/slapos-master/software.cfg b/software/slapos-master/software.cfg
index e13975c2a..ac6563ae7 100644
--- a/software/slapos-master/software.cfg
+++ b/software/slapos-master/software.cfg
@@ -6,6 +6,15 @@ extends =
 parts +=
   vifib-fix-products-paths
 
+
+# SlapOS Master needs to use Wendelin.core 2.
+# Wendelin.core 2 works with either ZODB4-wc2, or ZODB5, but not with ZODB4.
+# ERP5 does not currently work with ZODB5.
+# -> this leaves ZODB4-wc2 as the only choice.
+[ZODB]
+major = 4-wc2
+
+
 [local-bt5-repository]
 # Same as bt5-repository, but only local repository.
 # Used to generate bt5lists.
-- 
2.30.9