diff options
author | Andrew Cady <d@jerkface.net> | 2016-04-20 15:37:48 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2016-04-20 15:37:52 -0400 |
commit | a605ac10973b145e1121c858d3955bd4ef7103b1 (patch) | |
tree | b743e2e40cfd07cea820128c429fc0f38140d8b6 /initramfs-tools | |
parent | 1bddec3db035c4878a91fba7ce585b4ac727a89f (diff) |
btrfs-based encrypted persistent root
This replaces the old LVM code with btrfs-based code.
Diffstat (limited to 'initramfs-tools')
-rwxr-xr-x | initramfs-tools/hooks/samizdat | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/initramfs-tools/hooks/samizdat b/initramfs-tools/hooks/samizdat index 2dffdd1..c71dada 100755 --- a/initramfs-tools/hooks/samizdat +++ b/initramfs-tools/hooks/samizdat | |||
@@ -8,11 +8,12 @@ CopyExec() { copy_exec "$@" || exit 1; } | |||
8 | for f in ./old-school/*; do CopyExec "$f" /bin; done | 8 | for f in ./old-school/*; do CopyExec "$f" /bin; done |
9 | 9 | ||
10 | # TODO: check samizdat source to see what it copies | 10 | # TODO: check samizdat source to see what it copies |
11 | path_execs='mountpoint openvt rsync gpg2 gpg-agent pinentry-curses truncate cryptsetup mkfs.btrfs' | 11 | path_execs='mountpoint openvt rsync gpg2 gpg-agent pinentry-curses truncate cryptsetup mkfs.btrfs btrfs' |
12 | 12 | ||
13 | for c in $path_execs; do CopyExec "$(which $c)" /bin; done | 13 | for c in $path_execs; do CopyExec "$(which $c)" /bin; done |
14 | 14 | ||
15 | CopyExec /bin/openvt /bin/OpenVT | 15 | CopyExec /bin/openvt /bin/OpenVT |
16 | CopyExec /sbin/losetup /bin/LoSetup | ||
16 | 17 | ||
17 | absolute_path_copies='/lib/terminfo/l/linux' | 18 | absolute_path_copies='/lib/terminfo/l/linux' |
18 | 19 | ||