This patch set adds support for inspecting CoreOS installations. In
CoreOS the files that need to be inspected under /etc are links to files
under /usr which is hosted on a different partition and mounted read
only. Hence, inspecting the root fs is not enough to gather all needed
information.
This patch set adds code for recognizing the root and the /usr
partitions of CoreOS and a new internal API function that will merge the
inspection information of the 2 inspect_fs structs into one.
Nikos Skalkotos (3):
inspection: Add func for merging fs inspections
inspection: Add support for CoreOS
Add tests for CoreOS
.gitignore | 1 +
generator/actions.ml | 4 +
inspector/Makefile.am | 1 +
inspector/expected-coreos.img.xml | 30 +++++++
src/guestfs-internal.h | 4 +
src/inspect-fs-unix.c | 69 ++++++++++++++-
src/inspect-fs.c | 136 ++++++++++++++++++++++++++++++
src/inspect-icon.c | 1 +
src/inspect.c | 62 ++++++++++++++
tests/guests/Makefile.am | 6 ++
tests/guests/guest-aux/make-coreos-img.sh | 83 ++++++++++++++++++
tests/guests/guests.xml.in | 16 ++++
12 files changed, 410 insertions(+), 3 deletions(-)
create mode 100644 inspector/expected-coreos.img.xml
create mode 100755 tests/guests/guest-aux/make-coreos-img.sh
--
2.1.0