summaryrefslogtreecommitdiffstats
path: root/build_tools/bin/chrootrc.sh
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:23:45 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:23:45 (GMT)
commit618d4ad515a93d1e48934be5846edd71270171ec (patch)
treea22a9294af81215d4a7b1053e5fdb4d746f39d41 /build_tools/bin/chrootrc.sh
downloadlinhes_dev-618d4ad515a93d1e48934be5846edd71270171ec.zip
initital import
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