Skip to contentSkip to conversation

Documentation: A few more tweaks to Chapter 1, BitBake User Manual.

PATCH In review Robert P. J. Day 2 participants 2 messages Jul 7, 2014 – Jul 8, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: A few more tweaks to Chapter 1, BitBake User Manual.

---

doc/bitbake-user-manual/bitbake-user-manual-intro.xml +19 -10
index af2400f..bf39857 100644
@@ -212,11 +212,12 @@
                     <listitem><para>Where the source code resides and
                         how to fetch it</para></listitem>
                     <listitem><para>Whether the source code requires
-                        any patches</para></listitem>
+                        any patches, where to find them and how to apply
+                        them</para></listitem>
                     <listitem><para>How to configure and compile the
                         source code</para></listitem>
                     <listitem><para>Where on the target machine to install the
-                        package or packages being compiled</para></listitem>
+                        package or packages created</para></listitem>
                 </itemizedlist>
             </para>
 
@@ -228,7 +229,10 @@
                     The term "package" is also commonly used to describe recipes.
                     However, since the same word is used to describe packaged
                     output from a project, it is best to maintain a single
-                    descriptive term, "recipes".
+                    descriptive term, "recipes". Put another way, a single
+                    "recipe" file is quite capable of generating a number of
+                    related but separately installable "packages"; this is
+                    actually fairly common.
                 </note>
             </para>
         </section>
@@ -248,7 +252,7 @@
                 The main configuration file is the sample
                 <filename>bitbake.conf</filename> file, which is
                 located within the BitBake source tree
-                <filename>conf</filename> directory.
+                <filename>conf/</filename> directory.
             </para>
         </section>
 
@@ -262,7 +266,7 @@
                 The BitBake source tree currently comes with one class metadata file
                 called <filename>base.bbclass</filename>.
                 You can find this file in the
-                <filename>classes</filename> directory.
+                <filename>classes/</filename> directory.
                 The <filename>base.bbclass</filename> class files is special since it
                 is always included automatically for all recipes
                 and classes.
@@ -313,7 +317,6 @@
                 Append files, which are files that have the
                 <filename>.bbappend</filename> file extension, extend or
                 override information in an existing recipe file.
-                recipe file.
             </para>
 
             <para>
@@ -326,8 +329,8 @@
             </para>
 
             <para>
-                Information in append files overrides the information in the
-                similarly-named recipe file.
+                Information in append files extends or overrides the information in the
+                underlying, similarly-named recipe file.
             </para>
 
             <para>
@@ -352,6 +355,12 @@
                 However, if you named the append file
                 <filename>busybox_1.%.bbappend</filename>, then you would have a match.
             </para>
+
+            <para>
+                In the most general case, you could name the append file something as
+                simple as <filename>busybox_%.bbappend</filename> to be entirely
+                version independent.
+            </para>
         </section>
     </section>
 
@@ -359,7 +368,7 @@
         <title>Obtaining BitBake</title>
 
         <para>
-            You can obtain BitBake several different ways:
+            You can obtain BitBake in one of several different ways:
             <itemizedlist>
                 <listitem><para><emphasis>Cloning BitBake:</emphasis>
                     Using Git to clone the BitBake source code repository
@@ -432,7 +441,7 @@
                     has been thoroughly tested for compatibility with the other
                     components.
                     For information on how to check out a particular BitBake-based
-                    build system, the build system's supporting documentation.
+                    build system, consult that build system's supporting documentation.
                     </para></listitem>
             </itemizedlist>
         </para>
Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw

Applied (for the most part). Needs to be merged with bitbake repo.

Scott

Quoted 135 lines

-----Original Message-----
From: [email protected] [mailto:bitbake- [email protected]] On Behalf Of Robert P. J. Day
Sent: Monday, July 07, 2014 6:47 AM
To: BitBake developer list
Subject: [bitbake-devel] [PATCH] Documentation: A few more tweaks to Chapter 1, BitBake User Manual.

---

doc/bitbake-user-manual/bitbake-user-manual-intro.xml +10 -8
index af2400f..bf39857 100644
@@ -212,11 +212,12 @@
                    <listitem><para>Where the source code resides and
                        how to fetch it</para></listitem>
                    <listitem><para>Whether the source code requires
-                        any patches</para></listitem>
+                        any patches, where to find them and how to apply
+                        them</para></listitem>
                    <listitem><para>How to configure and compile the
                        source code</para></listitem>
                    <listitem><para>Where on the target machine to install the
-                        package or packages being compiled</para></listitem>
+                        package or packages created</para></listitem>
                </itemizedlist>
            </para>
 
@@ -228,7 +229,10 @@
                    The term "package" is also commonly used to describe recipes.
                    However, since the same word is used to describe packaged
                    output from a project, it is best to maintain a single
-                    descriptive term, "recipes".
+                    descriptive term, "recipes". Put another way, a single
+                    "recipe" file is quite capable of generating a number of
+                    related but separately installable "packages"; this is
+                    actually fairly common.
                </note>
            </para>
        </section>
@@ -248,7 +252,7 @@
                The main configuration file is the sample
                <filename>bitbake.conf</filename> file, which is
                located within the BitBake source tree
-                <filename>conf</filename> directory.
+                <filename>conf/</filename> directory.
            </para>
        </section>
 
@@ -262,7 +266,7 @@
                The BitBake source tree currently comes with one class metadata file
                called <filename>base.bbclass</filename>.
                You can find this file in the
-                <filename>classes</filename> directory.
+                <filename>classes/</filename> directory.
                The <filename>base.bbclass</filename> class files is special since it
                is always included automatically for all recipes
                and classes.
@@ -313,7 +317,6 @@
                Append files, which are files that have the
                <filename>.bbappend</filename> file extension, extend or
                override information in an existing recipe file.
-                recipe file.
            </para>
 
            <para>
@@ -326,8 +329,8 @@
            </para>
 
            <para>
-                Information in append files overrides the information in the
-                similarly-named recipe file.
+                Information in append files extends or overrides the information in

the

doc/bitbake-user-manual/bitbake-user-manual-intro.xml +1 -0
+                underlying, similarly-named recipe file.
            </para>
 
            <para>
@@ -352,6 +355,12 @@
                However, if you named the append file
                <filename>busybox_1.%.bbappend</filename>, then you would

have a match.

            </para>
doc/bitbake-user-manual/bitbake-user-manual-intro.xml +3 -0
+
+            <para>
+                In the most general case, you could name the append file something

as
+ simple as <filename>busybox_%.bbappend</filename> to be
entirely

doc/bitbake-user-manual/bitbake-user-manual-intro.xml +5 -2
+                version independent.
+            </para>
        </section>
    </section>
@@ -359,7 +368,7 @@
        <title>Obtaining BitBake</title>
 
        <para>
-            You can obtain BitBake several different ways:
+            You can obtain BitBake in one of several different ways:
            <itemizedlist>
                <listitem><para><emphasis>Cloning BitBake:</emphasis>
                    Using Git to clone the BitBake source code repository @@ -432,7
+441,7 @@
                    has been thoroughly tested for compatibility with the other
                    components.
                    For information on how to check out a particular BitBake-based
-                    build system, the build system's supporting documentation.
+                    build system, consult that build system's supporting

documentation.

                    </para></listitem>
            </itemizedlist>
        </para>

--

===========================================================
=============
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

===========================================================
=============
--
_______________________________________________
bitbake-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/bitbake-devel