]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
AOSP: e2fsdroid: create incremental images
authorAdrien Schildknecht <adriens@google.com>
Wed, 30 Nov 2016 06:15:18 +0000 (22:15 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 24 May 2017 02:23:34 +0000 (22:23 -0400)
commitd0ed0ab8ec5a6b875629911737a22b4519838a9b
treeb44765a267e1aaa9fc17e8bf846ce68b79440271
parent1e43f83f7ab338f64f77299031e0b8bf1b43e034
AOSP: e2fsdroid: create incremental images

Add an option to read a base_fs file and allocate the blocks according
to the mapping provided by the file.

Test: 1/ Create a normal image and an incremental one.
         Compare the number of blocks that have changed.
      2/ Create an image.
         Create an incremantal image.
         The basefs file and the block_list file are the same.

Change-Id: Ie000ca48cf000d95e7a45a9752699abfc7484b6c
From AOSP commit: 16babe7b79c4c9b6d75d60e30c04a8e24278e4fa

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
contrib/android/Android.mk
contrib/android/base_fs.c
contrib/android/base_fs.h
contrib/android/basefs_allocator.c [new file with mode: 0644]
contrib/android/basefs_allocator.h [new file with mode: 0644]
contrib/android/e2fsdroid.c
contrib/android/hashmap.c [new file with mode: 0644]
contrib/android/hashmap.h [new file with mode: 0644]