xbps-src: return early if masterdir is not ready for chroot ops.
This commit is contained in:
parent
401e84cb83
commit
d9943a330d
1 changed files with 3 additions and 0 deletions
|
@ -155,6 +155,9 @@ chroot_sync_repos() {
|
|||
chroot_handler() {
|
||||
local action="$1" pkg="$2" rv=0 arg= _envargs= _chargs=
|
||||
|
||||
if [ -z "$CHROOT_READY" ]; then
|
||||
return 0
|
||||
fi
|
||||
# Debian uses /run/shm instead...
|
||||
if [ -d /run/shm ]; then
|
||||
mkdir -p ${XBPS_MASTERDIR}/run/shm
|
||||
|
|
Loading…
Reference in a new issue