Add copy-blockdev tool 60/309960/7
authorJacek Kryszyn <j.kryszyn@samsung.com>
Mon, 8 Apr 2024 08:44:30 +0000 (10:44 +0200)
committerJacek Kryszyn <j.kryszyn@samsung.com>
Fri, 10 May 2024 13:49:56 +0000 (15:49 +0200)
commit6c66a3824111b535bea98f634716cc33766255bc
tree282162c84a997be0eddb2eab688a6f80b00e71a9
parent0ebf8e69bc7e49cfef67222fe5100eda85c56b56
Add copy-blockdev tool

copy-blockdev is a tool which copies one block device
to another (just like head -c $src > $dst or dd) but
it is also able to modify status of upgrade during
copying and to wcheck sha1 hash of both files after the
operation. It will be used during partitions cloning
during upggrade.

Change-Id: I53ece0156bc68181173a87b7ca58ef5810d09493
13 files changed:
CMakeLists.target-build
data/40-upgrade.list.in
packaging/upgrade.spec
src/copy-blockdev/CMakeLists.txt [new file with mode: 0644]
src/copy-blockdev/benchmarks/README.md [new file with mode: 0644]
src/copy-blockdev/benchmarks/benchmark_comparison.sh [new file with mode: 0755]
src/copy-blockdev/benchmarks/benchmark_partsize.sh [new file with mode: 0755]
src/copy-blockdev/benchmarks/functions.py [new file with mode: 0755]
src/copy-blockdev/benchmarks/process_comparison.py [new file with mode: 0755]
src/copy-blockdev/benchmarks/process_partsize.py [new file with mode: 0755]
src/copy-blockdev/lib.c [new file with mode: 0644]
src/copy-blockdev/lib.h [new file with mode: 0644]
src/copy-blockdev/main.c [new file with mode: 0644]