diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 08:37:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 08:38:05 +0000 |
commit | 0c50fbfc9ef4f6c538804759ab9f6143ac2d028b (patch) | |
tree | 01c486c5a07cc3495d6d511b83dc4aa5aaaacc6e /debian/tests | |
parent | Merging upstream version 2:2.7.1. (diff) | |
download | cryptsetup-0c50fbfc9ef4f6c538804759ab9f6143ac2d028b.tar.xz cryptsetup-0c50fbfc9ef4f6c538804759ab9f6143ac2d028b.zip |
Merging debian version 2:2.7.1-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests')
-rwxr-xr-x | debian/tests/utils/cryptroot-common | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/tests/utils/cryptroot-common b/debian/tests/utils/cryptroot-common index a7df37f..2d73d9d 100755 --- a/debian/tests/utils/cryptroot-common +++ b/debian/tests/utils/cryptroot-common @@ -416,9 +416,12 @@ extract_kernel() { fi mkdir "$destdir" + mkdir "$destdir/usr" "$destdir/usr/lib" + ln -sT "usr/lib" "$destdir/lib" dpkg-deb --fsys-tarfile "$APT_CACHE/archives/$KERNEL_DEB" | tar -C "$destdir" -xf- \ + --wildcards --wildcards-match-slash \ "./boot/vmlinuz-$KERNEL_VERSION" \ - "./lib/modules/$KERNEL_VERSION" + "*/lib/modules/$KERNEL_VERSION" ln -T -- "$destdir/boot/vmlinuz-$KERNEL_VERSION" "$TEMPDIR/vmlinuz-$KERNEL_VERSION" } |