Skip to content

Commit 456f888

Browse files
committed
Ignore "archive" feature in libsystemd-shared.so by default
The "archive" feature in libsystemd-shared.so requires libarchive, which in turn requires libstdc++.so.6 and libxml2.so.2 and much more. These libraries are not actually used in initramfs. The feature is only required for `systemd-dissect --make-archive` (Dissect Discoverable Disk Images). Signed-off-by: Alexey Gladkov <[email protected]>
1 parent 82980de commit 456f888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mk/config.mk.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ PUT_PROGS ?=
125125
#
126126
# See https://github.com/systemd/systemd/blob/main/docs/ELF_DLOPEN_METADATA.md
127127
#
128-
IGNORE_PUT_DLOPEN_FEATURE ?=
128+
IGNORE_PUT_DLOPEN_FEATURE ?= /libsystemd-shared-.*\.so:archive
129129
IGNORE_PUT_DLOPEN_PRIORITY ?=
130130

131131
# Load user configuration

0 commit comments

Comments
 (0)