erofs-utils: mkfs: oci: use aufs mode for tar conversion
PATCH 1/1 erofs-utils: mkfs: oci: use aufs mode for tar conversion
Since standard OCI images use aufs metadata instead.
Fixes bf7e2b01a93f ("erofs-utils: mkfs: add OCI registry support")
Signed-off-by Gao Xiang <[email protected]>
--- lib/remotes/oci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
lib/remotes/oci.c +3 -2
@@ -781,6 +781,9 @@ static int ocierofs_extract_layer(struct erofs_oci *oci, struct erofs_importer *int ret; stream = (struct erofs_oci_stream ) { + .tarfile = { + .aufs = true, + }, .digest = digest, .blobfd =erofs_tmpfile (), };
@@ -830,9 +833,7 @@ static int ocierofs_extract_layer(struct erofs_oci *oci, struct erofs_importer * goto out; } -memset (&stream.tarfile,0 ,sizeof (stream.tarfile));init_list_head (&stream.tarfile.global.xattrs); - ret =erofs_iostream_open (&stream.tarfile.ios, stream.blobfd,EROFS_IOS_DECODER_GZIP );if (ret) {
Signature · 1 line
2.43.5