diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-08-28 21:27:45 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-09-02 15:04:06 +0200 |
commit | 0d12936d9a351660ecaa94361b181d10f92d464f (patch) | |
tree | 75fbc8e1fe4d58f99b46b7efad774b52924027c7 /meson.build | |
parent | shared: rename crypt-util.c → cryptsetup-util.c (diff) | |
download | systemd-0d12936d9a351660ecaa94361b181d10f92d464f.tar.xz systemd-0d12936d9a351660ecaa94361b181d10f92d464f.zip |
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
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meson.build b/meson.build index 889669b5d2..ab0d7da1e9 100644 --- a/meson.build +++ b/meson.build @@ -2297,7 +2297,6 @@ if conf.get('HAVE_LIBCRYPTSETUP') == 1 'src/cryptsetup/cryptsetup-generator.c', include_directories : includes, link_with : [libshared], - dependencies : [libcryptsetup], install_rpath : rootlibexecdir, install : true, install_dir : systemgeneratordir) @@ -2317,7 +2316,6 @@ if conf.get('HAVE_LIBCRYPTSETUP') == 1 'src/veritysetup/veritysetup-generator.c', include_directories : includes, link_with : [libshared], - dependencies : [libcryptsetup], install_rpath : rootlibexecdir, install : true, install_dir : systemgeneratordir) @@ -2672,7 +2670,6 @@ if conf.get('ENABLE_REPART') == 1 include_directories : includes, link_with : [libshared], dependencies : [threads, - libcryptsetup, libblkid, libfdisk, libopenssl], @@ -2755,7 +2752,6 @@ executable('systemd-growfs', 'src/partition/growfs.c', include_directories : includes, link_with : [libshared], - dependencies : [libcryptsetup], install_rpath : rootlibexecdir, install : true, install_dir : rootlibexecdir) |