summaryrefslogtreecommitdiff
path: root/initramfs-tools/hooks/samizdat
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-04-19 15:15:09 -0400
committerAndrew Cady <d@jerkface.net>2016-04-19 15:15:09 -0400
commitceee310706bfc18d9ef5850ecc8a956ea6c83cee (patch)
tree4da5c1e9feb63f9fcbf6d10be303591c9b21874e /initramfs-tools/hooks/samizdat
parente98c4babea202d692a5dac8c05efc64a44e8aedc (diff)
make the samizdat boot menu show up
Diffstat (limited to 'initramfs-tools/hooks/samizdat')
-rwxr-xr-xinitramfs-tools/hooks/samizdat18
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
6for f in ./old-school/*; do 6for f in ./old-school/*; do copy_exec "$f" /bin; done
7 copy_exec "$f" /bin
8done
9 7
10path_execs='mountpoint' 8path_execs='mountpoint'
11for c in $path_execs; do 9
12 copy_exec "$(which $c)" /bin 10for c in $path_execs; do copy_exec "$(which $c)" /bin; done
13done 11
12absolute_path_copies='/lib/terminfo/l/linux'
13
14for f in $absolute_path_copies; do copy_exec "$f" "$f"; done
15
16samizdat_execs_dir=/home/d/src/samizdat # TODO
17samizdat_execs='wait_for_files samizdat-pinentry dynmenu'
18
19for c in $samizdat_execs; do copy_exec ${samizdat_execs_dir}/$c /bin; done
14 20
15copy_exec vol_id.txt /lib/samizdat/vol_id.txt 21copy_exec vol_id.txt /lib/samizdat/vol_id.txt
16 22