theend.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-finish-theend">
  8. <?dbhtml filename="theend.html"?>
  9. <title>The End</title>
  10. <indexterm zone="ch-finish-theend">
  11. <primary sortas="e-/etc/lfs-release">/etc/lfs-release</primary>
  12. </indexterm>
  13. <indexterm zone="ch-finish-theend">
  14. <primary sortas="e-/etc/lsb-release">/etc/lsb-release</primary>
  15. </indexterm>
  16. <indexterm zone="ch-finish-theend" revision="systemd">
  17. <primary sortas="e-/etc/os-release">/etc/os-release</primary>
  18. </indexterm>
  19. <para>Well done! The new LFS system is installed! We wish you much
  20. success with your shiny new custom-built Linux system.</para>
  21. <para revision="systemd">Create an <filename>/etc/os-release</filename>
  22. file required by systemd:</para>
  23. <screen revision="systemd"><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
  24. NAME="Linux From Scratch"
  25. VERSION="&versiond;"
  26. ID=lfs
  27. PRETTY_NAME="Linux From Scratch &versiond;"
  28. VERSION_CODENAME="&lt;your name here&gt;"
  29. EOF</userinput></screen>
  30. <para revision="sysv">It may be a good idea to create an
  31. <filename>/etc/lfs-release</filename> file. By having this file, it is very
  32. easy for you (and for us if you need to ask for help at some point) to find
  33. out which LFS version is installed on the system. Create this file by
  34. running:</para>
  35. <screen revision="sysv"><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
  36. <para revision="systemd">Creating the file
  37. <filename>/etc/lfs-release</filename> is recommended for compatibility with
  38. the non-systemd branch. By having this file, it is very easy for you (and for
  39. us if you need to ask for help at some point) to find out which LFS version
  40. is installed on the system. Create this file by running:</para>
  41. <screen revision="systemd"><userinput>echo &versiond; &gt; /etc/lfs-release</userinput></screen>
  42. <para>It is also a good idea to create a file to show the status of your
  43. new system with respect to the Linux Standards Base (LSB). To create
  44. this file, run:</para>
  45. <screen revision="sysv"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
  46. DISTRIB_ID="Linux From Scratch"
  47. DISTRIB_RELEASE="&version;"
  48. DISTRIB_CODENAME="&lt;your name here&gt;"
  49. DISTRIB_DESCRIPTION="Linux From Scratch"
  50. EOF</userinput></screen>
  51. <screen revision="systemd"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
  52. DISTRIB_ID="Linux From Scratch"
  53. DISTRIB_RELEASE="&versiond;"
  54. DISTRIB_CODENAME="&lt;your name here&gt;"
  55. DISTRIB_DESCRIPTION="Linux From Scratch"
  56. EOF</userinput></screen>
  57. <para>Be sure to put some sort of customization for the field
  58. 'DISTRIB_CODENAME' to make the system uniquely yours.</para>
  59. </sect1>