[Pkg-cryptsetup-devel] Bug#488266: Bug#488266: cryptsetup: use the correct destination in the cryptroot initramfs hook

David Härdeman david at hardeman.nu
Sun Jun 29 21:40:40 UTC 2008


On Fri, Jun 27, 2008 at 02:11:36PM +0100, James Westby wrote:
>diff -pruN 2:1.0.6-2/debian/initramfs/cryptroot-hook
>2:1.0.6-2ubuntu7/debian/initramfs/cryptroot-hook
>--- 2:1.0.6-2/debian/initramfs/cryptroot-hook	2008-06-20 22:19:57.000000000 +0100
>+++ 2:1.0.6-2ubuntu7/debian/initramfs/cryptroot-hook	2008-06-20 22:16:41.000000000 +0100
>@@ -478,9 +478,10 @@ if [ "$MODULES" != "dep" ] || [ "$setup"
> 		manual_add_modules $mod
> 	done
> 
>-	copy_exec /sbin/cryptsetup
>-	copy_exec /sbin/dmsetup
>-	copy_exec /lib/cryptsetup/askpass
>+	copy_exec /sbin/cryptsetup /sbin
>+	copy_exec /sbin/dmsetup /sbin
>+	mkdir -p $DESTDIR/lib/cryptsetup
>+	copy_exec /lib/cryptsetup/askpass /lib/cryptsetup/

This patch is incorrect...one-argument copy_exec is perfectly fine, 
check initramfs-tools source if you doubt this:

-- 
David Härdeman





More information about the Pkg-cryptsetup-devel mailing list