1
0
mirror of https://github.com/gryf/mkinitramfs.git synced 2026-03-17 20:23:31 +01:00

Fix the logic for copying keyfile.

This commit is contained in:
2022-03-23 10:23:08 +01:00
parent bc3bd6c090
commit 20866797b5

View File

@@ -366,7 +366,7 @@ class Initramfs(object):
self._copy_modules()
# self._copy_wlan_modules()
self._populate_busybox()
if self._args.no_key:
if not self._args.no_key:
self._copy_key()
self._generate_init()
self._mkcpio_arch()