Skip to content

Commit

Permalink
fix(lib/installer.py) Patch mkinitcpio.conf with putting encrypt afte…
Browse files Browse the repository at this point in the history
…r keymap

Signed-off-by: Tristan d'Audibert <[email protected]>
  • Loading branch information
ScriptSathi committed Jul 30, 2024
1 parent 74ba8fb commit 8c2e53e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions archinstall/lib/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,10 +804,10 @@ def _handle_lvm_installation(self):
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,
Expand Down

0 comments on commit 8c2e53e

Please sign in to comment.