aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-12 12:28:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-12 12:28:27 -0300
commit8b030ec9db165007af0254978c96f742dccc2235 (patch)
tree26584353be44ae237aae2cbbb1ee96c603ffb683 /files
parent7ae22f528408f1543c0e8cec7e7798c056f94a28 (diff)
downloadpuppet-nodo-8b030ec9db165007af0254978c96f742dccc2235.tar.gz
puppet-nodo-8b030ec9db165007af0254978c96f742dccc2235.tar.bz2
Fix: weird initramfs bug
Diffstat (limited to 'files')
-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