From e1b213ceabcc5984c7cb9e73c44eaced31c6d7e9 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Sun, 26 Jul 2009 18:06:58 +0300 Subject: ubinize: add sequence number support UBI now supports the image sequence number feature which prevents UBI from mistakingly accepting half-written images, if the image was written on top of an older image. Support this feature in ubinize and make it pick a random number for the UBI image sequence number. Signed-off-by: Artem Bityutskiy --- ubi-utils/src/common.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ubi-utils/src/common.c') diff --git a/ubi-utils/src/common.c b/ubi-utils/src/common.c index 50a07ab..3fd470b 100644 --- a/ubi-utils/src/common.c +++ b/ubi-utils/src/common.c @@ -27,6 +27,7 @@ #include #include #include +#include "common.h" /** * get_multiplier - convert size specifier to an integer multiplier. -- cgit v1.2.3