mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-21 23:59:59 +00:00
handle pad files and ignore tiano compressed sections
This commit is contained in:
parent
356914f9c3
commit
0e22590c5e
@ -197,10 +197,10 @@ sub process_ffs
|
||||
my $data = substr($ffs, $data_offset);
|
||||
my $name = EFI::file_type_lookup($type);
|
||||
|
||||
if ($name eq 'RAW')
|
||||
if ($name eq 'FFS_PAD' or $name eq 'RAW')
|
||||
{
|
||||
# we are done here
|
||||
printf "%s/%s.ffs: RAW length 0x%x \n", $base, $guid, $len;
|
||||
printf "%s/%s.ffs: $name length 0x%x \n", $base, $guid, $len;
|
||||
return;
|
||||
}
|
||||
|
||||
@ -265,8 +265,9 @@ sub process_section
|
||||
return;
|
||||
}
|
||||
|
||||
if ($type eq 'RAW')
|
||||
{
|
||||
if ($type eq 'RAW'
|
||||
or $type eq 'TIANO_COMPRESSED'
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -68,6 +68,7 @@ our %file_types = qw/
|
||||
|
||||
|
||||
our %section_types = qw/
|
||||
TIANO_COMPRESSED 0x01
|
||||
GUID_DEFINED 0x02
|
||||
PE32 0x10
|
||||
PIC 0x11
|
||||
|
Loading…
Reference in New Issue
Block a user