]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/dissect-image.c
core,nspawn,dissect: make nspawn's .roothash file search reusable
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Dec 2016 16:10:42 +0000 (17:10 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 7 Feb 2017 11:21:28 +0000 (12:21 +0100)
commit78ebe98061eb527f17691929f470f262a7ab2c8f
tree59683606cfb85012fb77d4416a95ffa4144c0acd
parent915e6d1676cf73c4f927f3bbfa21ee82640b1832
core,nspawn,dissect: make nspawn's .roothash file search reusable

This makes nspawn's logic of automatically discovering the root hash of
an image file generic, and then reuses it in systemd-dissect and in
PID1's RootImage= logic, so that verity is automatically set up whenever
we can.
src/core/namespace.c
src/dissect/dissect.c
src/nspawn/nspawn.c
src/shared/dissect-image.c
src/shared/dissect-image.h