Skip to content

Commit 1110267

Browse files
sreedharsPiotr Obrzut
authored andcommitted
Fix to build on Debian10 and Ubuntu19.04
1 parent dce1cd7 commit 1110267

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packaging/deb-in/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
22
#
33
# This program is free software; you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License, version 2.0,
@@ -59,6 +59,8 @@ ENDIF()
5959
# Platform specifics. The differences are generally only distro name used in version string
6060
IF(DEB_CODENAME STREQUAL "stretch")
6161
SET (DEB_PLATFORMRELEASE "debian9")
62+
ELSEIF(DEB_CODENAME STREQUAL "buster")
63+
SET (DEB_PLATFORMRELEASE "debian10")
6264
ELSEIF(DEB_CODENAME STREQUAL "sid")
6365
IF (DEFINED DEB_GCC_SNAPSHOT)
6466
SET (DEB_CMAKE_EXTRAS "${DEB_CMAKE_EXTRAS} -DCMAKE_C_COMPILER=/usr/lib/gcc-snapshot/bin/gcc -DCMAKE_CXX_COMPILER=/usr/lib/gcc-snapshot/bin/g++ -DMYSQL_MAINTAINER_MODE=0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache")
@@ -91,6 +93,8 @@ ELSEIF(DEB_CODENAME STREQUAL "bionic")
9193
SET (DEB_PLATFORMRELEASE "ubuntu18.04")
9294
ELSEIF(DEB_CODENAME STREQUAL "cosmic")
9395
SET (DEB_PLATFORMRELEASE "ubuntu18.10")
96+
ELSEIF(DEB_CODENAME STREQUAL "disco")
97+
SET (DEB_PLATFORMRELEASE "ubuntu19.04")
9498
ELSE()
9599
MESSAGE(STATUS
96100
"Skipping deb packaging on unsupported platform ${DEB_CODENAME}.")

0 commit comments

Comments
 (0)