diff options
author | Andrew Cady <d@jerkface.net> | 2016-04-19 15:15:09 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2016-04-19 15:15:09 -0400 |
commit | ceee310706bfc18d9ef5850ecc8a956ea6c83cee (patch) | |
tree | 4da5c1e9feb63f9fcbf6d10be303591c9b21874e /initramfs-tools/hooks/samizdat | |
parent | e98c4babea202d692a5dac8c05efc64a44e8aedc (diff) |
make the samizdat boot menu show up
Diffstat (limited to 'initramfs-tools/hooks/samizdat')
-rwxr-xr-x | initramfs-tools/hooks/samizdat | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/initramfs-tools/hooks/samizdat b/initramfs-tools/hooks/samizdat index d9e0974..edcaea5 100755 --- a/initramfs-tools/hooks/samizdat +++ b/initramfs-tools/hooks/samizdat | |||
@@ -3,14 +3,20 @@ | |||
3 | 3 | ||
4 | . /usr/share/initramfs-tools/hook-functions | 4 | . /usr/share/initramfs-tools/hook-functions |
5 | 5 | ||
6 | for f in ./old-school/*; do | 6 | for f in ./old-school/*; do copy_exec "$f" /bin; done |
7 | copy_exec "$f" /bin | ||
8 | done | ||
9 | 7 | ||
10 | path_execs='mountpoint' | 8 | path_execs='mountpoint' |
11 | for c in $path_execs; do | 9 | |
12 | copy_exec "$(which $c)" /bin | 10 | for c in $path_execs; do copy_exec "$(which $c)" /bin; done |
13 | done | 11 | |
12 | absolute_path_copies='/lib/terminfo/l/linux' | ||
13 | |||
14 | for f in $absolute_path_copies; do copy_exec "$f" "$f"; done | ||
15 | |||
16 | samizdat_execs_dir=/home/d/src/samizdat # TODO | ||
17 | samizdat_execs='wait_for_files samizdat-pinentry dynmenu' | ||
18 | |||
19 | for c in $samizdat_execs; do copy_exec ${samizdat_execs_dir}/$c /bin; done | ||
14 | 20 | ||
15 | copy_exec vol_id.txt /lib/samizdat/vol_id.txt | 21 | copy_exec vol_id.txt /lib/samizdat/vol_id.txt |
16 | 22 | ||