[Pkg-cryptsetup-devel] Bug#447159: Bug#447159: cryptsetup: supply a script to start a particular entry from crypttab on-demand

Jonas Meurer jonas at freesources.org
Sat Oct 20 13:02:16 UTC 2007


On 18/10/2007 Jon Dowland wrote:
> Hi: it would be nice if there was a tool in cryptsetup to start a
> mapping from the crypttab on demand (like how mount parses
> /etc/crypttab). Here's my first stab at this (attached).
> 
> If you like the idea I can develop it a bit (different name, manpage,
> etc.) and submit upstream.

Hey Jon,

thanks for the patch. I applied it to our svn in a slightly modified
version. First, I renamed cryptsetup_start to cryptdisks_start.
cryptsetup is the upstream tool, cryptdisks are our wrappers around it.

Second, I added some copyright header to the script:

# Initial code and (c) 2007 Jon Dowland <jon at alcopop.org>
# License: GNU General Public License, v2 or any later
# (http://www.gnu.org/copyleft/gpl.html)

> +	cp cryptsetup_start $(CURDIR)/debian/cryptsetup/sbin/cryptsetup_start

I changed that one to

install -m 0755 debian/scripts/cryptdisks_start $(CURDIR)/debian/cryptsetup/usr/sbin/

greetings,
 jonas






More information about the Pkg-cryptsetup-devel mailing list