Re: [PATCH v3 2/2] initramfs: introduce do_readxattrs()

From: Roberto Sassu
Date: Mon May 20 2019 - 04:19:21 EST


On 5/17/2019 11:10 PM, Arvind Sankar wrote:
On Fri, May 17, 2019 at 05:02:20PM -0400, Arvind Sankar wrote:
On Fri, May 17, 2019 at 01:18:11PM -0700, hpa@xxxxxxxxx wrote:

Ok... I just realized this does not work for a modular initramfs, composed at load time from multiple files, which is a very real problem. Should be easy enough to deal with: instead of one large file, use one companion file per source file, perhaps something like filename..xattrs (suggesting double dots to make it less likely to conflict with a "real" file.) No leading dot, as it makes it more likely that archivers will sort them before the file proper.
This version of the patch was changed from the previous one exactly to deal with this case --
it allows for the bootloader to load multiple initramfs archives, each
with its own .xattr-list file, and to have that work properly.
Could you elaborate on the issue that you see?
Roberto, are you missing a changelog entry for v2->v3 change?

The changelog for v1->v2 is missing.

Thanks

Roberto

--
HUAWEI TECHNOLOGIES Duesseldorf GmbH, HRB 56063
Managing Director: Bo PENG, Jian LI, Yanli SHI