r1918 - in profiles/LFS/branches/cross-lfs: . config prep skeleton/home/lfs

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Mon Jun 13 13:51:23 PDT 2005


Author: thomasp
Date: 2005-06-13 14:51:21 -0600 (Mon, 13 Jun 2005)
New Revision: 1918

Added:
   profiles/LFS/branches/cross-lfs/config/config.ent
   profiles/LFS/branches/cross-lfs/config/general.ent
   profiles/LFS/branches/cross-lfs/config/package.ent
   profiles/LFS/branches/cross-lfs/prep/addinguser.xml
   profiles/LFS/branches/cross-lfs/prep/creatingcrosstoolsdir.xml
   profiles/LFS/branches/cross-lfs/prep/creatingtoolsdir.xml
   profiles/LFS/branches/cross-lfs/prep/settingenvironment.xml
Modified:
   profiles/LFS/branches/cross-lfs/LFS.xml
   profiles/LFS/branches/cross-lfs/skeleton/home/lfs/dot_bashrc
Log:
added Preparation section

Modified: profiles/LFS/branches/cross-lfs/LFS.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/LFS.xml	2005-06-13 20:03:14 UTC (rev 1917)
+++ profiles/LFS/branches/cross-lfs/LFS.xml	2005-06-13 20:51:21 UTC (rev 1918)
@@ -1,219 +1,18 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!--
-
-        LFS profile, version SVN
-        =================================
-        by Dave Wheeler (davewheeler69 at hotmail.com)
-        updates by "Mark"
-        updates by Kevin P. Fleming (kpfleming at linuxfromscratch.org)
-        updates by Jamie Bennett (jamie at linuxfromscratch.org)
-        updates by Thomas Pegg (thomasp at linuxfromscratch.org)
-        Adapted from a profile by Vassili Dzuba (vassilidzuba at nerim.net)
-        Adapted from a profile by Neven Has - haski at sezampro.yu
-
-        Note : read the file README before running this profile
-
--->
 <!DOCTYPE alfs SYSTEM "DTD/ALFS.dtd"
 [
 
-<!ENTITY % general_entities SYSTEM "config/general.ent">
-%general_entities;
+  <!ENTITY % general_entities SYSTEM "config/general.ent">
+
+  %general_entities;
 ]>
 <alfs version="3.1" xmlns:xi="http://www.w3.org/2001/XInclude">
-  <stage name="Chapter 5 - Constructing a Temporary System">
-    <xi:include href="chapter05/creatingtoolsdir.xml" />
-    <xi:include href="chapter05/addinguser.xml" />
-    <xi:include href="chapter05/settingenvironment.xml" />
-    <stage name="Installing packages in /tools as &lfs-user;">
-      <stageinfo>
-        <root>/</root>
-        <user>&lfs-user;</user>
-        <environment>
-          <variable name="LFS">&LFS;</variable>
-          <variable name="LC_ALL">POSIX</variable>
-          <variable name="PATH">/tools/bin:/bin:/usr/bin</variable>
-          <variable name="CFLAGS">&gcc_optimizations;</variable>
-          <variable name="CXXFLAGS">&gcc_optimizations;</variable>
-          <variable name="TERM">&TERM;</variable>
-          <variable name="HOME">&lfs-user-dir;</variable>
-        </environment>
-      </stageinfo>
-      <xi:include href="chapter05/binutils-pass1.xml" />
-      <xi:include href="chapter05/gcc-pass1.xml" />
-      <xi:include href="chapter05/libc-headers.xml" />
-      <xi:include href="chapter05/glibc.xml" />
-      <xi:include href="chapter05/adjustingtoolchain.xml" />
-      <xi:include href="chapter05/tcl.xml" />
-      <xi:include href="chapter05/expect.xml" />
-      <xi:include href="chapter05/dejagnu.xml" />
-      <xi:include href="chapter05/gcc-pass2.xml" />
-      <xi:include href="chapter05/binutils-pass2.xml" />
-      <xi:include href="chapter05/gawk.xml" />
-      <xi:include href="chapter05/coreutils.xml" />
-      <xi:include href="chapter05/bzip2.xml" />
-      <xi:include href="chapter05/gzip.xml" />
-      <xi:include href="chapter05/diffutils.xml" />
-      <xi:include href="chapter05/findutils.xml" />
-      <xi:include href="chapter05/make.xml" />
-      <xi:include href="chapter05/grep.xml" />
-      <xi:include href="chapter05/sed.xml" />
-      <xi:include href="chapter05/gettext.xml" />
-      <xi:include href="chapter05/ncurses.xml" />
-      <xi:include href="chapter05/patch.xml" />
-      <xi:include href="chapter05/tar.xml" />
-      <xi:include href="chapter05/texinfo.xml" />
-      <xi:include href="chapter05/bash.xml" />
-      <xi:include href="chapter05/m4.xml" />
-      <xi:include href="chapter05/bison.xml" />
-      <xi:include href="chapter05/flex.xml" />
-      <xi:include href="chapter05/util-linux.xml" />
-      <xi:include href="chapter05/perl.xml" />
-      <xi:include href="chapter05/strip.xml" />
+  <stage name="Cross-LFS">
+    <stage name="Preparations">
+      <xi:include href="prep/creatingtoolsdir.xml" />
+      <xi:include href="prep/addinguser.xml" />
+      <xi:include href="prep/settingenvironment.xml" />
+      <xi:include href="prep/creatingcrosstoolsdir.xml" />
     </stage>
   </stage>
-  <stage name="Chapter 6 - Installing Basic System Software">
-    <stage name="Creating Directories and Mounting Virtual Kernel File Systems">
-      <xi:include href="chapter06/kernfs.xml" />
-    </stage>
-    <stage name="Chroot with /tools">
-      <stageinfo>
-        <root>&LFS;</root>
-        <environment>
-          <variable name="HOME">/root</variable>
-          <variable name="TERM">&TERM;</variable>
-          <variable name="PS1">'\u:\w\$ '</variable>
-          <variable name="PATH">/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin</variable>
-          <variable name="CFLAGS">&gcc_optimizations;</variable>
-          <variable name="CXXFLAGS">&gcc_optimizations;</variable>
-        </environment>
-      </stageinfo>
-      <xi:include href="chapter06/changingowner.xml" />
-      <xi:include href="chapter06/creatingdirs.xml" />
-      <xi:include href="chapter06/createfiles.xml" />
-      <xi:include href="chapter06/pwdgroup.xml" />
-      <xi:include href="chapter06/basic-dev.xml" />
-      <xi:include href="chapter06/libc-headers.xml" />
-      <xi:include href="chapter06/man-pages.xml" />
-      <xi:include href="chapter06/glibc.xml" />
-      <xi:include href="chapter06/readjustingtoolchain.xml" />
-      <xi:include href="chapter06/binutils.xml" />
-      <xi:include href="chapter06/gcc.xml" />
-      <xi:include href="chapter06/coreutils.xml" />
-      <xi:include href="chapter06/zlib.xml" />
-      <xi:include href="chapter06/mktemp.xml" />
-      <xi:include href="chapter06/iana-etc.xml" />
-      <xi:include href="chapter06/findutils.xml" />
-      <xi:include href="chapter06/gawk.xml" />
-      <xi:include href="chapter06/ncurses.xml" />
-      <xi:include href="chapter06/readline.xml" />
-      <xi:include href="chapter06/vim.xml" />
-      <xi:include href="chapter06/m4.xml" />
-      <xi:include href="chapter06/bison.xml" />
-      <xi:include href="chapter06/less.xml" />
-      <xi:include href="chapter06/groff.xml" />
-      <xi:include href="chapter06/sed.xml" />
-      <xi:include href="chapter06/flex.xml" />
-      <xi:include href="chapter06/gettext.xml" />
-      <xi:include href="chapter06/inetutils.xml" />
-      <xi:include href="chapter06/iproute2.xml" />
-      <xi:include href="chapter06/perl.xml" />
-      <xi:include href="chapter06/texinfo.xml" />
-      <xi:include href="chapter06/autoconf.xml" />
-      <xi:include href="chapter06/automake.xml" />
-      <xi:include href="chapter06/bash.xml" />
-      <xi:include href="chapter06/file.xml" />
-      <xi:include href="chapter06/libtool.xml" />
-      <xi:include href="chapter06/bzip2.xml" />
-      <xi:include href="chapter06/diffutils.xml" />
-      <xi:include href="chapter06/kbd.xml" />
-      <xi:include href="chapter06/e2fsprogs.xml" />
-      <xi:include href="chapter06/grep.xml" />
-      <xi:include href="chapter06/grub.xml" />
-      <xi:include href="chapter06/gzip.xml" />
-      <xi:include href="chapter06/hotplug.xml" />
-      <xi:include href="chapter06/man.xml" />
-      <xi:include href="chapter06/make.xml" />
-      <xi:include href="chapter06/module-init-tools.xml" />
-      <xi:include href="chapter06/patch.xml" />
-      <xi:include href="chapter06/procps.xml" />
-      <xi:include href="chapter06/psmisc.xml" />
-      <xi:include href="chapter06/shadow.xml" />
-      <xi:include href="chapter06/sysklogd.xml" />
-      <xi:include href="chapter06/sysvinit.xml" />
-      <xi:include href="chapter06/tar.xml" />
-      <xi:include href="chapter06/udev.xml" />
-      <xi:include href="chapter06/util-linux.xml" />
-      <xi:include href="chapter06/strip.xml" />
-    </stage>
-  </stage>
-  <stage name="Chapter 7 - Setting Up System Bootscripts">
-    <stageinfo>
-      <root>&LFS;</root>
-      <environment>
-        <variable name="HOME">/root</variable>
-        <variable name="TERM">&TERM;</variable>
-        <variable name="PS1">'\u:\w\$ '</variable>
-        <variable name="PATH">/bin:/usr/bin:/sbin:/usr/sbin</variable>
-        <variable name="CFLAGS">&gcc_optimizations;</variable>
-        <variable name="CXXFLAGS">&gcc_optimizations;</variable>
-      </environment>
-    </stageinfo>
-    <xi:include href="chapter07/bootscripts.xml" />
-    <xi:include href="chapter07/setclock.xml" />
-    <xi:include href="config/console.xml" />
-    <xi:include href="chapter07/inputrc.xml" />
-    <xi:include href="chapter07/profile.xml" />
-    <xi:include href="chapter07/hostname.xml" />
-    <xi:include href="chapter07/hosts.xml" />
-    <xi:include href="chapter07/network.xml" />
-  </stage>
-  <stage name="Chapter 8 - Making the LFS System Bootable">
-    <stageinfo>
-      <root>&LFS;</root>
-      <environment>
-        <variable name="HOME">/root</variable>
-        <variable name="TERM">&TERM;</variable>
-        <variable name="PS1">'\u:\w\$ '</variable>
-        <variable name="PATH">/bin:/usr/bin:/sbin:/usr/sbin</variable>
-        <variable name="CFLAGS">&gcc_optimizations;</variable>
-        <variable name="CXXFLAGS">&gcc_optimizations;</variable>
-      </environment>
-    </stageinfo>
-    <xi:include href="chapter08/fstab.xml" />
-    <xi:include href="chapter08/kernel.xml" />
-    <xi:include href="chapter08/grub.xml" />
-  </stage>
-  <stage name="Chapter 9 - The End">
-    <stageinfo>
-      <root>&LFS;</root>
-      <environment>
-        <variable name="HOME">/root</variable>
-        <variable name="TERM">&TERM;</variable>
-        <variable name="PS1">'\u:\w\$ '</variable>
-        <variable name="PATH">/bin:/usr/bin:/sbin:/usr/sbin</variable>
-        <variable name="CFLAGS">&gcc_optimizations;</variable>
-        <variable name="CXXFLAGS">&gcc_optimizations;</variable>
-      </environment>
-    </stageinfo>
-    <xi:include href="chapter09/libxml2.xml" />
-    <xi:include href="chapter09/nALFS.xml" />
-    <remove>/tools</remove>
-    <textdump>
-      <file>/etc/lfs-release</file>
-      <content>=&LFS-version;</content>
-    </textdump>
-  </stage>
-  <stage name="Finishing Up">
-    <remove>/tools</remove>
-    <execute command="umount">
-      <param>&LFS;/dev/pts</param>
-      <param>&LFS;/dev/shm</param>
-      <param>&LFS;/dev</param>
-      <param>&LFS;/proc</param>
-      <param>&LFS;/sys</param>
-      <!-- If you used a bind mount for your package dir, unmount it here. -->
-      <!-- <param>&LFS;&packages_dir;</param> -->
-    </execute>
-  </stage>
 </alfs>

Added: profiles/LFS/branches/cross-lfs/config/config.ent
===================================================================
--- profiles/LFS/branches/cross-lfs/config/config.ent	2005-06-13 20:03:14 UTC (rev 1917)
+++ profiles/LFS/branches/cross-lfs/config/config.ent	2005-06-13 20:51:21 UTC (rev 1918)
@@ -0,0 +1,38 @@
+<!ENTITY LFS "/mnt/lfs">
+
+<!-- Temporary user name used for installing Chapter 5.
+     This is a user in the host distribution. It will not
+     be deleted at the end of the build.
+     If the user does not exist it will be created.
+     -->
+<!ENTITY lfs-user "lfs">
+
+<!-- Password of the temporary user name &lfs; 
+     You should change this value and keep the present file
+     secure this value has been changed or, better,
+     create yourself the user in the host distribution,
+     and give it a password.
+     If the user exists already, its password will not be changed.
+     -->
+<!ENTITY lfs-password "lf1nstl">
+
+<!-- Temporary user's home directory. -->
+<!ENTITY lfs-user-dir "/home/&lfs-user;">
+
+<!-- Location of your LFS packages.
+     This is the directory in which all the packages downloaded
+     from ftp.linuxfromscratch.org (or their original servers)
+     are before running the script. The content of this directory
+     will be copied in a subdirectory of &LFS; at the beginning of
+     the build.
+     IMPORTANT : be carefull about the original packages dir; if you 
+                 enter the wrong directory, nALFS will try to download
+                 all the packages in it !!!
+     -->
+<!ENTITY orig_packages_dir "/your/cross-lfs/packages">
+<!-- Directory (inside LFS) where all packages will be copied. -->
+<!ENTITY packages_dir "/tools/packages-&version;">
+<!-- Directory (inside LFS) where all packages will be compiled. -->
+<!ENTITY build_dir "/tools/build">
+<!-- Directory (inside LFS) where all skeleton config files will be copied. -->
+<!ENTITY skeleton_dir "/tools/skeleton-&version;">

Copied: profiles/LFS/branches/cross-lfs/config/general.ent (from rev 1917, profiles/LFS/trunk/config/general.ent)
===================================================================
--- profiles/LFS/trunk/config/general.ent	2005-06-13 20:03:14 UTC (rev 1917)
+++ profiles/LFS/branches/cross-lfs/config/general.ent	2005-06-13 20:51:21 UTC (rev 1918)
@@ -0,0 +1,38 @@
+<!ENTITY version "20050609">
+
+<!-- target triplet entities -->
+<!-- Pentium, K6 and 586 Compatiables -->
+<!ENTITY x86-i586-target "i586-pc-linux-gnu">
+<!ENTITY x86-i586-cross "i586-cross-linux-gnu">
+<!-- Most modern processors 
+ (Intel Pentium II, III, IV and AMD Athlon/Duron) -->
+<!ENTITY x86-i686-target "i686-pc-linux-gnu">
+<!ENTITY x86-i686-cross  "i686-cross-linux-gnu">
+<!-- AMD Athlon64 (possibly other 64-bit chips too) -->
+<!ENTITY x86_64-target "x86_64-pc-linux-gnu">
+<!ENTITY x86_64-cross "x86_64-cross-linux-gnu">
+<!-- PowerPC -->
+<!ENTITY ppc-target "powerpc-unknown-linux-gnu">
+<!ENTITY ppc-cross "powerpc-cross-linux-gnu">
+<!-- PowerPC64 -->
+<!ENTITY ppc64-target "ppc64-unknown-linux-gnu">
+<!ENTITY ppc64-cross "ppc64-cross-linux-gnu">
+<!-- MIPS -->
+<!ENTITY mips-target "mips-unknown-linux-gnu">
+<!ENTITY mips-cross "mips-cross-linux-gnu">
+<!-- MIPS (Little Endian) -->
+<!ENTITY mipsel-target "mipsel-unknown-linux-gnu">
+<!ENTITY mipsel-cross "mipsel-cross-linux-gnu">
+<!-- MIPS 64 -->
+<!ENTITY mips64-target "mips64-unknown-linux-gnu">
+<!ENTITY mips64-cross "mips64-cross-linux-gnu">
+<!-- MIPS 64 (Little Endian) -->
+<!ENTITY mips64el-target "mips64-unknown-linux-gnu">
+<!ENTITY mips64el-cross "mips64-cross-linux-gnu">
+<!-- Sparc32 -->
+<!ENTITY sparc-target "sparc-unknown-linux-gnu">
+<!ENTITY sparc-cross "sparc-cross-linux-gnu">
+<!-- UtlraSPARC (Sparc64) -->
+<!ENTITY ultrasparc-target "sparc64-unknown-linux-gnu">
+<!ENTITY ultrasparc-cross "sparc64-cross-linux-gnu">
+

Copied: profiles/LFS/branches/cross-lfs/config/package.ent (from rev 1917, profiles/LFS/trunk/config/package.ent)

Copied: profiles/LFS/branches/cross-lfs/prep/addinguser.xml (from rev 1917, profiles/LFS/trunk/chapter05/addinguser.xml)
===================================================================
--- profiles/LFS/trunk/chapter05/addinguser.xml	2005-06-13 20:03:14 UTC (rev 1917)
+++ profiles/LFS/branches/cross-lfs/prep/addinguser.xml	2005-06-13 20:51:21 UTC (rev 1918)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%config_entities;
+
+]>
+<alfs>
+  <stage name="Adding the LFS User">
+    <execute command="getent group &lfs-user; > /dev/null || groupadd">
+      <param>&lfs-user;</param>
+    </execute>
+    <execute command="getent passwd &lfs-user; > /dev/null || useradd">
+      <param>-s /bin/bash</param>
+      <param>-g &lfs-user;</param>
+      <param>-m</param>
+      <param>-k /dev/null</param>
+      <param>&lfs-user;</param>
+    </execute>
+    <execute command="echo &lfs-user;:&lfs-password; | chpasswd" />
+    <ownership user="&lfs-user;">
+      <name>&LFS;</name>
+      <name>&LFS;/tools</name>
+      <name>&LFS;&build_dir;</name>
+    </ownership>
+  </stage>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/prep/creatingcrosstoolsdir.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/prep/creatingcrosstoolsdir.xml	2005-06-13 20:03:14 UTC (rev 1917)
+++ profiles/LFS/branches/cross-lfs/prep/creatingcrosstoolsdir.xml	2005-06-13 20:51:21 UTC (rev 1918)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%config_entities;
+]>
+
+<alfs>
+  <stage name="Creating $LFS/cross-tools">
+    <stageinfo>
+      <user>&lfs-user;</user>
+    </stageinfo>
+    <mkdir>
+      <option>parents</option>
+      <name>&lfs-user-dir;/cross-tools</name>
+    </mkdir>
+  </stage>
+  <stage name="Creating /cross-tools">
+    <link>
+      <option>force</option>
+      <target>&lfs-user-dir;/cross-tools</target>
+      <name>/</name>
+    </link>
+  </stage>
+</alfs>

Copied: profiles/LFS/branches/cross-lfs/prep/creatingtoolsdir.xml (from rev 1917, profiles/LFS/trunk/chapter05/creatingtoolsdir.xml)
===================================================================
--- profiles/LFS/trunk/chapter05/creatingtoolsdir.xml	2005-06-13 20:03:14 UTC (rev 1917)
+++ profiles/LFS/branches/cross-lfs/prep/creatingtoolsdir.xml	2005-06-13 20:51:21 UTC (rev 1918)
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+
+%general_entities;
+%config_entities;
+%package_entities;
+
+<!ENTITY % profile_entities SYSTEM "../config/profile.ent">
+%profile_entities;
+]>
+
+<alfs>
+  <stage name="Creating the $LFS/tools Directory">
+    <mkdir>
+      <option>parents</option>
+      <name>&LFS;/tools</name>
+    </mkdir>
+    <link>
+      <option>force</option>
+      <target>&LFS;/tools</target>
+      <name>/</name>
+    </link>
+    <!-- From this point forward isn't in the book, it's only here for nALFS to use -->
+    <mkdir base="&LFS;">
+      <option>parents</option>
+      <name>&LFS;&packages_dir;</name>
+      <name>&LFS;&build_dir;</name>
+      <name>&LFS;&skeleton_dir;</name>
+    </mkdir>
+    <!--
+      If you run a kernel that supports VFS bindings (2.4 or later),
+      you can uncomment this command instead of using the <copy>.
+      Don't forget to also uncomment the unmounting command from
+      the end of the profile.
+
+      Warning: if you use the mount option, and if the execution
+      of your profile fails, be careful to unmount the package
+      directory before you delete the content the target partition!
+
+      Note: a space has been inserted between the two dashes in the
+      bind parameter to avoid the double dash being deteted as the
+      end of the comment. You need to remove it if you use this
+      command.
+    <execute command="mount">
+      <param>- -bind</param>
+      <param>&orig_packages_dir;</param>
+      <param>&LFS;&packages_dir;</param>
+    </execute>
+    -->
+    <stage name="Copying package and patch files">
+      <stageinfo>
+        <base>&orig_packages_dir;</base>
+      </stageinfo>
+      <copy>
+        <source>&autoconf-package;</source>
+        <source>&automake-package;</source>
+        <source>&bash-package;</source>
+        <source>&bash-fixes-patch;</source>
+        <source>&bash-wcontinued-patch;</source>
+        <source>&binutils-package;</source>
+        <source>&bison-package;</source>
+        <source>&bzip2-package;</source>
+        <source>&coreutils-package;</source>
+        <source>&coreutils-dupes-patch;</source>
+        <source>&coreutils-uname-patch;</source>
+        <source>&dejagnu-package;</source>
+        <source>&diffutils-package;</source>
+        <source>&e2fsprogs-package;</source>
+        <source>&expect-package;</source>
+        <source>&expect-spawn-patch;</source>
+        <source>&file-package;</source>
+        <source>&findutils-package;</source>
+        <source>&flex-package;</source>
+        <source>&flex-debian-fixes-patch;</source>
+        <source>&gawk-package;</source>
+        <source>&gcc-package;</source>
+        <!-- <source>&gcc-core-package;</source> -->
+        <!-- <source>&gcc-gpp-package;</source> -->
+        <!-- <source>&gcc-testsuite-package;</source> -->
+        <source>&gcc-linkonce-patch;</source>
+        <source>&gcc-no-fixincludes-patch;</source>
+        <source>&gcc-specs-patch;</source>
+        <source>&gettext-package;</source>
+        <source>&glibc-package;</source>
+        <source>&glibc-linuxthreads-package;</source>
+        <source>&glibc-fix-testsuite-patch;</source>
+        <source>&grep-package;</source>
+        <source>&groff-package;</source>
+        <source>&grub-package;</source>
+        <source>&gzip-package;</source>
+        <source>&gzip-security-fixes-patch;</source>
+        <source>&hotplug-package;</source>
+        <source>&iana-etc-package;</source>
+        <source>&inetutils-package;</source>
+        <source>&inetutils-no-man-pages-patch;</source>
+        <source>&inetutils-kernel-headers-patch;</source>
+        <source>&iproute2-package;</source>
+        <source>&kbd-package;</source>
+        <source>&less-package;</source>
+        <source>&lfs-bootscripts-package;</source>
+        <source>&libtool-package;</source>
+        <source>&libxml2-package;</source>
+        <source>&linux-package;</source>
+        <source>&linux-libc-headers-package;</source>
+        <source>&m4-package;</source>
+        <source>&make-package;</source>
+        <source>&man-package;</source>
+        <source>&man-pages-package;</source>
+        <source>&mktemp-package;</source>
+        <source>&mktemp-tempfile-patch;</source>
+        <source>&module-init-tools-package;</source>
+        <source>&ncurses-package;</source>
+        <source>&nALFS-package;</source>
+        <source>&patch-package;</source>
+        <source>&perl-package;</source>
+        <source>&perl-libc-1-patch;</source>
+        <source>&procps-package;</source>
+        <source>&psmisc-package;</source>
+        <source>&readline-package;</source>
+        <source>&readline-fixes-patch;</source>
+        <source>&sed-package;</source>
+        <source>&shadow-package;</source>
+        <source>&shadow-lastlog-patch;</source>
+        <source>&sysklogd-package;</source>
+        <source>&sysklogd-fixes-patch;</source>
+        <source>&sysvinit-package;</source>
+        <source>&tar-package;</source>
+        <source>&tar-sparse-fix-patch;</source>
+        <source>&tcl-package;</source>
+        <source>&texinfo-package;</source>
+        <source>&udev-package;</source>
+        <source>&udev-rules-file;</source>
+        <source>&util-linux-package;</source>
+        <source>&util-linux-cramfs-patch;</source>
+        <source>&vim-package;</source>
+        <source>&vim-lang-package;</source>
+        <source>&vim-security-patch;</source>
+        <source>&zlib-package;</source>
+        <destination>&LFS;&packages_dir;</destination>
+      </copy>
+    </stage>
+    <stage name="Copying skeleton configuration files">
+      <copy>
+        <option>recursive</option>
+        <source>&lfs-profile;/&skeleton;/*</source>
+        <destination>&LFS;&skeleton_dir;</destination>
+      </copy>
+    </stage>
+  </stage>
+</alfs>

Copied: profiles/LFS/branches/cross-lfs/prep/settingenvironment.xml (from rev 1917, profiles/LFS/trunk/chapter05/settingenvironment.xml)
===================================================================
--- profiles/LFS/trunk/chapter05/settingenvironment.xml	2005-06-13 20:03:14 UTC (rev 1917)
+++ profiles/LFS/branches/cross-lfs/prep/settingenvironment.xml	2005-06-13 20:51:21 UTC (rev 1918)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%config_entities;
+]>
+<alfs>
+  <stage name="Setting Up the Environment">
+    <stageinfo>
+      <user>&lfs-user;</user>
+    </stageinfo>
+    <copy>
+      <source>&skeleton_dir;/home/lfs/dot_bash_profile</source>
+      <destination>&lfs-user-dir;/.bash_profile</destination>
+    </copy>
+    <copy>
+      <source>&skeleton_dir;/home/lfs/dot_bashrc</source>
+      <destination>&lfs-user-dir;/.bashrc</destination>
+    </copy>
+    <search_replace>
+      <file>&lfs-user-dir;/.bashrc</file>
+      <find>[LFS]</find>
+      <replace>&LFS;</replace>
+    </search_replace>
+  </stage>
+</alfs>

Modified: profiles/LFS/branches/cross-lfs/skeleton/home/lfs/dot_bashrc
===================================================================
--- profiles/LFS/branches/cross-lfs/skeleton/home/lfs/dot_bashrc	2005-06-13 20:03:14 UTC (rev 1917)
+++ profiles/LFS/branches/cross-lfs/skeleton/home/lfs/dot_bashrc	2005-06-13 20:51:21 UTC (rev 1918)
@@ -2,5 +2,5 @@
 umask 022
 LFS=[LFS]
 LC_ALL=POSIX
-PATH=/tools/bin:/bin:/usr/bin
+PATH=/cross-tools/bin:/bin:/usr/bin
 export LFS LC_ALL PATH




More information about the alfs-log mailing list