# Architecture is currently always the same as the current arch. We
# cannot do --foreign builds. See discussion in the manpage.
# Architecture is currently always the same as the current arch. We
# cannot do --foreign builds. See discussion in the manpage.
# Make the device nodes inside the fake chroot.
# (Copied from mock/backend.py) Why isn't there a base package which
# creates these?
# Make the device nodes inside the fake chroot.
# (Copied from mock/backend.py) Why isn't there a base package which
# creates these?
if [ $(id -u) -ne 0 ]; then
# Bash doesn't support exporting array variables, hence this
if [ $(id -u) -ne 0 ]; then
# Bash doesn't support exporting array variables, hence this