diff options
Diffstat (limited to 'chapter04/settingenviron.xml')
-rw-r--r-- | chapter04/settingenviron.xml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/chapter04/settingenviron.xml b/chapter04/settingenviron.xml index b255a4b45..8627e9af5 100644 --- a/chapter04/settingenviron.xml +++ b/chapter04/settingenviron.xml @@ -38,7 +38,7 @@ EOF</userinput></screen> <filename>.bashrc</filename> file instead. Create the <filename>.bashrc</filename> file now:</para> -<screen><userinput>cat > ~/.bashrc << "EOF" +<screen arch="default"><userinput>cat > ~/.bashrc << "EOF" <literal>set +h umask 022 LFS=/mnt/lfs @@ -50,6 +50,20 @@ PATH=$LFS/tools/bin:$PATH CONFIG_SITE=$LFS/usr/share/config.site export LFS LC_ALL LFS_TGT PATH CONFIG_SITE</literal> EOF</userinput></screen> +<screen arch="ml_32,ml_x32,ml_all"><userinput>cat > ~/.bashrc << "EOF" +<literal>set +h +umask 022 +LFS=/mnt/lfs +LC_ALL=POSIX +LFS_TGT=x86_64-lfs-linux-gnu +LFS_TGT32=i686-lfs-linux-gnu +LFS_TGTX32=x86_64-lfs-linux-gnux32 +PATH=/usr/bin +if [ ! -L /bin ]; then PATH=/bin:$PATH; fi +PATH=$LFS/tools/bin:$PATH +CONFIG_SITE=$LFS/usr/share/config.site +export LFS LC_ALL LFS_TGT LFS_TGT32 LFS_TGTX32 PATH</literal> +EOF</userinput></screen> <variablelist> <title>The meaning of the settings in <filename>.bashrc</filename></title> |