/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to initramfs-tools-script

* initramfs-tools-hook-conf: Security bug fix: Add code to handle
                             being called by "mkinitramfs-kpkg"
                             instead of "update-initramfs".

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
# eventually be "/scripts/init-premount/mandos" in the initrd.img
11
11
# file.
12
12
 
 
13
# No initramfs pre-requirements.
13
14
PREREQ="udev"
14
15
prereqs()
15
16
{
108
109
 
109
110
# Our keyscript
110
111
mandos=/lib/mandos/plugin-runner
111
 
test -x "$mandos"
112
112
 
113
113
# parse /conf/conf.d/cryptroot.  Format:
114
114
# target=sda2_crypt,source=/dev/sda2,key=none,keyscript=/foo/bar/baz