Commit 767990e9d9bbb382c276236f4a254cad345dd2b1

Edward Thomson 2019-11-23T11:25:38

ci: show distribution information The lsb-release command is missing on our images; just show the information from the file instead of relying on it.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/azure-pipelines/build.sh b/azure-pipelines/build.sh
index dc6f099..27e2f3e 100755
--- a/azure-pipelines/build.sh
+++ b/azure-pipelines/build.sh
@@ -26,7 +26,7 @@ fi
 
 if [ -f "/etc/debian_version" ]; then
 	echo "Debian version:"
-	lsb_release -a | indent
+	(source /etc/lsb-release && echo "${DISTRIB_DESCRIPTION}") | indent
 fi
 
 echo "Kernel version:"