diff options
Diffstat (limited to 'chapter06/bzip2-inst.xml')
-rw-r--r-- | chapter06/bzip2-inst.xml | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml index cf2abcd81..39ba93e21 100644 --- a/chapter06/bzip2-inst.xml +++ b/chapter06/bzip2-inst.xml @@ -10,15 +10,12 @@ make PREFIX=/usr install && cp bzip2-shared /bin/bzip2 && ln -s libbz2.so.1.0 libbz2.so && cp -a libbz2.so* /lib && -cd /usr/lib && -ln -sf ../../lib/libbz2.so && -cd /usr/bin && -rm bunzip2 bzcat bzip2 && -rm /bin/bzless /bin/bzmore && -mv bzip2recover bzless bzmore /bin && -cd /bin && -ln -sf bzip2 bunzip2 && -ln -sf bzip2 bzcat</userinput></screen></para> +ln -sf ../../lib/libbz2.so $LFS/usr/lib&& +rm /usr/bin/{bunzip2,bzcat,bzip2} && +rm /bin/{bzless,bzmore} && +mv /usr/bin/{bzip2recover,bzless,bzmore} /bin && +ln -sf bzip2 /bin/bunzip2 && +ln -sf bzip2 /bin/bzcat</userinput></screen></para> <para>Although it's not strictly a part of a basic LFS system it's worth |