Skip to contentSkip to conversation

mariadb: update SRC_URI to use archive.mariadb.org

PATCH New Khem Raj 1 participant 3 messages Oct 5, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/3 mariadb: update SRC_URI to use archive.mariadb.org

From: Denys Dmytriyenko <[email protected]>

archive.mariadb.org does not go 404 on releases over time

---
 meta-oe/recipes-dbs/mysql/mariadb.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-dbs/mysql/mariadb.inc +1 -1
index 9ddf2bee5c..f1c71feebe 100644
@@ -4,7 +4,7 @@ SECTION = "libs"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b1becf0cfa3366e0f4d854d1d264f311"
 
-SRC_URI = "https://downloads.mariadb.com/MariaDB/${BPN}-${PV}/source/${BPN}-${PV}.tar.gz \
+SRC_URI = "http://archive.mariadb.org/${BP}/source/${BP}.tar.gz \
            file://my.cnf \
            file://mysqld.service \
            file://install_db.service \
Signature · 1 line
2.23.0
author
#1 lore raw

PATCH 2/3 fio: Depend on coreutils-native for fmt utility

It needs fmt during build, fixes
/bin/sh: fmt: command not found

---
 meta-oe/recipes-benchmark/fio/fio_3.16.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-benchmark/fio/fio_3.16.bb +1 -1
index 092b2bead0..0db4a2e878 100644
@@ -10,7 +10,7 @@ SECTION = "console/tests"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-DEPENDS = "libaio zlib"
+DEPENDS = "libaio zlib coreutils-native"
 RDEPENDS_${PN} = "python bash"
 
 PACKAGECONFIG_NUMA = "numa"
Signature · 1 line
2.23.0
author
#2 lore raw

PATCH 3/3 fio: Fix build when march is armv7ve

In reply to Khem Raj
---
 ...ch-arm-Consider-armv7ve-arch-as-well.patch | 28 +++++++++++++++++++
 meta-oe/recipes-benchmark/fio/fio_3.16.bb     |  1 +
 2 files changed, 29 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/fio/files/0001-arch-arm-Consider-armv7ve-arch-as-well.patch
meta-oe/recipes-benchmark/fio/files/0001-arch-arm-Consider-armv7ve-arch-as-well.patch new file +28 -0
new file mode 100644
index 0000000000..983a76fb6d
@@ -0,0 +1,28 @@
+From 2af58909cd9f2862d1dc07836e201361a2cd8d5d Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Sat, 5 Oct 2019 08:53:22 -0700
+Subject: [PATCH] arch-arm: Consider armv7ve arch as well
+
+Upstream-Status: Submitted []
+
+Signed-off-by: Khem Raj <[email protected]>
+---
+ arch/arch-arm.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arch-arm.h b/arch/arch-arm.h
+index 78cb2ebe..4f722967 100644
+--- a/arch/arch-arm.h
++++ b/arch/arch-arm.h
+@@ -11,7 +11,7 @@
+ #define nop             __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t")
+ #define read_barrier()	__asm__ __volatile__ ("" : : : "memory")
+ #define write_barrier()	__asm__ __volatile__ ("" : : : "memory")
+-#elif defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_8A__)
++#elif defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_8A__) || defined(__ARM_ARCH_7VE__)
+ #define	nop		__asm__ __volatile__ ("nop")
+ #define read_barrier()	__sync_synchronize()
+ #define write_barrier()	__sync_synchronize()
+-- 
+2.23.0
+
meta-oe/recipes-benchmark/fio/fio_3.16.bb +1 -0
index 0db4a2e878..adab618780 100644
@@ -24,6 +24,7 @@ PACKAGECONFIG[numa] = ",--disable-numa,numactl"
 SRCREV = "92f75708b530989fdb13b50be6604f44b80d038d"
 SRC_URI = "git://git.kernel.dk/fio.git \
           file://0001-update-the-interpreter-paths.patch \
+          file://0001-arch-arm-Consider-armv7ve-arch-as-well.patch \
 "
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.23.0