Commit d3eccbbf by Johannes Kastl Committed by Stéphane Graber

lxc-opensuse: Disable building openSUSE containers on 13.2/Tumbleweed only if…

lxc-opensuse: Disable building openSUSE containers on 13.2/Tumbleweed only if wrong version of build package is installed Signed-off-by: 's avatarJohannes Kastl <git@ojkastl.de> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 8f3a3cd8
......@@ -427,8 +427,10 @@ if [ -z "$path" ]; then
fi
if grep -q Harlequin /etc/os-release || grep -q Tumbleweed /etc/os-release ; then
echo "Building containers on openSUSE 13.2 or Tumbleweed is broken at the moment. We are working on this problem."
exit 1
if [[ "$(zypper info build|awk -F "[- ]" '/Version/ {print $2}')" -lt "20141120" ]] ; then
echo "Building openSUSE containers with your version of the build package is broken. Please install the update to version 20141120 or newer."
exit 1
fi
fi
if [ -z "$DISTRO" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment