xbps-src: remove proot chroot-style
proot is broken and result in random hard to debug issues, this is the best way to not have new users use it.
This commit is contained in:
parent
bf397c1372
commit
3eed75216c
5 changed files with 4 additions and 50 deletions
4
xbps-src
4
xbps-src
|
@ -319,7 +319,7 @@ read_pkg() {
|
|||
setup_distfiles_mirror() {
|
||||
local mirror scheme path
|
||||
|
||||
# Scheme file:// mirror locations only work with uchroot or proot
|
||||
# Scheme file:// mirror locations only work with uchroot
|
||||
for mirror in $XBPS_DISTFILES_MIRROR; do
|
||||
scheme="file"
|
||||
if [[ "$mirror" == *://* ]]; then
|
||||
|
@ -329,7 +329,7 @@ setup_distfiles_mirror() {
|
|||
path="$mirror"
|
||||
fi
|
||||
[ "$scheme" != "file" ] && continue
|
||||
if [ "$XBPS_CHROOT_CMD" == "uchroot" -o "$XBPS_CHROOT_CMD" == "proot" ]; then
|
||||
if [ "$XBPS_CHROOT_CMD" == "uchroot" ]; then
|
||||
if [ ! -d "$path" ]; then
|
||||
msg_warn "xbps-src: Invalid path in XBPS_DISTFILES_MIRROR ($mirror)\n"
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue