fix(lib/installer.py) Patch mkinitcpio.conf with putting encrypt after keymap (#2601)

Signed-off-by: Tristan d'Audibert <tristan.daudibert@gmail.com>
This commit is contained in:
Tristan d'Audibert 2024-08-02 06:47:00 +02:00 committed by GitHub
parent 997e28d8dd
commit a72d798ee6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -804,10 +804,10 @@ class Installer:
self.pacman.strap('libfido2')
if 'sd-encrypt' not in self._hooks:
self._hooks.insert(self._hooks.index('lvm2') - 1, 'sd-encrypt')
self._hooks.insert(self._hooks.index('lvm2'), 'sd-encrypt')
else:
if 'encrypt' not in self._hooks:
self._hooks.insert(self._hooks.index('lvm2') - 1, 'encrypt')
self._hooks.insert(self._hooks.index('lvm2'), 'encrypt')
def minimal_installation(
self,