#!/bin/sh

set -eu

. /usr/share/geordi/_functions

info "Creating fresh chroot"

if [ -z "${RT}" ]; then
	exit 0
fi

debug "Removing existing chroot"
[ -n "${RT}" ] && rm -rf "${RT}"/*

debug "Creating chroot directory"
mkdir -p "${RT}"
