diff --git a/srcpkgs/xbps-static/template b/srcpkgs/xbps-static/template index 31c1001033..f18d7d1884 100644 --- a/srcpkgs/xbps-static/template +++ b/srcpkgs/xbps-static/template @@ -3,7 +3,7 @@ # NOTE: keep this package synchronized with "srcpkgs/xbps". pkgname=xbps-static version=0.41 -revision=7 +revision=8 bootstrap=yes build_style=configure short_desc="The XBPS package system utilities - static binaries" diff --git a/srcpkgs/xbps/patches/0010-xbps-uchroot-mount-sys-dev-recursively-to-access-to-.patch b/srcpkgs/xbps/patches/0010-xbps-uchroot-mount-sys-dev-recursively-to-access-to-.patch new file mode 100644 index 0000000000..a974e99ce6 --- /dev/null +++ b/srcpkgs/xbps/patches/0010-xbps-uchroot-mount-sys-dev-recursively-to-access-to-.patch @@ -0,0 +1,26 @@ +From 578c3add0c253fe122703783392a5cc4d6fa0e6b Mon Sep 17 00:00:00 2001 +From: Juan RP +Date: Wed, 5 Nov 2014 15:57:21 +0100 +Subject: [PATCH] xbps-uchroot: mount sys/dev recursively to access to /dev/pts + (thanks chris2). + +--- + bin/xbps-uchroot/main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bin/xbps-uchroot/main.c b/bin/xbps-uchroot/main.c +index e03b4ea..de87308 100644 +--- bin/xbps-uchroot/main.c ++++ bin/xbps-uchroot/main.c +@@ -122,7 +122,7 @@ bindmount(uid_t ruid, const char *chrootdir, const char *dir, const char *dest) + + if (fsuid_chdir(ruid, dir) == -1) + die("Couldn't chdir to %s", dir); +- if (mount(".", mountdir, NULL, MS_BIND|MS_PRIVATE, NULL) == -1) ++ if (mount(".", mountdir, NULL, MS_BIND|MS_REC|MS_PRIVATE, NULL) == -1) + die("Failed to bind mount %s at %s", dir, mountdir); + } + +-- +2.1.3 + diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index c3c6b1f3d7..171539f206 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,7 +1,7 @@ # Template file for 'xbps' pkgname=xbps version=0.41 -revision=7 +revision=8 bootstrap=yes build_style=configure short_desc="The XBPS package system utilities"