[systemd-devel] systemd-encrypt is a little painful

Mantas Mikulėnas grawity at gmail.com
Mon Sep 7 15:04:19 UTC 2020


On Mon, Sep 7, 2020 at 5:33 PM Lennart Poettering <lennart at poettering.net>
wrote:

> On Mo, 07.09.20 13:51, Kai Hendry (hendry at webconverger.com) wrote:
>
> > Hi guys,
> >
> > After making https://www.youtube.com/watch?v=gh3jkIENmAM I'm
> > thinking the install process could be a lot smoother if:
> >
> > somehow systemd could do the initramfs, i.e. take over mkinitcpio's
> > hook role
>
> Hmm, mkinitcpio? That's arch? Does that run systemd inside?
>

It can optionally use systemd (although the default is to use a traditional
busybox script), and it sounds like Kai *has* configured it that way,
otherwise sd-encrypt wouldn't have had any effect whatsoever.

"sd-encrypt" is the mkinitcpio module (hook) which adds the standard
systemd-cryptsetup(-generator) & systemd-ask-password binaries.

systemd-gpt-auto-generator should work, as it gets added together with the
rest in the main "systemd" hook.

-- 
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200907/fd237fab/attachment.htm>


More information about the systemd-devel mailing list