random-archer / mkinitcpio-systemd-tool

Provisioning tool for systemd in initramfs (systemd-tool)
https://www.archlinux.org/packages/community/any/mkinitcpio-systemd-tool/
Other
113 stars 27 forks source link

initrd-cryptsetup luks2 incompatible #19

Closed vaminakov closed 5 years ago

vaminakov commented 6 years ago

If disk have luks2 format, hook asks password (secret> ... ), but exit with error

libgcc_s.so.1 must be installed for pthread_cancel to work

Error describbed in this topic, but for another hook.

Andrei-Pozolotin commented 5 years ago

try adding library dependency config stanza to the service: https://github.com/random-archer/mkinitcpio-systemd-tool/blob/master/initrd-cryptsetup.service

# luks2 disk format work around, see #19
InitrdBinary=/usr/lib/libgcc_s.so.1 optional=yes
Andrei-Pozolotin commented 5 years ago

assume resolved