]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared: make libcryptsetup dep dlopen
authorLennart Poettering <lennart@poettering.net>
Fri, 28 Aug 2020 19:27:45 +0000 (21:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Sep 2020 13:04:06 +0000 (15:04 +0200)
commit0d12936d9a351660ecaa94361b181d10f92d464f
tree75fbc8e1fe4d58f99b46b7efad774b52924027c7
parent1e2f32305c78cc3f0b8f9e6c8c1dc6617a3ef502
shared: make libcryptsetup dep dlopen

Let's make libcryptsetup a dlopen() style dep for PID 1 (i.e. for
RootImage= and stuff), systemd-growfs and systemd-repart. (But leave to
be a regulra dep in systemd-cryptsetup, systemd-veritysetup and
systemd-homed since for them the libcryptsetup support is not auxiliary
but pretty much at the core of what they do.)

This should be useful for container images that want systemd in the
payload but don't care for the cryptsetup logic since dm-crypt and stuff
isn't available in containers anyway.

Fixes: #8249
meson.build
src/partition/growfs.c
src/partition/repart.c
src/shared/cryptsetup-util.c
src/shared/cryptsetup-util.h
src/shared/dissect-image.c
src/shared/meson.build