#2982: Replace "uncompress" with a symlink
-----------------------+----------------------------------------------------
Reporter: synthehol | Owner: lfs-book@…
Type: defect | Status: new
Priority: normal | Milestone: 7.1
Component: Book | Version: SVN
Severity: normal | Keywords: gzip, uncompress
-----------------------+----------------------------------------------------
During the installation of gzip (chapter 6), the file /bin/uncompress is
moved to
/usr/bin. However, because uncompress is a hard link to /bin/gunzip, this
move
fails if /usr is on a separate partition.
I've tagged this issue as a defect, because in the chapter
"Creating a New Partition", LFS instructs the reader to consider putting
/usr on a
separate partition, which clearly is not possible without modifying LFS a
bit.
The solution is simple. In the instructions for installing gzip in chapter
6:
{{{
mv -v /bin/{gzexe,uncompress,zcmp,zdiff,zegrep} /usr/bin
mv -v /bin/{zfgrep,zforce,zgrep,zless,zmore,znew} /usr/bin
}}}
should become:
{{{
mv -v /bin/{gzexe,zcmp,zdiff,zegrep} /usr/bin
mv -v /bin/{zfgrep,zforce,zgrep,zless,zmore,znew} /usr/bin
rm -rvf /bin/uncompress
ln -sv ../../bin/gunzip /usr/bin/uncompress
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2982>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page