From eded3e909d8d7122ea1652940bb41bf5eef3ed55 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Mon, 17 Dec 2007 13:29:40 +0200 Subject: 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 --- ubi-utils/tests/README.udev | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'ubi-utils/tests/README.udev') 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. -- cgit v1.2.3