Class: CryptReboot::Initramfs::Decompressor
- Inherits:
-
Object
- Object
- CryptReboot::Initramfs::Decompressor
- Defined in:
- lib/crypt_reboot/initramfs/decompressor.rb,
lib/crypt_reboot/initramfs/decompressor/tolerant_decompressor.rb,
lib/crypt_reboot/initramfs/decompressor/intolerant_decompressor.rb
Overview
Extract initramfs in strace to check if compression is supported
Defined Under Namespace
Classes: IntolerantDecompressor, TolerantDecompressor
Instance Method Summary collapse
Instance Method Details
#call(skip_lz4_check: Config.skip_lz4_check) ⇒ Object
7 8 9 |
# File 'lib/crypt_reboot/initramfs/decompressor.rb', line 7 def call(skip_lz4_check: Config.skip_lz4_check) skip_lz4_check ? TolerantDecompressor.new : IntolerantDecompressor.new end |