]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.exec.xml
core: new feature MountImages 16321/head
authorLuca Boccassi <luca.boccassi@microsoft.com>
Tue, 14 Jul 2020 15:18:41 +0000 (16:18 +0100)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Wed, 5 Aug 2020 20:34:55 +0000 (21:34 +0100)
commitb3d133148ea802e44ec913b2766c811ac2316f9a
treea4a70c936dd8697cd254aaf5c0be4d0294253ca7
parenta082edd53ac9da4a8e06281360754eb15bd1389f
core: new feature MountImages

Follows the same pattern and features as RootImage, but allows an
arbitrary mount point under / to be specified by the user, and
multiple values - like BindPaths.

Original implementation by @topimiettinen at:
https://github.com/systemd/systemd/pull/14451
Reworked to use dissect's logic instead of bare libmount() calls
and other review comments.
Thanks Topi for the initial work to come up with and implement
this useful feature.
15 files changed:
man/systemd.exec.xml
src/core/dbus-execute.c
src/core/execute.c
src/core/execute.h
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/core/load-fragment.h
src/core/namespace.c
src/core/namespace.h
src/core/unit.c
src/shared/bus-unit-util.c
src/systemctl/systemctl.c
src/test/test-namespace.c
src/test/test-ns.c
test/units/testsuite-50.sh