From 2060598c5083ced08b3926be563a3990b03394cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Sun, 16 Aug 2020 23:52:52 -0300 Subject: [PATCH] chroot-style/uchroot: add -t parameter to command. Without it, using xbps-src with overlay errors out with the message below: ERROR: failed to mount overlayfs on /home/ericonr/void/void-packages/masterdir.XXXXdMemKO/masterdir (Invalid argument) --- common/chroot-style/uchroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/chroot-style/uchroot.sh b/common/chroot-style/uchroot.sh index 2f9dbb2d45f..074fd1cae88 100755 --- a/common/chroot-style/uchroot.sh +++ b/common/chroot-style/uchroot.sh @@ -18,4 +18,4 @@ if [ -z "$MASTERDIR" -o -z "$DISTDIR" ]; then exit 1 fi -exec xbps-uchroot $EXTRA_ARGS -b $DISTDIR:/void-packages ${HOSTDIR:+-b $HOSTDIR:/host} -- $MASTERDIR $CMD $@ +exec xbps-uchroot -t $EXTRA_ARGS -b $DISTDIR:/void-packages ${HOSTDIR:+-b $HOSTDIR:/host} -- $MASTERDIR $CMD $@