createfiles.xml 714 B

123456789101112131415161718
  1. <sect1 id="ch06-createfiles">
  2. <title>Creating essential symlinks</title>
  3. <?dbhtml filename="createfiles.html" dir="chapter06"?>
  4. <para>Some programs hard-wire paths to programs which don't exist yet. In
  5. order to satisfy these programs, we create a number of symbolic links which
  6. will be replaced by real files throughout the course of this chapter when
  7. we're installing all the software.</para>
  8. <para><screen><userinput>ln -s /stage1/bin/{bash,pwd,cat,stty,echo,sed} /bin
  9. ln -s /stage1/bin/{rm,mv,chmod,chgrp} /bin
  10. ln -s /stage1/bin/{perl,msgfmt,xgettext,msgmerge,install} /usr/bin
  11. ln -s /stage1/bin/{sort,gawk,cmp} /usr/bin
  12. ln -s bash /bin/sh
  13. ln -s ../usr/bin/install /bin</userinput></screen></para>
  14. </sect1>