theend.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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">
  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>Create an <filename>/etc/os-release</filename> file required by
  22. systemd:</para>
  23. <screen><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
  24. NAME="Linux From Scratch"
  25. VERSION="&version;"
  26. ID=lfs
  27. PRETTY_NAME="Linux From Scratch &version;"
  28. EOF</userinput></screen>
  29. <para>It is recommended to create <filename>/etc/lfs-release</filename>
  30. for compatibility with non systemd branch. 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><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
  35. <para>It is also a good idea to create a file to show the status of your
  36. new system with respect to the Linux Standards Base (LSB). To create
  37. this file, run:</para>
  38. <screen><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
  39. DISTRIB_ID="Linux From Scratch"
  40. DISTRIB_RELEASE="&version;"
  41. DISTRIB_CODENAME="&lt;your name here&gt;"
  42. DISTRIB_DESCRIPTION="Linux From Scratch"
  43. EOF</userinput></screen>
  44. <para>Be sure to put some sort of customization for the field
  45. 'DISTRIB_CODENAME' to make the system uniquely yours.</para>
  46. </sect1>