Opened 13 years ago

Closed 13 years ago

Last modified 13 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:

Description

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 by Hugo Villeneuve, 13 years ago

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 by Hugo Villeneuve, 13 years ago

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

comment:3 by Jonathan, 13 years ago

Resolution: fixed
Status: newclosed

comment:4 by Jonathan, 13 years ago

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.