summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-dbs')
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb-native_10.4.12.bb (renamed from meta-oe/recipes-dbs/mysql/mariadb-native_10.4.11.bb)0
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb.inc9
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch15
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb_10.4.12.bb (renamed from meta-oe/recipes-dbs/mysql/mariadb_10.4.11.bb)0
4 files changed, 17 insertions, 7 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb-native_10.4.11.bb b/meta-oe/recipes-dbs/mysql/mariadb-native_10.4.12.bb
index e1a038dfa..e1a038dfa 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb-native_10.4.11.bb
+++ b/meta-oe/recipes-dbs/mysql/mariadb-native_10.4.12.bb
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc
index 6888c64e3..5ff273ec2 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb.inc
+++ b/meta-oe/recipes-dbs/mysql/mariadb.inc
@@ -21,8 +21,8 @@ SRC_URI = "https://downloads.mariadb.org/interstitial/${BP}/source/${BP}.tar.gz
21 file://0001-Fix-build-breakage-from-lock_guard-error-6161.patch \ 21 file://0001-Fix-build-breakage-from-lock_guard-error-6161.patch \
22 file://0001-Fix-library-LZ4-lookup.patch \ 22 file://0001-Fix-library-LZ4-lookup.patch \
23 " 23 "
24SRC_URI[md5sum] = "d0de881ab8ead46928cafb7d558535c1" 24SRC_URI[md5sum] = "97d7c0f508c04a31c138fdb24e95dbc4"
25SRC_URI[sha256sum] = "4c076232b99433b09eb3c6d62f607192b3474d022703699b8f6aef4e79de3fb9" 25SRC_URI[sha256sum] = "fef1e1d38aa253dd8a51006bd15aad184912fce31c446bb69434fcde735aa208"
26 26
27UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases" 27UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases"
28 28
@@ -168,6 +168,9 @@ do_install() {
168 if [ -f ${D}${datadir}/doc/README ]; then 168 if [ -f ${D}${datadir}/doc/README ]; then
169 mv ${D}${datadir}/doc/README ${D}${datadir}/doc/${PN}/ 169 mv ${D}${datadir}/doc/README ${D}${datadir}/doc/${PN}/
170 fi 170 fi
171 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
172 mv ${D}/lib/security ${D}/${libdir}
173 fi
171} 174}
172 175
173PACKAGES = "${PN}-dbg ${PN} \ 176PACKAGES = "${PN}-dbg ${PN} \
@@ -299,12 +302,14 @@ FILES_${PN}-server = "\
299 ${sbindir}/ndbd \ 302 ${sbindir}/ndbd \
300 ${sbindir}/ndb_mgmd \ 303 ${sbindir}/ndb_mgmd \
301 ${libdir}/plugin/*.so \ 304 ${libdir}/plugin/*.so \
305 ${libdir}/security/*.so \
302 ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \ 306 ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \
303 ${datadir}/mysql/ \ 307 ${datadir}/mysql/ \
304 ${localstatedir}/mysql/ \ 308 ${localstatedir}/mysql/ \
305 ${sysconfdir}/init.d/mysqld \ 309 ${sysconfdir}/init.d/mysqld \
306 ${sysconfdir}/my.cnf \ 310 ${sysconfdir}/my.cnf \
307 ${sysconfdir}/my.cnf.d/server.cnf \ 311 ${sysconfdir}/my.cnf.d/server.cnf \
312 ${sysconfdir}/security/user_map.conf \
308 ${sysconfdir}/tmpfiles.d" 313 ${sysconfdir}/tmpfiles.d"
309 314
310DESCRIPTION_${PN}-leftovers = "unpackaged and probably unneeded files for ${PN}" 315DESCRIPTION_${PN}-leftovers = "unpackaged and probably unneeded files for ${PN}"
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch b/meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch
index 185b7b77f..05b0cf8ff 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch
+++ b/meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch
@@ -1,6 +1,6 @@
1From ffaaf4d43ebf2ef6d0229a60f407c1f5a06e5c53 Mon Sep 17 00:00:00 2001 1From f447aca534d1a12809eeb146e8220d305cc3884d Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Fri, 15 Mar 2019 01:46:05 -0700 3Date: Thu, 9 Apr 2020 14:07:19 +0800
4Subject: [PATCH] build_rocksdb.cmake: fix atomic support on arm 4Subject: [PATCH] build_rocksdb.cmake: fix atomic support on arm
5 5
6Check to link with libatomic to enable C11 atomics support 6Check to link with libatomic to enable C11 atomics support
@@ -10,14 +10,16 @@ to fix below build error on arm:
10 10
11Upstream-Status: Pending 11Upstream-Status: Pending
12 12
13Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> 13Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
14--- 14---
15 storage/rocksdb/build_rocksdb.cmake | 3 +++ 15 storage/rocksdb/build_rocksdb.cmake | 3 +++
16 1 file changed, 3 insertions(+) 16 1 file changed, 3 insertions(+)
17 17
18diff --git a/storage/rocksdb/build_rocksdb.cmake b/storage/rocksdb/build_rocksdb.cmake
19index d7895b0..3bcd52a 100644
18--- a/storage/rocksdb/build_rocksdb.cmake 20--- a/storage/rocksdb/build_rocksdb.cmake
19+++ b/storage/rocksdb/build_rocksdb.cmake 21+++ b/storage/rocksdb/build_rocksdb.cmake
20@@ -470,6 +470,9 @@ list(APPEND SOURCES ${CMAKE_CURRENT_BINA 22@@ -470,6 +470,9 @@ list(APPEND SOURCES ${CMAKE_CURRENT_BINARY_DIR}/build_version.cc)
21 23
22 ADD_CONVENIENCE_LIBRARY(rocksdblib ${SOURCES}) 24 ADD_CONVENIENCE_LIBRARY(rocksdblib ${SOURCES})
23 target_link_libraries(rocksdblib ${THIRDPARTY_LIBS} ${SYSTEM_LIBS}) 25 target_link_libraries(rocksdblib ${THIRDPARTY_LIBS} ${SYSTEM_LIBS})
@@ -25,5 +27,8 @@ Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
25+ TARGET_LINK_LIBRARIES(rocksdblib atomic) 27+ TARGET_LINK_LIBRARIES(rocksdblib atomic)
26+ENDIF() 28+ENDIF()
27 IF(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") 29 IF(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
28 set_target_properties(rocksdblib PROPERTIES COMPILE_FLAGS "-fPIC -fno-builtin-memcmp") 30 set_target_properties(rocksdblib PROPERTIES COMPILE_FLAGS "-fPIC -fno-builtin-memcmp -Wno-error")
29 endif() 31 endif()
32--
332.7.4
34
diff --git a/meta-oe/recipes-dbs/mysql/mariadb_10.4.11.bb b/meta-oe/recipes-dbs/mysql/mariadb_10.4.12.bb
index c0b53379d..c0b53379d 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb_10.4.11.bb
+++ b/meta-oe/recipes-dbs/mysql/mariadb_10.4.12.bb