Class: CryptReboot::Initramfs::Decompressor::IntolerantDecompressor
- Inherits:
-
Object
- Object
- CryptReboot::Initramfs::Decompressor::IntolerantDecompressor
- Defined in:
- lib/crypt_reboot/initramfs/decompressor/intolerant_decompressor.rb
Constant Summary collapse
- Lz4NotAllowed =
Class.new StandardError
Instance Method Summary collapse
Instance Method Details
#call(filename, dir) ⇒ Object
12 13 14 15 16 |
# File 'lib/crypt_reboot/initramfs/decompressor/intolerant_decompressor.rb', line 12 def call(filename, dir) command_line = prepare_command_line(filename, dir) lines = runner.call(command_line) raise_exception if intolerable_tool_used?(lines) end |