Changeset 9cb6b64 for boot/common
- Timestamp:
- Jul 1, 2006, 12:48:39 PM (18 years ago)
- Children:
- 8018c66
- Parents:
- 2ce8e8a
- Location:
- boot/common
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/common/changingowner.xml
r2ce8e8a r9cb6b64 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> -
boot/common/devices.xml
r2ce8e8a r9cb6b64 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> -
boot/common/e2fsprogs.xml
r2ce8e8a r9cb6b64 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"> -
boot/common/introduction.xml
r2ce8e8a r9cb6b64 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> -
boot/common/module-init-tools.xml
r2ce8e8a r9cb6b64 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" -
boot/common/udev.xml
r2ce8e8a r9cb6b64 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.