Skip to content

stack/slapos-py2.cfg: Move libxml2 compatibility

Rafael Monnerat requested to merge rafael/slapos:gettext-py2-rebootstrap into master

Keep the Python 2 libxml2 section on different file different from the Python 3 version so gettext is not and libxml2 neither, avoiding an ABI mismatch in case libxml2 is rebuild.

Rebootstrap may use Python 3 while the instance uses Python 2. Since libxml2 is recompiled after rebootstrap, reusing its gettext section can result in an ABI mismatch and an inconsistent state.

Edited by Rafael Monnerat

Merge request reports