From 462068f247b0073aeb7b1866529e3cbba299e612 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 20 Jun 2017 18:23:52 +0200 Subject: Rework the code, update keyring handling This had some historical issue... So rework the code: * split into more functions * drop the sleep and notify logic * update keyring handling Depending on setup and systemd version (233 and up) the keyring handling fails. Try to fix this by... * writing to session keyring first * setting permissions * linking to user keyring * unlinking from session keyring https://mjg59.dreamwidth.org/37333.html --- mkinitcpio/ykfde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mkinitcpio') diff --git a/mkinitcpio/ykfde b/mkinitcpio/ykfde index 4932dfd..d30e331 100644 --- a/mkinitcpio/ykfde +++ b/mkinitcpio/ykfde @@ -11,8 +11,8 @@ build() { add_systemd_unit cryptsetup-pre.target add_systemd_unit ykfde-2f.service add_symlink /usr/lib/systemd/system/sysinit.target.wants/ykfde-2f.service ../ykfde-2f.service - add_systemd_unit ykfde-notify.service - add_symlink /usr/lib/systemd/system/sysinit.target.wants/ykfde-notify.service ../ykfde-notify.service + add_systemd_unit ykfde-worker.service + add_symlink /usr/lib/systemd/system/sysinit.target.wants/ykfde-worker.service ../ykfde-worker.service add_binary systemd-ask-password add_binary pkill add_binary sleep -- cgit v1.2.3-54-g00ecf