From 82c7144c1c07cea8c00e97be7adb8e7ce76e64b4 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 18 Dec 2013 12:48:41 +0100 Subject: stress: fix build, texinfo errors newer distro's tools give the following errors. stress.texi:68: @itemx must follow @item ported from meta-linaro: From e8ba4b6db2c3ec2be54f74d0177bbce2df3f0714 Mon Sep 17 00:00:00 2001 From: Riku Voipio Date: Mon, 1 Jul 2013 12:36:23 +0300 Subject: [PATCH] meta-linaro: fix stress build incompatible texinfo changes broke this build --- recipes/stress/files/texinfo.patch | 79 ++++++++++++++++++++++++++++++++++++++ recipes/stress/stress_1.0.4.bb | 5 ++- 2 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 recipes/stress/files/texinfo.patch (limited to 'recipes/stress') diff --git a/recipes/stress/files/texinfo.patch b/recipes/stress/files/texinfo.patch new file mode 100644 index 0000000..5ac5951 --- /dev/null +++ b/recipes/stress/files/texinfo.patch @@ -0,0 +1,79 @@ +--- a/doc/stress.texi ++++ b/doc/stress.texi +@@ -62,47 +62,47 @@ + + @table @samp + @item -? +-@itemx --help ++@item --help + Show help information. + +-@itemx --version ++@item --version + Show version information. + + @item -v +-@itemx --verbose ++@item --verbose + Turn up verbosity. + + @item -q +-@itemx --quiet ++@item --quiet + Turn down verbosity. + + @item -n +-@itemx --dry-run ++@item --dry-run + Show what would have been done. + + @item -t @var{secs} +-@itemx --timeout @var{secs} ++@item --timeout @var{secs} + Time out after @var{secs} seconds. + +-@itemx --backoff @var{usecs} ++@item --backoff @var{usecs} + Wait for factor of @var{usecs} microseconds before starting work. + + @item -c @var{forks} +-@itemx --cpu @var{forks} ++@item --cpu @var{forks} + Spawn @var{forks} processes each spinning on @samp{sqrt()}. + + @item -i @var{forks} +-@itemx --io @var{forks} ++@item --io @var{forks} + Spawn @var{forks} processes each spinning on @samp{sync()}. + + @item -m @var{forks} +-@itemx --vm @var{forks} ++@item --vm @var{forks} + Spawn @var{forks} processes each spinning on @samp{malloc()}. + +-@itemx --vm-bytes @var{bytes} ++@item --vm-bytes @var{bytes} + Allocate @var{bytes} number of bytes. The default is 1. + +-@itemx --vm-hang ++@item --vm-hang + Instruct each vm hog process to go to sleep after allocating memory. This + contrasts with their normal behavior, which is to free the memory and + reallocate @emph{ad infinitum}. This is useful for simulating low memory +@@ -114,13 +114,13 @@ + @end example + + @item -d @var{forks} +-@itemx --hdd @var{forks} ++@item --hdd @var{forks} + Spawn @var{forks} processes each spinning on @samp{write()}. + +-@itemx --hdd-bytes @var{bytes} ++@item --hdd-bytes @var{bytes} + Write @var{bytes} number of bytes. The default is 1GB. + +-@itemx --hdd-noclean ++@item --hdd-noclean + Do not unlink file(s) to which random ASCII data is written. + + @end table diff --git a/recipes/stress/stress_1.0.4.bb b/recipes/stress/stress_1.0.4.bb index b6ee07e..66257aa 100644 --- a/recipes/stress/stress_1.0.4.bb +++ b/recipes/stress/stress_1.0.4.bb @@ -12,7 +12,10 @@ MIRRORS_prepend () { http://weather.ou.edu/~apw/projects/stress/ http://pkgs.fedoraproject.org/repo/pkgs/stress/stress-1.0.4.tar.gz/a607afa695a511765b40993a64c6e2f4/ } -SRC_URI="http://weather.ou.edu/~apw/projects/stress/stress-${PV}.tar.gz" +SRC_URI=" \ + http://weather.ou.edu/~apw/projects/stress/stress-${PV}.tar.gz \ + file://texinfo.patch \ +" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SRC_URI[md5sum] = "a607afa695a511765b40993a64c6e2f4" -- cgit v1.2.3