Changeset 01c8218
- Timestamp:
- 03/15/2001 05:01:05 PM (23 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v3_0, v3_1, v3_2, v3_3, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- a8e58c7e
- Parents:
- 2483c44
- Location:
- chapter02
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/aboutlfs.xml
r2483c44 r01c8218 7 7 replaced by the directory where the partition that contains the LFS system 8 8 is mounted. How to create and where to mount the partition will be 9 explaind in full detail later on in chapter 4. In my case the LFS9 explaind in full detail later on in chapter 4. In my case, the LFS 10 10 partition is mounted on /mnt/lfs. If I read this book myself and I see 11 11 $LFS somewhere, I will pretend that I read /mnt/lfs. If I read that 12 I have to run this command: cp inittab $LFS/etc I actually will run this:13 cp inittab /mnt/lfs/etc 12 I have to run this command: cp inittab $LFS/etc, I actually will run this: 13 cp inittab /mnt/lfs/etc. 14 14 </para> 15 15 … … 22 22 If you want, you can set the environment variable LFS. This way you can 23 23 literally enter $LFS instead of replacing it by something like 24 /mnt/lfs. This is accomplished by running: export LFS=/mnt/lfs 24 /mnt/lfs. This is accomplished by running: export LFS=/mnt/lfs. 25 25 </para> 26 26 … … 35 35 the variable and you use it in a command, $LFS will be ignored and whatever 36 36 is left will be executed. The command cp inittab $LFS/etc without the $LFS 37 variable set ,will result in copying the inittab file to the /etc38 directory which will overwrite your system's inittab. A file like inittab37 variable set will result in copying the inittab file to the /etc 38 directory, which will overwrite your system's inittab. A file like inittab 39 39 isn't that big a problem as it can easily be restored, but if you would 40 make this mistake during the installation of the C Library, you c an40 make this mistake during the installation of the C Library, you could 41 41 damage things. 42 42 </para> 43 43 44 44 <para> 45 One way to make sure that $LFS is set at all times you could addit to46 your /root/.bash_profile and/or /root/.bashrc file(s) so everytime you47 'su' to user too as toinstall LFS, the $LFS variable is set for you.45 One way to make sure that $LFS is set at all times is adding it to 46 your /root/.bash_profile and/or /root/.bashrc file(s) so that every time you 47 'su' to install LFS, the $LFS variable is set for you. 48 48 </para> 49 49 -
chapter02/download.xml
r2483c44 r01c8218 22 22 The next chapter contains the list of all the packages you need to download, 23 23 but the partition that is going to contain our LFS system isn't created yet. 24 Therefore store the files temporarily somewhere where you want and remember24 Therefore, store the files temporarily somewhere where you want and remember 25 25 to copy them to $LFS/usr/src/ when you have finished the chapter in which 26 26 you prepare a new partition (chapter 4).
Note:
See TracChangeset
for help on using the changeset viewer.