summaryrefslogtreecommitdiff
path: root/liveusb/build.sh
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2014-12-13 12:48:41 +0100
committerYuval Adam <yuv.adm@gmail.com>2014-12-13 13:26:38 +0100
commitac3119a6e002a283ea8923b59eb30d9b850dc5ee (patch)
treec3e2deae797e113b6f0fb33f0b2666d350947304 /liveusb/build.sh
parent66c7b4316300992995f531dbc12d9f8ce4727323 (diff)
Some more incomplete crypto
Diffstat (limited to 'liveusb/build.sh')
-rwxr-xr-xliveusb/build.sh2
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)