On 06/03/2022 06:08, Simon Glass wrote:
> On Thu, 3 Mar 2022 at 14:16, Alper Nebi Yasak <alpernebiya...@gmail.com> 
> wrote:
>> On 24/02/2022 02:00, Simon Glass wrote:
>>> +- Put faked files into a separate subdir and remove them on start-up, to 
>>> avoid
>>> +  seeing them as 'real' files on a subsequent run
>>
>> Do we need to create actual files, or is it a convenience thing for blob
>> entry types (because they already read their contents from files)?
> 
> We need the files for mkimage.

But the mkimage etype creates its own files to pass to mkimage anyway,
using entry.GetData() in collect_contents_to_file() without reaching
into subentries' files.

More specifically, what I'm thinking of is removing check_fake_fname()
entirely, instead of managing/removing the files it creates. At a
cursory glance, only blob and blob-ext-list seem to use that directly.

Reply via email to