Merge "integrity: fix XATTR copy by policycheck in chunk reconstruction"
integrity: fix XATTR copy by policycheck in chunk reconstruction

This fix copies the headers received from the valid chunk for use in the
upload process of the new chunk, so the new chunk has all required
extended attributes.

All headers are copies except the chunk_id header which is forced to the
new chunk id.

Change-Id: I0787489efb5d542da87065736115c0ee3d24a671
rawx: enable loading of headers matching chunk_* and content_* patterns

Those headers were always overwritten or emptied when looking for
old-style headers.

Change-Id: I187a1654d51507c48ad6984e37a46b18aaadecfc
Merge "rawx: enable loading of headers matching chunk_* and content_* patterns"