Skip to content

Commit 2e1df87

Browse files
committed
Packaging fixes for Debian 7 & 8.
1 parent 14c4b48 commit 2e1df87

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/package/docker_script

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ rm -rf "$build_dir"
2323
mkdir -p "$build_dir"
2424
cd "$build_dir"
2525

26-
# When building the packages for Ubuntu 12.04, we need a newer version of CMake
27-
# than what's available via the packages (we need 2.8.10+ for
26+
# When building the packages for Debian 7 or Ubuntu 12.04, we need a newer
27+
# version of CMake than what's available via the packages (we need 2.8.10+ for
2828
# ExternalProject_Add URL_HASH compatibility).
29-
if [[ "${ID:-}" == "ubuntu" && "${VERSION_ID:-}" == "12.04" ]]; then
29+
if [[ "${ID:-}" == "debian" && "${VERSION_ID:-}" == "7" ]] || [[ "${ID:-}" == "ubuntu" && "${VERSION_ID:-}" == "12.04" ]]; then
3030
if [[ ! -e "$build_dir/build/work/cmake-3.4.3/bin/cmake" ]]; then
3131
mkdir -p "$build_dir/build/work/cmake-3.4.3"
3232
curl -L "https://cmake.org/files/v3.4/cmake-3.4.3-Linux-x86_64.tar.gz" | tar --strip-components 1 -C "$build_dir/build/work/cmake-3.4.3" -xz

build/package_dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ elif [ -f /etc/debian_version ]; then
154154
openjdk-$openjdk_version-jdk
155155
)
156156

157-
if [[ "$ID" == "ubuntu" && "$VERSION_ID" == "16.04" ]]; then
157+
if [[ "$ID" == "debian" && "$VERSION_ID" == "8" ]] || [[ "$ID" == "ubuntu" && "$VERSION_ID" == "16.04" ]]; then
158158
core_build_dependencies+=("libtool-bin")
159159
fi
160160
else

0 commit comments

Comments
 (0)