summaryrefslogtreecommitdiffstats
path: root/build_tools/bin/chrootrc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/bin/chrootrc.sh')
-rw-r--r--build_tools/bin/chrootrc.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/build_tools/bin/chrootrc.sh b/build_tools/bin/chrootrc.sh
new file mode 100644
index 0000000..291cc52
--- /dev/null
+++ b/build_tools/bin/chrootrc.sh
@@ -0,0 +1,12 @@
+mount /dev/pts
+export BHOME=/build_tools
+export HOME=/root
+. /etc/profile
+. /etc/bashrc
+export PATH=$PATH:$BHOME/bin:$BHOME/bld/bin
+export PS1='[\u@kmbuild \W]\$'
+cd $BHOME
+if [ -f /root/loginrun.sh ]
+then
+ /root/loginrun.sh
+fi