Skip to content
Snippets Groups Projects
Commit ce62f92b authored by Simon Latapie's avatar Simon Latapie Committed by Jean-Baptiste Kempf
Browse files

compile-medialibrary.sh: force uid/gid during tarball extraction

Under rare circonstances, tar will try to preserve uid/gid no matter what,
and fail.
This can happen for example when trying to build the contribs/extras as a
privileged user inside a namespaced container.
parent 9a7eeeba
No related branches found
No related tags found
1 merge request!180compile-medialibrary.sh: force uid/gid during tarball extraction
Pipeline #9006 passed with stage
in 27 minutes and 9 seconds
......@@ -56,7 +56,7 @@ if [ ! -d "${MEDIALIBRARY_MODULE_DIR}/${SQLITE_RELEASE}" ]; then
echo "Wrong sha1 for ${SQLITE_RELEASE}.tar.gz"
exit 1
fi
tar -xzf ${SQLITE_RELEASE}.tar.gz
tar -xozf ${SQLITE_RELEASE}.tar.gz
rm -f ${SQLITE_RELEASE}.tar.gz
fi
cd ${MEDIALIBRARY_MODULE_DIR}/${SQLITE_RELEASE}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment