Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
echo "Starting installer!"
if [ ! -d /root/etc ]; then
echo "Error: /root doesn't appear to have a valid filesystem mounted!"
echo "Starting installer!"
if [ ! -d /root/etc ]; then
echo "Error: /root doesn't appear to have a valid filesystem mounted!"
fi
ROOT_SRC=$(grep ' /root ' /proc/mounts | cut -d' ' -f1)
fi
ROOT_SRC=$(grep ' /root ' /proc/mounts | cut -d' ' -f1)
if [ -z "$TARGET" ]; then
echo "Error: couldn't find drive to install to!"
if [ -z "$TARGET" ]; then
echo "Error: couldn't find drive to install to!"
fi
# don't keep fs mounted while copying it
fi
# don't keep fs mounted while copying it