mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-21 23:59:59 +00:00
Fix for newer versions of lzma
Newer versions of lzma seem to require the files have the correct extension, this pipes them in via stdin instead. Signed-off-by: Gan Shun Lim <ganshun@gmail.com>
This commit is contained in:
parent
c20d46ccb4
commit
5617d646d3
@ -275,7 +275,7 @@ sub process_section
|
||||
print $fh $lz_data;
|
||||
close $fh;
|
||||
|
||||
my $data = `lzma --decompress --stdout $filename`;
|
||||
my $data = `lzma --decompress --stdout - < $filename`;
|
||||
printf "%s.ffs: length 0x%x (0x%x compressed)\n",
|
||||
$base,
|
||||
length($data),
|
||||
|
Loading…
Reference in New Issue
Block a user