Skip to contentSkip to conversation

- Added new question and note for Python 2.6 requirement.

PATCH New [email protected] 1 participant 3 messages Feb 22, 2011

lore
Share & tools
lore
#0 lore raw

cover - Added new question and note for Python 2.6 requirement.

From: Scott Rifenbark <[email protected]>

Part of the fix for Bug 628 is to add a note that bitbake requires python 2.6. I added this note in the Yocto Quick Start Guide before the example bitbake command
that builds an image.

The other part of the fix for #628 required adding a new question to the FAQ appendix in the Poky Reference Manual for use of Poky when you do not have Python 2.6.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: srifenbark/docs
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=srifenbark/docs

Thanks,
<[email protected]>
---

Scott Rifenbark (2):
documentation/yocto-project-qs/yocto-project-qs.xml: [BUGID# 628] -
Added note about Python 2.6 bitbake requirement
documentation/poky-ref-manual/faq.xml: [BUGID# 628] - Added new
question for Python 2.6 requirement.

 documentation/poky-ref-manual/faq.xml              |   41 ++++++++++++++++++++
 .../yocto-project-qs/yocto-project-qs.xml          |    6 +++
 2 files changed, 47 insertions(+), 0 deletions(-)
#1 lore raw

PATCH 1/2 documentation/yocto-project-qs/yocto-project-qs.xml: [BUGID# 628] - Added note about Python 2.6 bitbake requirement

From: Scott Rifenbark <[email protected]>

Part of the fix for Bug 628 is to add a note that bitbake requires python 2.6. I added this note before the example bitbake command that builds an image. I also added a linked reference to the Poky Reference Manual and mentioned the FAQ appendix. There will be more information about the python requirement in the FAQ.

---
 .../yocto-project-qs/yocto-project-qs.xml          |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
documentation/yocto-project-qs/yocto-project-qs.xml +6 -0
index 56dafe5..452282f 100644
@@ -278,6 +278,12 @@
      $ bitbake poky-image-sato
                  </literallayout>
              </para></note>
+             <note><para>
+                 BitBake requires Python 2.6.  For more information on this requirement, 
+                 see the FAQ appendix in the 
+                 <ulink url='http://www.yoctoproject.org/docs/poky-ref-manual/poky-ref-manual.html'>
+                 Poky Reference Manual</ulink>.
+             </para></note>
              The final command runs the image:
              <literallayout class='monospaced'>
      $ poky-qemu qemux86
Signature · 1 line
1.7.1
#2 lore raw

PATCH 2/2 documentation/poky-ref-manual/faq.xml: [BUGID# 628] - Added new question for Python 2.6 requirement.

In reply to [email protected]

From: Scott Rifenbark <[email protected]>

As part of the fix for #628 I added a new question to the FAQ for use of Poky when you do not have Python 2.6.

---
 documentation/poky-ref-manual/faq.xml |   41 +++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)
documentation/poky-ref-manual/faq.xml +41 -0
index b209fff..7a891b0 100644
@@ -20,6 +20,47 @@
             </para>
         </answer>
     </qandaentry>
+
+
+
+
+
+    <qandaentry>
+        <question>
+            <para>
+                I only have Python 2.4 or 2.5 but BitBake requires Python 2.6.
+                Can I still use Poky?
+            </para>
+        </question>
+        <answer>
+            <para>
+                You can use a stand-alone tarball to provide Python 2.6.
+                You can find pre-built 32 and 64-bit versions of Python 2.6 at the following locations:
+                <itemizedlist>
+                    <listitem><para><ulink url='http://autobuilder.yoctoproject.org/downloads/miscsupport/python-nativesdk-standalone-i586.tar.bz2'></ulink></para></listitem>
+                    <listitem><para><ulink url='http://autobuilder.yoctoproject.org/downloads/miscsupport/python-nativesdk-standalone-x86_64.tar.bz2'></ulink></para></listitem>
+                </itemizedlist>
+            </para>
+            <para>
+                These tarballs are self-contained with all required libraries and should work 
+                on most Linux systems.  
+                To use the tarballs extract them into the root 
+                directory and run the appropriate command:
+                <literallayout class='monospaced'>
+     $ export PATH=/opt/poky/sysroots/i586-pokysdk-linux/usr/bin/:$PATH
+     $ export PATH=/opt/poky/sysroots/x86_64-pokysdk-linux/usr/bin/:$PATH
+                </literallayout>
+            </para>
+            <para>
+                Once you run the command, BitBake uses Python 2.6.
+            </para>
+        </answer>
+    </qandaentry>
+
+
+
+
+
     <qandaentry>
         <question>
             <para>
Signature · 1 line
1.7.1