[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#348147: Patch version 3



Hi,

I've attached a third version of the patch. The changes to the init script have been removed and I intend to add the script/hooks files to the cryptsetup package instead (separate wishlist bug to be filed soon).

Thus, the patch is reduced to a four-line change to scripts/functions, I hope you'll find time to fix this soon.

Regards,
David

diff -Nur initramfs-tools-0.57b-orig/scripts/functions initramfs-tools-0.57b/scripts/functions
--- initramfs-tools-0.57b-orig/scripts/functions	2006-03-17 17:13:51.000000000 +0100
+++ initramfs-tools-0.57b/scripts/functions	2006-03-22 19:01:39.000000000 +0100
@@ -161,6 +161,10 @@
 {
 	for cs_x in ${runlist}; do
 		${initdir}/${cs_x}
+		if [ -e /dev/.initramfs/source.me ]; then
+			. /dev/.initramfs/source.me
+			rm -f /dev/.initramfs/source.me
+		fi
 	done
 }
 

Reply to: