diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2014-12-13 12:48:41 +0100 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2014-12-13 13:26:38 +0100 |
| commit | ac3119a6e002a283ea8923b59eb30d9b850dc5ee (patch) | |
| tree | c3e2deae797e113b6f0fb33f0b2666d350947304 /liveusb | |
| parent | 66c7b4316300992995f531dbc12d9f8ce4727323 (diff) | |
Some more incomplete crypto
Diffstat (limited to 'liveusb')
| -rwxr-xr-x | liveusb/build.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/liveusb/build.sh b/liveusb/build.sh index af7ca71..efe055c 100755 --- a/liveusb/build.sh +++ b/liveusb/build.sh @@ -73,6 +73,8 @@ make_encrypted_device() { local _loopdev=$(losetup -f) losetup ${_loopdev} ${work_dir}/airootfs/encrypted echo "passphrase" | cryptsetup luksFormat ${_loopdev} - + echo "passphrase" | cryptsetup open ${_loopdev} cryptloop --key-file - + mkfs.ext4 /dev/mapper/cryptloop } # Customize installation (airootfs) |
