2013-09-13 23:58:59 +02:00
|
|
|
#! @shell@ -e
|
|
|
|
|
|
|
|
chrootenvDest=/run/chrootenv/@name@
|
|
|
|
|
|
|
|
# Enter the LFS chroot environment
|
2015-03-09 15:14:27 +01: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" \
|
2015-04-22 14:48:22 +02:00
|
|
|
SSL_CERT_FILE="$SSL_CERT_FILE" \
|
2015-03-09 15:14:27 +01:00
|
|
|
/bin/bash --login
|