Merge "mariadb: create /var/run/mysqld under Debian distros"

This commit is contained in:
Zuul 2018-03-08 15:23:43 +00:00 committed by Gerrit Code Review
commit 553a51bdbc

View File

@ -55,11 +55,8 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start \
&& rm -rf /var/lib/mysql/* && rm -rf /var/lib/mysql/*
{% if base_distro in ['debian', 'ubuntu'] %} {% if base_distro in ['debian', 'ubuntu'] %}
{% if base_arch == "aarch64" %}
RUN mkdir -p /var/run/mysqld && chown mysql /var/run/mysqld && chmod 755 /var/run/mysqld RUN mkdir -p /var/run/mysqld && chown mysql /var/run/mysqld && chmod 755 /var/run/mysqld
{% endif %} {% endif %}
{% endif %}
{% block mariadb_footer %}{% endblock %} {% block mariadb_footer %}{% endblock %}
{% block footer %}{% endblock %} {% block footer %}{% endblock %}