mirror of
https://github.com/gryf/mkinitramfs.git
synced 2026-03-18 21:53:32 +01:00
Fix issue with empty script when dropbear is not enabled
This commit is contained in:
@@ -390,7 +390,7 @@ class Initramfs:
|
||||
fobj.write(SHEBANG)
|
||||
fobj.write(DEPS % {'lvm': lvm, 'yubikey': yubikey,
|
||||
'dropbear': dropbear})
|
||||
fobj.write(COPY_DEPS % 'true' if self.conf.dropbear else 'false')
|
||||
fobj.write(COPY_DEPS % ('true' if self.conf.dropbear else 'false'))
|
||||
|
||||
# extra crap, which seems to be needed, but is not direct dependency
|
||||
for root, _, fnames in os.walk('/usr/lib'):
|
||||
|
||||
Reference in New Issue
Block a user