[PATCH v3 openEuler-23.09 03/46] gen_init_cpio: add support for file metadata