I see the following in ~/.bashrc
:
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
which means if the variable is not set, and the file exists and is readable, then set the file's content to the variable.
Am I supposed to write something to that file while preparing to chroot?
If yes, then I'll have to remove that file at the end of chroot job!
any explanation or suggestions will be appreciated.