theend.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. EOF</userinput></screen>
  29. <para revision="sysv">It may be a good idea to create an
  30. <filename>/etc/lfs-release</filename> file. By having this file, it is very
  31. easy for you (and for us if you need to ask for help at some point) to find
  32. out which LFS version is installed on the system. Create this file by
  33. running:</para>
  34. <screen revision="sysv"><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
  35. <para revision="systemd">Creating the file
  36. <filename>/etc/lfs-release</filename> is recommended for compatibility with
  37. the non-systemd branch. By having this file, it is very easy for you (and for
  38. us if you need to ask for help at some point) to find out which LFS version
  39. is installed on the system. Create this file by running:</para>
  40. <screen revision="systemd"><userinput>echo &versiond; &gt; /etc/lfs-release</userinput></screen>
  41. <para>It is also a good idea to create a file to show the status of your
  42. new system with respect to the Linux Standards Base (LSB). To create
  43. this file, run:</para>
  44. <screen revision="sysv"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
  45. DISTRIB_ID="Linux From Scratch"
  46. DISTRIB_RELEASE="&version;"
  47. DISTRIB_CODENAME="&lt;your name here&gt;"
  48. DISTRIB_DESCRIPTION="Linux From Scratch"
  49. EOF</userinput></screen>
  50. <screen revision="systemd"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
  51. DISTRIB_ID="Linux From Scratch"
  52. DISTRIB_RELEASE="&versiond;"
  53. DISTRIB_CODENAME="&lt;your name here&gt;"
  54. DISTRIB_DESCRIPTION="Linux From Scratch"
  55. EOF</userinput></screen>
  56. <para>Be sure to put some sort of customization for the field
  57. 'DISTRIB_CODENAME' to make the system uniquely yours.</para>
  58. </sect1>