2013-09-13 22:58:59 +01:00
|
|
|
#! @shell@ -e
|
|
|
|
|
|
|
|
chrootenvDest=/run/chrootenv/@name@
|
|
|
|
|
|
|
|
# Enter the LFS chroot environment
|
2015-03-09 14:14:27 +00:00
|
|
|
sudo chroot --userspec "$USER:${GROUPS[0]}" --groups "${GROUPS[0]}" $chrootenvDest /usr/bin/env -i \
|
|
|
|
TERM="$TERM" \
|
|
|
|
DISPLAY="$DISPLAY" \
|
|
|
|
HOME="$HOME" \
|
|
|
|
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
|
|
|
|
LANG="$LANG" \
|
|
|
|
/bin/bash --login
|