Changeset 07114c98 for BOOK/boot/common
- Timestamp:
- Jul 1, 2006, 12:48:39 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 95112ed
- Parents:
- 51f1397
- Location:
- BOOK/boot/common
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/changingowner.xml
r51f1397 r07114c98 11 11 <title>Changing Ownership</title> 12 12 13 <para os="a">Currently, the <filename class="directory">$ LFS</filename>13 <para os="a">Currently, the <filename class="directory">$CLFS</filename> 14 14 directory and all of its subdirectories are owned by the user 15 15 <systemitem class="username">lfs</systemitem>, a user that exists only 16 on the host system. For security reasons, the $ LFS root directory and16 on the host system. For security reasons, the $CLFS root directory and 17 17 all of it subdirectories should be owned by 18 18 <systemitem class="username">root</systemitem>. Change the ownership 19 for $ LFS and its subdirectories by running this command:</para>19 for $CLFS and its subdirectories by running this command:</para> 20 20 21 21 <screen os="b"><userinput>chown -Rv root:root ${LFS}</userinput></screen> -
BOOK/boot/common/devices.xml
r51f1397 r07114c98 21 21 <para>The commands in the remainder of the book should be run as 22 22 the <systemitem class="username">root</systemitem> user. Also, 23 double-check that $ LFS is set as23 double-check that $CLFS is set as 24 24 <systemitem class="username">root</systemitem>.</para> 25 25 </note> -
BOOK/boot/common/e2fsprogs.xml
r51f1397 r07114c98 37 37 <screen os="aa"><userinput>../configure --prefix=/tools \ 38 38 --enable-elf-shlibs --disable-evms \ 39 --build=${ LFS_HOST} --host=${LFS_TARGET}</userinput></screen>39 --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen> 40 40 41 41 <variablelist os="e"> -
BOOK/boot/common/introduction.xml
r51f1397 r07114c98 18 18 installed to allow you to boot the minimal system. Some of these 19 19 packages will be installed onto the root or in /usr on the CLFS 20 partition ($ LFS/bin, $LFS/usr/lib, etc...), rather than /tools, using the20 partition ($CLFS/bin, $CLFS/usr/lib, etc...), rather than /tools, using the 21 21 "DESTDIR" option with make. This will require the 22 22 <systemitem class="username">lfs</systemitem> user to have write access to 23 the rest of the $ LFS partition, so you will need to temporarily change the24 ownership of $ LFS to the <systemitem class="username">lfs</systemitem> user.23 the rest of the $CLFS partition, so you will need to temporarily change the 24 ownership of $CLFS to the <systemitem class="username">lfs</systemitem> user. 25 25 Run the following command as <systemitem 26 26 class="username">root</systemitem>:</para> 27 27 28 <screen><userinput>chown -v lfs $ LFS</userinput></screen>28 <screen><userinput>chown -v lfs $CLFS</userinput></screen> 29 29 30 30 </sect1> -
BOOK/boot/common/module-init-tools.xml
r51f1397 r07114c98 28 28 29 29 <screen os="f"><userinput>./configure --prefix=/ \ 30 --build=${ LFS_HOST} --host=${LFS_TARGET}</userinput></screen>30 --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/common/udev.xml
r51f1397 r07114c98 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="b"><userinput>make CROSS_COMPILE="${ LFS_TARGET}-" CC="${CC}" LD="${CC}" udevdir=/dev</userinput></screen>29 <screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC}" LD="${CC}" udevdir=/dev</userinput></screen> 30 30 31 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.