diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-11-28 17:28:06 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2023-11-28 21:23:45 +0100 |
commit | 25757715feb586d43388a035592fdedaac75c1db (patch) | |
tree | ab6d594f5c324e631b3567c567115675266c81cc /docs/ENVIRONMENT.md | |
parent | man: typo, it's DHCP not DCHP in DHCPPrefixDelegation= (diff) | |
download | systemd-25757715feb586d43388a035592fdedaac75c1db.tar.xz systemd-25757715feb586d43388a035592fdedaac75c1db.zip |
shared/cryptsetup-util: build problematic code only in developer mode
This code doesn't link when gcc+lld is used:
$ LDFLAGS=-fuse-ld=lld meson setup build-lld && ninja -C build-lld udevadm
...
ld.lld: error: src/shared/libsystemd-shared-255.a(libsystemd-shared-255.a.p/cryptsetup-util.c.o):
symbol crypt_token_external_path@@ has undefined version
collect2: error: ld returned 1 exit status
As a work-around, restrict it to developer mode.
Closes https://github.com/systemd/systemd/issues/30218.
Diffstat (limited to 'docs/ENVIRONMENT.md')
-rw-r--r-- | docs/ENVIRONMENT.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md index 534490e0e0..5e15b2ba1d 100644 --- a/docs/ENVIRONMENT.md +++ b/docs/ENVIRONMENT.md @@ -472,7 +472,8 @@ disk images with `--image=` or similar: * `$SYSTEMD_CRYPTSETUP_TOKEN_PATH` – takes a path to a directory in the file system. If specified overrides where libcryptsetup will look for token modules (.so). This is useful for debugging token modules: set this - environment variable to the build directory and you are set. + environment variable to the build directory and you are set. This variable + is only supported when systemd is compiled in developer mode. Various tools that read passwords from the TTY, such as `systemd-cryptenroll` and `homectl`: |