Ticket #870 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

7.4 does not create symbolic link

Reported by: Kionmaru 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

comment:1 Changed 6 years ago by hugobo

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 6 years ago by hugobo

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

comment:3 Changed 6 years ago by Cosmo

  • Status changed from new to closed
  • Resolution set to fixed

comment:4 Changed 6 years ago by Cosmo

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.