lfs-scripts/scripts/chapter7/7.4-enter-chroot.sh

10 lines
207 B
Bash

#!/bin/bash
chroot "$LFS" /usr/bin/env -i \
HOME=/root \
TERM="$TERM" \
PS1='(lfs chroot) \u:\w\$ ' \
PATH=/usr/bin:/usr/sbin \
/bin/bash --login