Skip to content
Snippets Groups Projects
Commit 96819e61 authored by Emanuele Aina's avatar Emanuele Aina
Browse files

replace-tar-coreutils: Purge mktemp before installing coreutils


The mktemp utility is now being shipped by coreutils, so the mktemp
package has to be removed before coreutils gets installed to avoid
file conflicts.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent 4378a0e4
No related branches found
No related tags found
1 merge request!81Fix replace-tar-coreutils-for-build on apertis/v2019dev0
......@@ -4,6 +4,7 @@ set -e
cp /bin/rm /bin/tar /usr/local/bin
apt-get update
DPKGPATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
apt-get -y -o Dpkg::Path="$DPKGPATH" --allow-remove-essential purge mktemp
apt-get -y -o Dpkg::Path="$DPKGPATH" install coreutils tar
rm /usr/local/bin/rm /usr/local/bin/tar
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