Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] chroot-style/uchroot: add -t parameter to command.
@ 2020-08-17  3:04 ericonr
  2020-09-03 12:29 ` q66
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ericonr @ 2020-08-17  3:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

There is a new pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages uchroot
https://github.com/void-linux/void-packages/pull/24314

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)

---

I don't know if I'm the only one seeing this.

A patch file from https://github.com/void-linux/void-packages/pull/24314.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-uchroot-24314.patch --]
[-- Type: text/x-diff, Size: 1014 bytes --]

From 2060598c5083ced08b3926be563a3990b03394cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
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 $@

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-09-03 16:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-17  3:04 [PR PATCH] chroot-style/uchroot: add -t parameter to command ericonr
2020-09-03 12:29 ` q66
2020-09-03 12:29 ` [PR PATCH] [Closed]: " q66
2020-09-03 15:49 ` pullmoll
2020-09-03 15:49 ` pullmoll
2020-09-03 15:51 ` pullmoll
2020-09-03 16:12 ` ericonr
2020-09-03 16:33 ` pullmoll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).