summaryrefslogtreecommitdiff
path: root/initramfs-tools/hooks/samizdat
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs-tools/hooks/samizdat')
-rwxr-xr-xinitramfs-tools/hooks/samizdat17
1 files changed, 17 insertions, 0 deletions
diff --git a/initramfs-tools/hooks/samizdat b/initramfs-tools/hooks/samizdat
new file mode 100755
index 0000000..d9e0974
--- /dev/null
+++ b/initramfs-tools/hooks/samizdat
@@ -0,0 +1,17 @@
1#!/bin/sh
2[ "$1" = prereqs ] && { echo; exit; }
3
4. /usr/share/initramfs-tools/hook-functions
5
6for f in ./old-school/*; do
7 copy_exec "$f" /bin
8done
9
10path_execs='mountpoint'
11for c in $path_execs; do
12 copy_exec "$(which $c)" /bin
13done
14
15copy_exec vol_id.txt /lib/samizdat/vol_id.txt
16
17exit 0