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:
parent
997e28d8dd
commit
a72d798ee6
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue