diff options
author | Christian Hesse <mail@eworm.de> | 2017-06-20 18:23:52 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-06-20 18:23:52 +0200 |
commit | 462068f247b0073aeb7b1866529e3cbba299e612 (patch) | |
tree | 3068fadcffe60d28912e7c2a2f7876f9b73e1d8d /mkinitcpio | |
parent | d0d025a737c3b8fa2a07580a138b90e408121e27 (diff) | |
download | mkinitcpio-ykfde-462068f247b0073aeb7b1866529e3cbba299e612.tar.gz mkinitcpio-ykfde-462068f247b0073aeb7b1866529e3cbba299e612.tar.zst |
Rework the code, update keyring handlingsystemd-v233
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
Diffstat (limited to 'mkinitcpio')
-rw-r--r-- | mkinitcpio/ykfde | 4 |
1 files changed, 2 insertions, 2 deletions
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 |