aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils/tests
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-17 13:29:40 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-17 13:29:40 +0200
commiteded3e909d8d7122ea1652940bb41bf5eef3ed55 (patch)
tree4e9a7af70397cf0bf8efebccdcd891937bda740b /ubi-utils/tests
parentfd98ff924d71061a062b813cb784f83e4c89401f (diff)
ubi-utils: add udevsettle hack
Add udevsettle call to libubi which is not compiled in by default. We need this for UBI testing. Also, add one more TODO note Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/tests')
-rw-r--r--ubi-utils/tests/README.udev10
1 files changed, 8 insertions, 2 deletions
diff --git a/ubi-utils/tests/README.udev b/ubi-utils/tests/README.udev
index 6c12277..06e71d3 100644
--- a/ubi-utils/tests/README.udev
+++ b/ubi-utils/tests/README.udev
@@ -15,5 +15,11 @@ In our Ubuntu distribution we put that to new file:
/etc/udev/rules.d/50-local.rules
Another possibility is to call udevsettle utility in libubi after the volume
-has been created See src/libubi.c - the call is there but is commented out.
-This is anyway an ugly hack, but works, although makes the tests slower.
+has been created See src/libubi.c - the call is compiled in only if
+UDEV_SETTLE_HACK is defined. This is anyway an ugly hack, but works, although
+makes the tests slower. Suggestions are welcome.
+
+So, if you have udevsettel unility in your system, you do not have to do
+anyting, and the tests should work, because we compile libubi with
+UDEV_SETTLE_HACK. Otherwise, you should remove -D UDEV_SETTLE_HACK
+from the makefile and pre-create UBI device nodes.