[Pkg-loop-aes-commits] r1435 - in /trunk/loop-aes-utils: ./ debian/initramfs/script
xam at users.alioth.debian.org
xam at users.alioth.debian.org
Sat Aug 11 23:49:32 UTC 2007
Author: xam
Date: Sat Aug 11 23:49:31 2007
New Revision: 1435
URL: http://svn.debian.org/wsvn/pkg-loop-aes/?sc=1&rev=1435
Log:
initramfs/script: Allow more tries after failed passphrase entry
Modified:
trunk/loop-aes-utils/ (props changed)
trunk/loop-aes-utils/debian/initramfs/script
Propchange: trunk/loop-aes-utils/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Sat Aug 11 23:49:31 2007
@@ -1,4 +1,4 @@
-02a4734a-7125-4a10-a2dd-ccf7f6155d04:/local/pkg-loop-aes/trunk/loop-aes-utils:11018
+02a4734a-7125-4a10-a2dd-ccf7f6155d04:/local/pkg-loop-aes/trunk/loop-aes-utils:11019
53348a03-e5de-0310-b097-96e6f85ea926:/import/loop-aes-utils/branches/2.12-alternative:120
53348a03-e5de-0310-b097-96e6f85ea926:/import/loop-aes-utils/branches/2.12-dpatch:196
53348a03-e5de-0310-b097-96e6f85ea926:/import/loop-aes-utils/trunk/current:338
Modified: trunk/loop-aes-utils/debian/initramfs/script
URL: http://svn.debian.org/wsvn/pkg-loop-aes/trunk/loop-aes-utils/debian/initramfs/script?rev=1435&op=diff
==============================================================================
--- trunk/loop-aes-utils/debian/initramfs/script (original)
+++ trunk/loop-aes-utils/debian/initramfs/script Sat Aug 11 23:49:31 2007
@@ -142,7 +142,9 @@
# Use /sbin/losetup to make sure that we get the loopaes modified one,
# not the busybox one.
-/sbin/losetup ${losetup_opts} "${rootloop}" "$ROOT"
+while ! /sbin/losetup ${losetup_opts} "${rootloop}" "$ROOT"; do
+ sleep 1
+done
# init can now pick up new FSTYPE, FSSIZE and ROOT
echo "ROOT=\"${rootloop}\"" >> /conf/param.conf
More information about the Pkg-loop-aes-commits
mailing list