Skip to content
Snippets Groups Projects
Commit beedf2ee authored by Simon Latapie's avatar Simon Latapie Committed by Nicolas Pomepuy
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.

(cherry picked from commit ce62f92b)
parent 5b1edaad
No related branches found
No related tags found
1 merge request!226Backport for 3.2
......@@ -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