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