11 Commits

Author SHA1 Message Date
Natanael Copa
0c7d379339 community/mtd-utils: fix subpackages
we cannot set arch=all on subpackages
2019-05-06 19:58:42 +00:00
Kevin Daudt
69a9ea7c60 community/mtd-utils: disable checks
The checks currently fail on the builders with:

> [  ERROR   ] --- 0x6 != 0x3
> tests/unittests/test_lib.h:37: error: Check of parameter fd, function __wrap_close failed
> tests/unittests/libubi_test.c:25: note: Expected parameter declared here
> [   LINE   ] --- tests/unittests/test_lib.h:37: error: Failure!

Disable the test suite for now until this is fixed.
2019-04-20 16:05:59 +00:00
Kevin Daudt
a3efd22014 community/mtd-utils: make find invocations compliant
The Busybox version of find allows parameters to be specified between
'{}' and '+' as argument to -exec. This however is not according to the
posix specification, and the GNU version of find doesn't accept it.

Use the coreutils version of 'mv' with the '-t' arguement to be able to
specify the filenames as last.
2019-04-20 15:06:18 +00:00
Kevin Daudt
f0a95f57dd community/mtd-utils: add missing findutils to checkepdends
The cat_found_file function uses functionality from coreutils find. Add that as
a checkdepend.
2019-04-20 15:06:18 +00:00
Kevin Daudt
f5d21c4c38 community/mtd-utils: log output of test-suite on fail 2019-04-19 22:20:19 +00:00
Kevin Daudt
57d39405ad community/mtd-utils: adhere to aports code style
- No braces in variables when not required
- Opening brace of function definition on the same line
- Close quote of multiline string on the same column as data
2019-04-19 20:59:00 +00:00
Olliver Schinagl
fff74d8119 community/mtd-utils: Split into smaller subpackages
To stay in the alpine spirit, split mtd-utils into smaller targetted
packages.

E.g. if I have raw NAND flash, I don't care about the NOR tools. And
depending on the filesystem, I may not care about ubi.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2019-04-19 20:59:00 +00:00
Olliver Schinagl
c520aa0a98 community/mtd-utils: Enable check
Enable self-sets by using `make check`.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2019-04-19 20:59:00 +00:00
Olliver Schinagl
9a92e00856 community/mtd-utils: Version bump to 2.1.0
2.1.0 was released 4 weeks ago, so lets bump the version while we're
here.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2019-04-19 20:59:00 +00:00
Olliver Schinagl
6c10903577 community/mtd-utils: Minor cleanups
Use proper variable and strings as per shell scripting general
recommendations.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2019-04-19 20:59:00 +00:00
Olliver Schinagl
0c08f698c1 community/mtd-utils: Move from testing
The mtd-utils seem use, updates and are in a good shape. Lets put them
in the community repo.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2019-04-19 20:59:00 +00:00