Revert "Revert "xbps-src: return early if masterdir is not ready for chroot ops.""
This reverts commit c6cec1010f
.
This commit is contained in:
parent
fe4be1546f
commit
26682d2b86
|
@ -155,6 +155,9 @@ chroot_sync_repos() {
|
||||||
chroot_handler() {
|
chroot_handler() {
|
||||||
local action="$1" pkg="$2" rv=0 arg= _envargs= _chargs=
|
local action="$1" pkg="$2" rv=0 arg= _envargs= _chargs=
|
||||||
|
|
||||||
|
if [ -z "$CHROOT_READY" ]; then
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
# Debian uses /run/shm instead...
|
# Debian uses /run/shm instead...
|
||||||
if [ -d /run/shm ]; then
|
if [ -d /run/shm ]; then
|
||||||
mkdir -p ${XBPS_MASTERDIR}/run/shm
|
mkdir -p ${XBPS_MASTERDIR}/run/shm
|
||||||
|
|
Loading…
Reference in New Issue