From e98c4babea202d692a5dac8c05efc64a44e8aedc Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Tue, 19 Apr 2016 14:39:53 -0400 Subject: cause the grok-block hooks to run --- initramfs-tools/hooks/samizdat | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 initramfs-tools/hooks/samizdat (limited to 'initramfs-tools/hooks') 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 @@ +#!/bin/sh +[ "$1" = prereqs ] && { echo; exit; } + +. /usr/share/initramfs-tools/hook-functions + +for f in ./old-school/*; do + copy_exec "$f" /bin +done + +path_execs='mountpoint' +for c in $path_execs; do + copy_exec "$(which $c)" /bin +done + +copy_exec vol_id.txt /lib/samizdat/vol_id.txt + +exit 0 -- cgit v1.2.3