Class: CryptReboot::PatchedInitramfsGenerator

Inherits:
Object
  • Object
show all
Defined in:
lib/crypt_reboot/patched_initramfs_generator.rb

Overview

Yield path to patched version of provided initramfs

Instance Method Summary collapse

Instance Method Details

#call(initramfs_path, &block) ⇒ Object



6
7
8
9
# File 'lib/crypt_reboot/patched_initramfs_generator.rb', line 6

def call(initramfs_path, &block)
  patch = squeezer.call(initramfs_path)
  patcher.call(initramfs_path, patch, &block)
end