aboutsummaryrefslogtreecommitdiff
path: root/files/etc/initramfs-tools/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/initramfs-tools/hooks')
-rwxr-xr-xfiles/etc/initramfs-tools/hooks/fix-fixme17
1 files changed, 17 insertions, 0 deletions
diff --git a/files/etc/initramfs-tools/hooks/fix-fixme b/files/etc/initramfs-tools/hooks/fix-fixme
new file mode 100755
index 0000000..fbdbd3c
--- /dev/null
+++ b/files/etc/initramfs-tools/hooks/fix-fixme
@@ -0,0 +1,17 @@
+#!/bin/sh
+PREREQ="cryptroot"
+prereqs()
+{
+ echo "$PREREQ"
+}
+
+case $1 in
+ prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+. /usr/share/initramfs-tools/hook-functions
+# Begin real processing below this line
+sed -i -e "s|/FIXME-initramfs-rootmnt||g" $DESTDIR/cryptroot/crypttab