From 7c9f001cda932c74164e8aaa6740dcb6d24aa62f Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Mon, 7 Jun 2021 19:49:15 +0300 Subject: mkpkg: new applet to create v2 packages with basic functionality --- src/io_archive.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/io_archive.c') diff --git a/src/io_archive.c b/src/io_archive.c index 303fb93..ad4f621 100644 --- a/src/io_archive.c +++ b/src/io_archive.c @@ -150,8 +150,8 @@ int apk_tar_parse(struct apk_istream *is, apk_archive_entry_parser parser, entry = (struct apk_file_info){ .size = GET_OCTAL(buf.size), - .uid = apk_resolve_uid(idc, TAR_BLOB(buf.uname), GET_OCTAL(buf.uid)), - .gid = apk_resolve_gid(idc, TAR_BLOB(buf.gname), GET_OCTAL(buf.gid)), + .uid = apk_id_cache_resolve_uid(idc, TAR_BLOB(buf.uname), GET_OCTAL(buf.uid)), + .gid = apk_id_cache_resolve_gid(idc, TAR_BLOB(buf.gname), GET_OCTAL(buf.gid)), .mode = GET_OCTAL(buf.mode) & 07777, .mtime = GET_OCTAL(buf.mtime), .name = entry.name, -- cgit v1.2.3-70-g09d2