projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ghostscript-9.15
[hvlinux.git]
/
stage0
/
pre-install
diff --git
a/stage0/pre-install
b/stage0/pre-install
index
5ff17d2
..
0d72afd
100755
(executable)
--- a/
stage0/pre-install
+++ b/
stage0/pre-install
@@
-30,17
+30,12
@@
done
chown -R lfs:lfs ${LFS}
chown -R lfs:lfs ${LFS}
-# Creating a link from the host root directory to LFS cross-tools directories
-for subdir in tools cross-tools; do
- ln -sfvT ${LFS}/${subdir} /${subdir}
-done
-
cat > /home/lfs/.bashrc << "EOF"
# Setting up the environment
set +h
umask 022
LC_ALL=POSIX
cat > /home/lfs/.bashrc << "EOF"
# Setting up the environment
set +h
umask 022
LC_ALL=POSIX
-PATH=
/cross-tools
/bin:/bin:/usr/bin
+PATH=
_CLFS_CROSS_TOOLS_PATH_
/bin:/bin:/usr/bin
HVMAKE="make -j ${MAKEJOBS}"
unset CFLAGS
HVMAKE="make -j ${MAKEJOBS}"
unset CFLAGS
@@
-49,6
+44,8
@@
unset CXXFLAGS
export LC_ALL PATH HVMAKE
EOF
export LC_ALL PATH HVMAKE
EOF
+sed -e "s@_CLFS_CROSS_TOOLS_PATH_@${CROSS_TOOLS_DIR}@" -i /home/lfs/.bashrc
+
chown lfs:lfs /home/lfs/.bashrc
exit $?
chown lfs:lfs /home/lfs/.bashrc
exit $?