<div dir="ltr"><div dir="ltr">On Mon, Sep 7, 2020 at 5:33 PM Lennart Poettering <<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mo, 07.09.20 13:51, Kai Hendry (<a href="mailto:hendry@webconverger.com" target="_blank">hendry@webconverger.com</a>) wrote:<br>
<br>
> Hi guys,<br>
><br>
> After making <a href="https://www.youtube.com/watch?v=gh3jkIENmAM" rel="noreferrer" target="_blank">https://www.youtube.com/watch?v=gh3jkIENmAM</a> I'm<br>
> thinking the install process could be a lot smoother if:<br>
><br>
> somehow systemd could do the initramfs, i.e. take over mkinitcpio's<br>
> hook role<br>
<br>
Hmm, mkinitcpio? That's arch? Does that run systemd inside?<br></blockquote><div><br></div><div></div><div>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.<br></div><div><br></div><div>"sd-encrypt" is the mkinitcpio module (hook) which adds the standard systemd-cryptsetup(-generator) & systemd-ask-password binaries.</div><div><br></div><div>systemd-gpt-auto-generator should work, as it gets added together with the rest in the main "systemd" hook.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>