BLFS has more information regarding compilation, /usr vs /usr/local, boot scripts, etc. at https://linuxfromscratch.org/blfs/view/systemd/introduction/important.html. Unlike this book, this would be a chapter in BLFS. A lot of that information has been omitted as this book is more linear and doesn't follow how BLFS follows. However, we will cover some bases here.
This book viewable online is in a constant flux of updates, and updates about as often as the BLFS Git/SVN version. While there isn't a viewable online version of the stable release, you can either render it yourself by following https://github.com/glfs-book/slfs, or you can download a release.
This version of this book is meant for Systemd LFS systems.
Building software on SLFS is identical to how it's done in the LFS
books. It goes without saying firstmost that you should have
MAKEFLAGS
set to save yourself a lot of
time. This is useful for the make utility to use the amount of
threads that you both want and have.
export MAKEFLAGS='-jx'
Replace x
with the amount of threads
you have. You can check the amount of threads you have with:
grep processor /proc/cpuinfo
Make sure that you have enough RAM for your system! A general method is having 2.5G per thread that is thrown at make. For instance, if you want to use 6 threads, multiply 6 by 2.5 (which is 15), then make sure you have 15G of RAM. If you don't have that RAM, try and limit the threads you throw at make.