diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-10-27 11:07:08 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-28 14:16:31 +0100 |
commit | 3d399b7b085c79cd9045c4a1e665b1e4f89f38d6 (patch) | |
tree | 17fa80078a8b007d2bb5ec0b8bf45d5b0d37a6cc | |
parent | ec582c412db8109e8a89acb03317a85485d2d477 (diff) | |
download | poky-3d399b7b085c79cd9045c4a1e665b1e4f89f38d6.tar.gz |
stress-ng: convert to git, website is down
(From OE-Core rev: 0bc00868993d7093a70f29de9047f9ae0be33836)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch | 26 | ||||
-rw-r--r-- | meta/recipes-extended/stress-ng/stress-ng_0.13.00.bb | 8 |
2 files changed, 31 insertions, 3 deletions
diff --git a/meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch b/meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch new file mode 100644 index 0000000000..21a410f605 --- /dev/null +++ b/meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 2386cd8f907b379ae5cc1ce2888abef7d30e709a Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Sat, 23 Oct 2021 20:20:59 +0200 | ||
4 | Subject: [PATCH] Makefile: do not write the timestamp into compressed manpage. | ||
5 | |||
6 | This helps reproducibility. | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/ColinIanKing/stress-ng/pull/156] | ||
9 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
10 | --- | ||
11 | Makefile | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/Makefile b/Makefile | ||
15 | index 886018f9..f4290f9c 100644 | ||
16 | --- a/Makefile | ||
17 | +++ b/Makefile | ||
18 | @@ -468,7 +468,7 @@ git-commit-id.h: | ||
19 | $(OBJS): stress-ng.h Makefile | ||
20 | |||
21 | stress-ng.1.gz: stress-ng.1 | ||
22 | - $(V)gzip -c $< > $@ | ||
23 | + $(V)gzip -n -c $< > $@ | ||
24 | |||
25 | .PHONY: dist | ||
26 | dist: | ||
diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.13.00.bb b/meta/recipes-extended/stress-ng/stress-ng_0.13.00.bb index 198f7e87c7..5889569e50 100644 --- a/meta/recipes-extended/stress-ng/stress-ng_0.13.00.bb +++ b/meta/recipes-extended/stress-ng/stress-ng_0.13.00.bb | |||
@@ -1,14 +1,16 @@ | |||
1 | SUMMARY = "System load testing utility" | 1 | SUMMARY = "System load testing utility" |
2 | DESCRIPTION = "Deliberately simple workload generator for POSIX systems. It \ | 2 | DESCRIPTION = "Deliberately simple workload generator for POSIX systems. It \ |
3 | imposes a configurable amount of CPU, memory, I/O, and disk stress on the system." | 3 | imposes a configurable amount of CPU, memory, I/O, and disk stress on the system." |
4 | HOMEPAGE = "https://kernel.ubuntu.com/~cking/stress-ng/" | 4 | HOMEPAGE = "https://github.com/ColinIanKing/stress-ng#readme" |
5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
7 | 7 | ||
8 | SRC_URI = "https://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.xz \ | 8 | SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https \ |
9 | file://0001-Do-not-preserve-ownership-when-installing-example-jo.patch \ | 9 | file://0001-Do-not-preserve-ownership-when-installing-example-jo.patch \ |
10 | file://0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch \ | ||
10 | " | 11 | " |
11 | SRC_URI[sha256sum] = "1cefe4a3057c1522b146e62f61b80ce6e2e99da2d85ebe25bc03fc45228e58cd" | 12 | SRCREV = "61b454b4a3a9d052e63c78a9574ccf8a650575dc" |
13 | S = "${WORKDIR}/git" | ||
12 | 14 | ||
13 | DEPENDS = "coreutils-native" | 15 | DEPENDS = "coreutils-native" |
14 | 16 | ||