fstools: add partname volume driver
authorDaniel Golle <daniel@makrotopia.org>
Fri, 26 Feb 2021 19:45:55 +0000 (19:45 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 27 Feb 2021 22:15:58 +0000 (22:15 +0000)
commitbad1835f27ec31dbc30060b03cc714212275168a
treec9d3b2a7fae94ca0aa013addcc3892228f3b78df
parentc53b18820756f6f32ad0782d3bf489422b7c4ad3
fstools: add partname volume driver

Add driver to handle block devices with (GPT) partition table which
can include a partition name.
If 'root=' is set on the kernel cmdline, only search for partitions
on the same device.
Among with other changes (ptgen, image*.mk, base-files, ...) this
allows for a much more straight forward storage model on block based
devices.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
CMakeLists.txt
libfstools/common.c [new file with mode: 0644]
libfstools/common.h [new file with mode: 0644]
libfstools/libfstools.h
libfstools/partname.c [new file with mode: 0644]
libfstools/rootdisk.c
libfstools/ubi.c