From 9503a7da97e9bc5866ad829e4772d1e8cf3fa051 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Wed, 21 May 2003 18:44:32 +0000 Subject: [PATCH] Applied Zack's Creating Files patch git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2623 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 4 ++++ chapter06/createfiles.xml | 27 ++++++--------------------- 2 files changed, 10 insertions(+), 21 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 5fd11ab5f..264c66d92 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -78,6 +78,10 @@ +May 15th, 2003 [winkie]: Chapter 06 - Creating Files: All +those ln commands can be made into a few long ln +commands. + May 15th, 2003 [winkie]: Chapter 05 - Installing Glibc: Create an ld.so.conf file before building Glibc, to prevent an (harmless) error. diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml index 1be2246a8..4a71803b5 100644 --- a/chapter06/createfiles.xml +++ b/chapter06/createfiles.xml @@ -7,27 +7,12 @@ order to satisfy these programs, we create a number of symbolic links which will be replaced by real files throughout the course of this chapter when we're installing all the software. -ln -sf /stage1/bin/bash /bin -ln -sf bash /bin/sh -ln -sf /stage1/bin/pwd /bin -ln -sf /stage1/bin/perl /usr/bin -ln -sf /stage1/bin/cat /bin -ln -sf /stage1/bin/stty /bin -ln -sf /stage1/bin/msgfmt /usr/bin -ln -sf /stage1/bin/xgettext /usr/bin -ln -sf /stage1/bin/msgmerge /usr/bin -ln -sf /stage1/bin/install /usr/bin -ln -sf /usr/bin/install /bin -ln -sf /stage1/bin/echo /bin -ln -sf /stage1/bin/sed /bin -ln -sf /stage1/bin/awk /bin -ln -sf /stage1/bin/rm /bin -ln -sf /stage1/bin/mv /bin -ln -sf /stage1/bin/chmod /bin -ln -sf /stage1/bin/chgrp /bin -ln -sf /stage1/bin/sort /usr/bin -ln -sf /stage1/bin/cmp /usr/bin - +ln -s /stage1/bin/{bash,pwd,cat,stty,echo,sed} /bin +ln -s /stage1/bin/{rm,mv,chmod,chgrp} /bin +ln -s /stage1/bin/{perl,msgfmt,xgettext,msgmerge,install} /usr/bin +ln -s /stage1/bin/{sort,gawk,cmp} /usr/bin +ln -s bash /bin/sh +ln -s ../usr/bin/install /bin