Under normal circumstances, after the kernel is done loading and initializing various system components, it attempts to load a program called init which will finalize the system boot process. The package found on most if not every single Linux system is called Sysvinit and that's the program we're going to install on our LFS system.
Unpack the Sysvinit archive
Enter the src directory
Open the Makefile file in a text editor
Somwhere in this file but before the rule all: put this line: ROOT = $LFS
Preceed every /dev on the last four lines by $(ROOT)
After applying the $(ROOT) parts to the last four lines, they should look like this:
@if [! -p $(ROOT)/dev/initctl ]; then \
echo "Creating $(ROOT)/dev/initctl"; \
rm -f $(ROOT)/dev/initctl; \
mknod -m 600 $(ROOT)/dev/initctl p; fi
Install the package by running:
make -e LDFLAGS=-static; make install