Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#870 closed defect (fixed)

7.4 does not create symbolic link

Reported by: John-Michael Denton Owned by: clfs-commits@…
Priority: critical Milestone: CLFS Standard 1.2.0
Component: BOOK Version: CLFS Standard 1.2.0
Keywords: agetty, util-linux, symlinks, inittab, system boot Cc:


Chapter 7.4 util-linux install puts agetty in /tools/sbin/agetty, but nothing in Ch. 7 has you run:

(cd ${CLFS}; ln -sv ./tools/sbin/agetty ./sbin/agetty)

As a result, the inittab installed in 7.6.2 is going to auto-throttle because it cannot execute ANY login prompts, rendering your bootable system.. Unbootable!

Which blocks you from proceeding to the next step without prior knowledge or assistance.

Change History (4)

comment:1 Changed 11 years ago by Hugo Villeneuve

There are more programs that are needed at boot, like mount, dmesg or blkid (needed by udev), so this is really a critical bug rendering the system unbootable.

The build instructions for util-linux pass the parameters "--prefix=/tools --exec-prefix=/tools", which install all the critical executables in /tools/sbin, libraries in /tools/lib and includes in /tools/include.

In the past, If I am not mistaken, util-linux was installed without a prefix, thus the executables were properly installed in /sbin, and the libraries and includes to /usr/{lib.include}. The libraries and includes were copied to /tools by hand after installation.

comment:2 Changed 11 years ago by Hugo Villeneuve

I fixed the problem by replacing "--exec-prefix=/tools" with "--exec-prefix=${CLFS}".

comment:3 Changed 11 years ago by Jonathan

Resolution: fixed
Status: newclosed

comment:4 Changed 11 years ago by Jonathan

This issue had been fixed in the non-mutlilib but hadn't been implementing in multilib and mips64.

The solution was to add this line to the Creating Essential Symlinks page:

ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
Note: See TracTickets for help on using tickets.