Re: [PATCH] loader/linux: Only emit newc directory once

2023-06-28 Thread Daniel Kiper
On Wed, Jun 28, 2023 at 02:25:16AM -0500, Glenn Washburn wrote: > When creating at runtime a newc initrd via arguments to initrd with "newc:" > prefixes, only emit a directory path record once. The original code > intended to do that by bailing out of emiting the record when the record > to be crea

[PATCH] loader/linux: Only emit newc directory once

2023-06-28 Thread Glenn Washburn
When creating at runtime a newc initrd via arguments to initrd with "newc:" prefixes, only emit a directory path record once. The original code intended to do that by bailing out of emiting the record when the record to be created matches an existing record. However, this does not happen because gr