summaryrefslogtreecommitdiffstats
path: root/mkinitcpio
diff options
context:
space:
mode:
Diffstat (limited to 'mkinitcpio')
-rw-r--r--mkinitcpio/ykfde-cpio15
1 files changed, 15 insertions, 0 deletions
diff --git a/mkinitcpio/ykfde-cpio b/mkinitcpio/ykfde-cpio
new file mode 100644
index 0000000..c055a6d
--- /dev/null
+++ b/mkinitcpio/ykfde-cpio
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+build() {
+ # install files to initramfs
+ add_binary /usr/lib/udev/ykfde
+ add_file /usr/lib/initcpio/udev/20-ykfde.rules /usr/lib/udev/rules.d/20-ykfde.rules
+ add_file /etc/ykfde.conf
+}
+
+help() {
+ echo "This hook adds support for opening LUKS devices with Yubico key."
+ echo "Please use command 'ykfde' to prepare."
+ echo "The hook ykfde-cpio does NOT include challenges! Please load"
+ echo "additional cpio archive with bootloader."
+}