exec perl -e 'syscall(136, '$PERSONALITY') == -1 && warn("personality: $!\n");exec "/.build/build" || die("/.build/build: $!\n")'
fi
RUNNING_IN_VM=true
- mount -orw -n -tproc none /proc
+ test -e /proc/version || mount -orw -n -tproc none /proc
if test "$VM_TYPE" != 'lxc'; then
mount -n ${VMDISK_MOUNT_OPTIONS},remount,rw /
fi
+ umount /run >/dev/null 2>&1
# qemu inside of xen does not work, check again with kvm later before enabling this
# if [ -e /dev/kqemu ]; then
# # allow abuild user to run qemu