|
发表于 2003-5-9 14:16:15
|
显示全部楼层
Revised chroot command
From now on when you exit the chroot environment and wish to re-enter
it, you need to run the following modified chroot command. The one at
the beginning of this chapter might not work anymore (if your host
distribution was based on glibc-2.2.x or older, the programs in
/static/bin, such as bash, will not work anymore). The following
chroot command will work regardless of your host distribution's Glibc
version.
Additionally, now that all software has been installed there is no
need to use anything from the /static directory anymore.
chroot $LFS /usr/bin/env -i \
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/bin/bash --login
没有gpm和lynx太痛苦了。 |
|