[Pkg-cryptsetup-devel] Bug#397981: cryptsetup: initramfs script incompatible with usplash

James Westby jw+debian at jameswestby.net
Wed Apr 18 18:52:13 UTC 2007


Hi David,

Usplash in unstable now includes your patches to add INPUTQUIET. I have
it running locally using a keyscript, and it works nicely. It would be
great if you could enable the integration in the package now.

I am attaching my keyscript as it may be of interest to someone. Just
save it to /usr/local/bin/ and make it owned by root and chmod u+x. Then
edit /etc/crypttab to add keyscript=/usr/local/bin/usplash_pass.sh. My
line looks like

  hda5_crypt /dev/hda5 none luks,keyscript=/usr/local/bin/usplash_pass.sh

Then take the second script and save it to /etc/initramfs-tools/hooks/.
It copies /bin/echo into the initramfs as echo -n is needed, and the
builtin isn't guaranteed to use it.

I would be happy to test any packages that you create if you would like.

Thanks for all your work,

James

-- 
  James Westby   --    GPG Key ID: B577FE13    --     http://jameswestby.net/
  seccure key - (3+)k7|M*edCX/.A:n*N!>|&7U.L#9E)Tu)T0>AM - secp256r1/nistp256
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usplash_pass.sh
Type: application/x-sh
Size: 402 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20070418/1f863435/usplash_pass-0001.sh
-------------- next part --------------
#!/bin/sh

. /usr/share/initramfs-tools/hook-functions

copy_exec /bin/echo /bin



More information about the Pkg-cryptsetup-devel mailing list