diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 05:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 05:32:43 +0000 |
commit | deee2a8dbc51c7cd3a5aa10ee560589932c03dc6 (patch) | |
tree | bd5cc2ccc9c643e69c49ce75e70612710db84ac1 /debian/tests/utils/mkinitramfs | |
parent | Releasing progress-linux version 2:2.7.2-1~progress7.99u1. (diff) | |
download | cryptsetup-deee2a8dbc51c7cd3a5aa10ee560589932c03dc6.tar.xz cryptsetup-deee2a8dbc51c7cd3a5aa10ee560589932c03dc6.zip |
Merging debian version 2:2.7.2-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | debian/tests/utils/mkinitramfs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/tests/utils/mkinitramfs b/debian/tests/utils/mkinitramfs index 6bc70f4..d66ed75 100755 --- a/debian/tests/utils/mkinitramfs +++ b/debian/tests/utils/mkinitramfs @@ -109,10 +109,9 @@ copy_exec /sbin/dmsetup copy_exec /usr/bin/dpkg-deb copy_exec /bin/tar -# assume ossl-modules/legacy.so and libgcc_s.so are relative to the linked libcryptsetup.so +# assume ossl-modules/legacy.so is relative to the linked libcryptsetup.so libdir="$(env --unset=LD_PRELOAD ldd /sbin/cryptsetup | sed -nr '/.*=>\s*(\S+)\/libcryptsetup\.so\..*/ {s//\1/p;q}')" copy_exec "$libdir/ossl-modules/legacy.so" || true -copy_libgcc "$libdir" for p in /sbin/cryptsetup /sbin/lvm /sbin/mdadm /sbin/mke2fs /sbin/mkfs.btrfs /bin/btrfs; do if [ -x "$p" ]; then |