/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-hook

  • Committer: Teddy Hogeborn
  • Date: 2008-08-12 19:22:34 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080812192234-8bm17713ltih9ud1
* initramfs-tools-hook: New.
* initramfs-tools-hook-conf: New.

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
    cp --archive --sparse=always "$file" "${DESTCONFDIR}"
122
122
done
123
123
# Create key ring files
124
 
gpg --no-random-seed-file --quiet --batch --no-tty \
125
 
    --no-default-keyring --no-options --homedir "${DESTCONFDIR}" \
126
 
    --no-permission-warning --import-options import-minimal \
127
 
    --import "${DESTCONFDIR}/seckey.txt"
 
124
LANG=C gpg --quiet --batch --no-tty --no-options \
 
125
    --homedir "${DESTCONFDIR}" --no-permission-warning \
 
126
    --import "${DESTCONFDIR}/seckey.txt" \
 
127
    --import-options import-minimal
128
128
chown nobody "${DESTCONFDIR}/secring.gpg"
129
129
 
130
130
# /keyscripts/mandos-client will drop priviliges, but needs access to