From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex@linutronix.de>
Subject: [PATCH 18/18] stress-ng: upgrade 0.13.12 -> 0.14.00
Date: Wed, 27 Apr 2022 10:40:09 +0200 [thread overview]
Message-ID: <20220427084009.3406717-18-alex@linutronix.de> (raw)
In-Reply-To: <20220427084009.3406717-1-alex@linutronix.de>
Disable apparmor via empty config file creation.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
.../stress-ng/0001-Makefile-quote-CC.patch | 41 +++++++++++++++++++
...ess-ng_0.13.12.bb => stress-ng_0.14.00.bb} | 11 ++++-
2 files changed, 50 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-quote-CC.patch
rename meta/recipes-extended/stress-ng/{stress-ng_0.13.12.bb => stress-ng_0.14.00.bb} (76%)
diff --git a/meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-quote-CC.patch b/meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-quote-CC.patch
new file mode 100644
index 0000000000..498a024830
--- /dev/null
+++ b/meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-quote-CC.patch
@@ -0,0 +1,41 @@
+From f6162ced588c17c1141a8f6154475a299a2ebc0d Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Tue, 26 Apr 2022 22:35:35 +0200
+Subject: [PATCH] Makefile: quote CC
+
+It can contain command line options, and therefore spaces, and so
+needs to be quoted.
+
+Upstream-Status: Submitted [https://github.com/ColinIanKing/stress-ng/pull/188]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ Makefile | 2 +-
+ Makefile.config | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 501093f5..8a454edd 100644
+--- a/Makefile
++++ b/Makefile
+@@ -432,7 +432,7 @@ stress-ng: $(OBJS)
+ $(V)sync
+
+ config.h:
+- $(MAKE) CC=$(CC) STATIC=$(STATIC) -f Makefile.config
++ $(MAKE) CC="$(CC)" STATIC=$(STATIC) -f Makefile.config
+
+ .PHONY:
+ makeconfig: config.h
+diff --git a/Makefile.config b/Makefile.config
+index b76d0903..f03f7a85 100644
+--- a/Makefile.config
++++ b/Makefile.config
+@@ -69,7 +69,7 @@ else
+ endif
+
+
+-MAKE_OPTS=CC=$(CC) -f Makefile.config --no-print-directory
++MAKE_OPTS=CC="$(CC)" -f Makefile.config --no-print-directory
+
+ comma = ,
+
diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.13.12.bb b/meta/recipes-extended/stress-ng/stress-ng_0.14.00.bb
similarity index 76%
rename from meta/recipes-extended/stress-ng/stress-ng_0.13.12.bb
rename to meta/recipes-extended/stress-ng/stress-ng_0.14.00.bb
index fe177a4de0..ada35dbc4c 100644
--- a/meta/recipes-extended/stress-ng/stress-ng_0.13.12.bb
+++ b/meta/recipes-extended/stress-ng/stress-ng_0.14.00.bb
@@ -5,8 +5,10 @@ HOMEPAGE = "https://github.com/ColinIanKing/stress-ng#readme"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master"
-SRCREV = "f59bcb2fe1e25042e77d5e4942f72bfa026fa305"
+SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master \
+ file://0001-Makefile-quote-CC.patch \
+ "
+SRCREV = "ec7f6c4731a54f0e515bef7f7e84ef9e9b8125a2"
S = "${WORKDIR}/git"
DEPENDS = "coreutils-native"
@@ -18,6 +20,11 @@ RCONFLICTS:${PN} = "stress"
inherit bash-completion
+do_configure:prepend() {
+ mkdir -p configs
+ touch configs/HAVE_APPARMOR
+}
+
do_install() {
oe_runmake DESTDIR=${D} install
ln -s stress-ng ${D}${bindir}/stress
--
2.30.2
next prev parent reply other threads:[~2022-04-27 8:40 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-27 8:39 [PATCH 01/18] libxml2: update patch status Alexander Kanavin
2022-04-27 8:39 ` [PATCH 02/18] python3-psutil: submit patch upstream Alexander Kanavin
2022-04-27 8:39 ` [PATCH 03/18] gnu-config: update to latest revision Alexander Kanavin
2022-04-27 8:39 ` [PATCH 04/18] go-helloworld: " Alexander Kanavin
2022-04-27 8:39 ` [PATCH 05/18] piglit: " Alexander Kanavin
2022-04-27 8:39 ` [PATCH 06/18] vulkan-samples: " Alexander Kanavin
2022-04-27 8:39 ` [PATCH 07/18] python3-typing-extensions: upgrade 3.10.0.0 -> 4.2.0 Alexander Kanavin
2022-04-27 8:39 ` [PATCH 08/18] python3-pyparsing: upgrade 3.0.7 -> 3.0.8 Alexander Kanavin
2022-04-27 8:40 ` [PATCH 09/18] glib: upgrade 2.72.0 -> 2.72.1 Alexander Kanavin
2022-04-27 8:40 ` [PATCH 10/18] go: update 1.18 -> 1.18.1 Alexander Kanavin
2022-04-28 16:22 ` [OE-core] " Steve Sakoman
2022-04-28 17:03 ` Khem Raj
2022-04-28 18:00 ` Steve Sakoman
2022-04-28 20:36 ` Khem Raj
2022-04-27 8:40 ` [PATCH 11/18] llvm: update 14.0.0 -> 14.0.1 Alexander Kanavin
2022-04-27 8:40 ` [PATCH 12/18] meson: update 0.61.3 -> 0.62.1 Alexander Kanavin
2022-04-27 8:40 ` [PATCH 13/18] valgrind: update 3.18.1 -> 3.19.0 Alexander Kanavin
2022-04-27 13:08 ` [OE-core] " Richard Purdie
2022-04-27 14:34 ` Alexander Kanavin
2022-04-27 14:37 ` Richard Purdie
2022-04-27 8:40 ` [PATCH 14/18] icu: update 70.1 -> 71.1 Alexander Kanavin
2022-04-27 8:40 ` [PATCH 15/18] libcap-ng: update 0.8.2 -> 0.8.3 Alexander Kanavin
2022-04-27 8:40 ` [PATCH 16/18] libgpg-error: 1.44 -> 1.45 Alexander Kanavin
2022-04-27 8:40 ` [PATCH 17/18] cmake: update 3.23.0 -> 3.23.1 Alexander Kanavin
2022-04-27 8:40 ` Alexander Kanavin [this message]
2022-05-05 13:57 ` [OE-core] [PATCH 18/18] stress-ng: upgrade 0.13.12 -> 0.14.00 Luca Ceresoli
2022-05-05 15:18 ` Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220427084009.3406717-18-alex@linutronix.de \
--to=alex.kanavin@gmail.com \
--cc=alex@linutronix.de \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox