|  | @@ -3,18 +3,36 @@
 | 
	
		
			
				|  |  |  <sect2>
 | 
	
		
			
				|  |  |  <title>Installation of Coreutils</title>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -<para><screen><userinput>./configure --prefix=/usr
 | 
	
		
			
				|  |  | -make
 | 
	
		
			
				|  |  | -make install
 | 
	
		
			
				|  |  | -mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin &&
 | 
	
		
			
				|  |  | +<para>Normally the functionality of uname is somewhat broken, in that
 | 
	
		
			
				|  |  | +the -p switch always returns "unknown". This patch fixes that behaviour:</para>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +<para><screen><userinput>patch -Np1 -i ../coreutils-&coreutils-patch-version;.patch</userinput></screen></para>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +<para>Prepare Coreutils to be compiled:</para>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +<para>Continue with compiling the package:</para>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +<para><screen><userinput>make</userinput></screen></para>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +<para>Install the package:</para>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +<para><screen><userinput>make install</userinput></screen></para>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +<para>Move files to their proper locations:</para>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +<para><screen><userinput>mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin &&
 | 
	
		
			
				|  |  |  mv /usr/bin/{dir,dircolors,du,date,echo,false,head} /bin &&
 | 
	
		
			
				|  |  |  mv /usr/bin/{install,ln,ls,mkdir,mkfifo,mknod,mv,pwd} /bin &&
 | 
	
		
			
				|  |  |  mv /usr/bin/{rm,rmdir,shred,sync,sleep,stty,su,test} /bin &&
 | 
	
		
			
				|  |  |  mv /usr/bin/{touch,true,uname,vdir} /bin
 | 
	
		
			
				|  |  | -mv /usr/bin/chroot /usr/sbin
 | 
	
		
			
				|  |  | -ln -s test /bin/[
 | 
	
		
			
				|  |  | -ln -s ../../bin/install /usr/bin</userinput></screen></para>
 | 
	
		
			
				|  |  | +mv /usr/bin/chroot /usr/sbin</userinput></screen></para>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +<para>Finally, create a few necessary symlinks</para>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +<para><screen><userinput>ln -s test /bin/[
 | 
	
		
			
				|  |  | +ln -s ../../bin/install /usr/bin</userinput></screen></para>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  </sect2>
 | 
	
		
			
				|  |  |  
 |