diff options
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" } |