contrib: don't use :Z for bind mounts in "nm-in-container.sh"

I am not sure why I added this. I think it's not necessary or
useful. Drop it.
This commit is contained in:
Thomas Haller
2022-06-03 15:03:13 +02:00
parent daecc226ee
commit 12ea3bb425

View File

@@ -93,7 +93,7 @@ bind_files() {
[[ "$f2" = *.tmp ]] && continue
[[ "$f2" = *~ ]] && continue
f2="/root/$f2"
ARR+=( -v "$f:$f2:Z" )
ARR+=( -v "$f:$f2" )
done
eval "$VARIABLE_NAME=( \"\${ARR[@]}\" )"
@@ -419,7 +419,7 @@ do_run() {
BIND_NM_CI=()
if [ -d "$BASEDIR_NM/.git/NetworkManager-ci" ] ; then
DIR="$(readlink -f "$BASEDIR_NM/.git/NetworkManager-ci")"
BIND_NM_CI=(-v "$DIR:$DIR:Z")
BIND_NM_CI=(-v "$DIR:$DIR")
fi
podman run --privileged \