diff --git a/chapter02/aboutlfs.xml b/chapter02/aboutlfs.xml index 93f885e22..0d5a5281b 100644 --- a/chapter02/aboutlfs.xml +++ b/chapter02/aboutlfs.xml @@ -57,7 +57,8 @@ host system. If logging in through a graphical display manager, the user's .bash_profile is not normally used when a virtual terminal is started. In this case, add the export command to - the .bashrc file for the user and root. In addition, + the .bashrc file for the user and + root. In addition, some distributions have instructions to not run the .bashrc instructions in a non-interactive bash invocation. Be sure to add the export command before the test for non-interactive use. diff --git a/chapter02/stages.xml b/chapter02/stages.xml index 31a60166d..b15b9446e 100644 --- a/chapter02/stages.xml +++ b/chapter02/stages.xml @@ -25,9 +25,10 @@ - Procedures done as the root user after Section 2.4 need to - have the LFS environment variable set FOR THE ROOT - USER. + Procedures done as the + root user after Section + 2.4 need to have the LFS environment variable set + FOR THE ROOT USER. @@ -41,7 +42,8 @@ - Threse two chapters must be done as user lfs. + These two chapters must be done as user + lfs. A su - lfs needs to be done before any task in these chapters. Failing to do that, you are at risk of installing packages to the host, and potentially rendering it unusable. @@ -68,18 +70,22 @@ A few operations, from Changing Ownership to Entering the Chroot Environment must be done as the - root user, with the LFS environment variable set for the root user. + root user, with the LFS + environment variable set for the + rootuser. When entering chroot, the LFS environment variable must be set - for root. The LFS variable is not used afterwards. + for root. The LFS + variable is not used afterwards. The virtual file systems must be mounted. This can be done before or after entering chroot by changing to a host virtual terminal - and, as root, running the commands in + and, as root, running the + commands in and . diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 9c01c94eb..65f954305 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -147,10 +147,11 @@ cd build Install the package: If LFS is not properly set, and despite the - recommendations, you are building as root, the next command will install - the newly built glibc to your host system, which most likely will render it - unusable. So double check that the environment is correctly set for user - lfs. + recommendations, you are building as + root, the next command will + install the newly built glibc to your host system, which most likely + will render it unusable. So double check that the environment is + correctly set, before running the following command. make DESTDIR=$LFS install diff --git a/chapter06/introduction.xml b/chapter06/introduction.xml index 163aa5796..58f0dd7f7 100644 --- a/chapter06/introduction.xml +++ b/chapter06/introduction.xml @@ -22,7 +22,8 @@ independent of the host system yet. Once again, let us recall that improper setting of LFS - together with building as root, may render your computer unusable. + together with building as root, + may render your computer unusable. This whole chapter must be done as user lfs, with the environment as described in . diff --git a/chapter08/coreutils.xml b/chapter08/coreutils.xml index e308d5743..c9f97a20d 100644 --- a/chapter08/coreutils.xml +++ b/chapter08/coreutils.xml @@ -87,7 +87,7 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure \ FORCE_UNSAFE_CONFIGURE=1 This environment variable allows the package to be - built as the root user. + built as the root user. diff --git a/chapter08/tar.xml b/chapter08/tar.xml index 1c3a5c75e..6f37ce888 100644 --- a/chapter08/tar.xml +++ b/chapter08/tar.xml @@ -56,8 +56,10 @@ FORCE_UNSAFE_CONFIGURE=1 This forces the test for mknod to be run - as root. It is generally considered dangerous to run this test as - the root user, but as it is being run on a system that has only been + as root. + It is generally considered dangerous to run this test as + the root user, but as it + is being run on a system that has only been partially built, overriding it is OK. diff --git a/chapter08/util-linux.xml b/chapter08/util-linux.xml index 8f3df8366..04bd999e3 100644 --- a/chapter08/util-linux.xml +++ b/chapter08/util-linux.xml @@ -88,7 +88,8 @@ If desired, run the test suite as a non-root user: - Running the test suite as the root user can be harmful to + Running the test suite as the + root user can be harmful to your system. To run it, the CONFIG_SCSI_DEBUG option for the kernel must be available in the currently running system and must be built as a module. Building it into the kernel will prevent booting. For complete diff --git a/chapter09/systemd-custom.xml b/chapter09/systemd-custom.xml index 7addaefbb..7e0613df2 100644 --- a/chapter09/systemd-custom.xml +++ b/chapter09/systemd-custom.xml @@ -41,7 +41,8 @@ TTYVTDisallocate=no EOF The boot messages can always be reviewed by using the - journalctl -b command as the root user. + journalctl -b command as the + root user.