#!/bin/bash
#this can only be started by root

#-i: clear all variables of the chroot environment
#+h: disable hashing:
chroot "$LFS" /prelfs/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
  PATH=/bin:/usr/bin:/sbin:/usr/sbin:/prelfs/bin /prelfs/bin/bash \
  --login +h
