Commit fb0a7b80 authored by 杨文 陈's avatar 杨文 陈

community/stress-ng: upgrade to 0.11.21

parent 5013a7ef
Pipeline #53733 canceled with stages
in 1 minute and 26 seconds
# Contributor: Olliver Schinagl <oliver@schinagl.nl>
# Maintainer: Olliver Schinagl <oliver@schinagl.nl>
pkgname=stress-ng
pkgver=0.11.00
pkgrel=1
pkgver=0.11.21
pkgrel=0
pkgdesc="stress-ng will stress test a computer system in various selectable ways"
url="https://kernel.ubuntu.com/~cking/stress-ng/"
arch="all !mips !mips64"
......@@ -16,8 +16,7 @@ makedepends="
zlib-dev
"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
source="https://kernel.ubuntu.com/~cking/tarballs/stress-ng/stress-ng-$pkgver.tar.xz
fix-kernel-header-detection.patch"
source="https://kernel.ubuntu.com/~cking/tarballs/stress-ng/stress-ng-$pkgver.tar.xz"
build() {
make
......@@ -36,5 +35,4 @@ bashcomp() {
amove usr/share/bash-completion/completions
}
sha512sums="d10ad50c2acb6ab53926155fd382c409bbf832a944ec1c3f3ba1c0266cc685dae2bb2c3e24f59e039eea438ad79d5efaafe02745e0e08b9d919894461e2bc49a stress-ng-0.11.00.tar.xz
d444d2f0bc1969b133f8a915592079efdb049f08a4e13e4cfa078dc856015bbeb499abb47817b088a935096fe28c748d328f6907138eea6ec47f51efcd0d6889 fix-kernel-header-detection.patch"
sha512sums="ec41d57f1d58150efc5db5cf96d8b2d8f6f2453cce2f5b2275b8cacb68fad6acfe7fe3004326413ab4ee02098a340938a3cf04404141f1310a05e07abaf7b500 stress-ng-0.11.21.tar.xz"
diff --git a/stress-ramfs.c b/stress-ramfs.c
index 09d89a9..f02ce28 100644
--- a/stress-ramfs.c
+++ b/stress-ramfs.c
@@ -191,7 +191,8 @@ static int stress_ramfs_child(const args_t *args)
#if defined(__NR_fsopen) && \
defined(__NR_fsmount) && \
defined(__NR_fsconfig) && \
- defined(__NR_move_mount)
+ defined(__NR_move_mount) && \
+ defined(FSCONFIG_SET_STRING)
/*
* Use the new Linux 5.2 mount system calls
*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment