summaryrefslogtreecommitdiff
path: root/initramfs-tools/hooks
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-04-19 14:39:53 -0400
committerAndrew Cady <d@jerkface.net>2016-04-19 14:39:53 -0400
commite98c4babea202d692a5dac8c05efc64a44e8aedc (patch)
tree033df22923a6b09b3395006ed4e2056afc281ff9 /initramfs-tools/hooks
parent3884276c13d142483b1a018b31f5723e3961965f (diff)
cause the grok-block hooks to run
Diffstat (limited to 'initramfs-tools/hooks')
-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