diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-10-03 13:04:23 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-04 14:08:19 +0100 |
| commit | 94cb42e3fad5b711e563ccffbd799c1384456d87 (patch) | |
| tree | 5e5ca5b76b1f6cd9e31160af3addb07100e2d9b1 | |
| parent | 5757a25a71088d5a4b2ba0ed8b83d2f2266f2a11 (diff) | |
| download | poky-94cb42e3fad5b711e563ccffbd799c1384456d87.tar.gz | |
documentation: poky-ref-manual, yocto-project-qs - Updates to packages
A few edits to the respective sections that talk about required
packages. Some wording changes for headless and graphics
supported systems. Also, re-inserted the note about older
CentOS systems.
Reported-by Paul Eggleton <paul.eggleton>
(From yocto-docs rev: 112370758cf41104ff04c4996d4a432e6bd54be1)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | documentation/poky-ref-manual/introduction.xml | 39 | ||||
| -rw-r--r-- | documentation/yocto-project-qs/yocto-project-qs.xml | 12 |
2 files changed, 36 insertions, 15 deletions
diff --git a/documentation/poky-ref-manual/introduction.xml b/documentation/poky-ref-manual/introduction.xml index 5f3fa962b9..1f3f4ec442 100644 --- a/documentation/poky-ref-manual/introduction.xml +++ b/documentation/poky-ref-manual/introduction.xml | |||
| @@ -124,14 +124,13 @@ | |||
| 124 | given a supported Ubuntu Linux distribution: | 124 | given a supported Ubuntu Linux distribution: |
| 125 | <itemizedlist> | 125 | <itemizedlist> |
| 126 | <listitem><para><emphasis>Essentials:</emphasis> | 126 | <listitem><para><emphasis>Essentials:</emphasis> |
| 127 | Packages needed to build an image for a headless | 127 | Packages needed to build an image on a headless |
| 128 | system: | 128 | system: |
| 129 | <literallayout class='monospaced'> | 129 | <literallayout class='monospaced'> |
| 130 | $ sudo apt-get install &UBUNTU_HOST_PACKAGES_ESSENTIAL; | 130 | $ sudo apt-get install &UBUNTU_HOST_PACKAGES_ESSENTIAL; |
| 131 | </literallayout></para></listitem> | 131 | </literallayout></para></listitem> |
| 132 | <listitem><para><emphasis>Graphical Extras:</emphasis> | 132 | <listitem><para><emphasis>Graphical Extras:</emphasis> |
| 133 | Packages needed if you are going to have graphics | 133 | Packages recommended if the host system has graphics support: |
| 134 | support when you run the image: | ||
| 135 | <literallayout class='monospaced'> | 134 | <literallayout class='monospaced'> |
| 136 | $ sudo apt-get install libsdl1.2-dev xterm | 135 | $ sudo apt-get install libsdl1.2-dev xterm |
| 137 | </literallayout></para></listitem> | 136 | </literallayout></para></listitem> |
| @@ -143,7 +142,10 @@ | |||
| 143 | </literallayout></para></listitem> | 142 | </literallayout></para></listitem> |
| 144 | <listitem><para><emphasis>Application Development Extras:</emphasis> | 143 | <listitem><para><emphasis>Application Development Extras:</emphasis> |
| 145 | Packages needed if you are going to be developing | 144 | Packages needed if you are going to be developing |
| 146 | user-space applications: | 145 | user-space applications. |
| 146 | In particular, you are using the | ||
| 147 | <ulink url='&YOCTO_DOCS_ADT_URL;#adt-intro-section'>Application Development Toolkit (ADT)</ulink> | ||
| 148 | or the <ulink url='&YOCTO_DOCS_ADT_URL;#using-the-adt-installer'>ADT Installer</ulink>: | ||
| 147 | <literallayout class='monospaced'> | 149 | <literallayout class='monospaced'> |
| 148 | $ sudo apt-get install autoconf automake libtool libglib2.0-dev | 150 | $ sudo apt-get install autoconf automake libtool libglib2.0-dev |
| 149 | </literallayout></para></listitem> | 151 | </literallayout></para></listitem> |
| @@ -165,8 +167,7 @@ | |||
| 165 | $ sudo yum install &FEDORA_HOST_PACKAGES_ESSENTIAL; | 167 | $ sudo yum install &FEDORA_HOST_PACKAGES_ESSENTIAL; |
| 166 | </literallayout></para></listitem> | 168 | </literallayout></para></listitem> |
| 167 | <listitem><para><emphasis>Graphical Extras:</emphasis> | 169 | <listitem><para><emphasis>Graphical Extras:</emphasis> |
| 168 | Packages needed if you are going to have graphics | 170 | Packages recommended if the host system has graphics support: |
| 169 | support when you run the image: | ||
| 170 | <literallayout class='monospaced'> | 171 | <literallayout class='monospaced'> |
| 171 | $ sudo yum install SDL-devel xterm | 172 | $ sudo yum install SDL-devel xterm |
| 172 | </literallayout></para></listitem> | 173 | </literallayout></para></listitem> |
| @@ -179,7 +180,10 @@ | |||
| 179 | </literallayout></para></listitem> | 180 | </literallayout></para></listitem> |
| 180 | <listitem><para><emphasis>Application Development Extras:</emphasis> | 181 | <listitem><para><emphasis>Application Development Extras:</emphasis> |
| 181 | Packages needed if you are going to be developing | 182 | Packages needed if you are going to be developing |
| 182 | user-space applications: | 183 | user-space applications. |
| 184 | In particular, you are using the | ||
| 185 | <ulink url='&YOCTO_DOCS_ADT_URL;#adt-intro-section'>Application Development Toolkit (ADT)</ulink> | ||
| 186 | or the <ulink url='&YOCTO_DOCS_ADT_URL;#using-the-adt-installer'>ADT Installer</ulink>: | ||
| 183 | <literallayout class='monospaced'> | 187 | <literallayout class='monospaced'> |
| 184 | $ sudo yum install autoconf automake libtool glib2-devel | 188 | $ sudo yum install autoconf automake libtool glib2-devel |
| 185 | </literallayout></para></listitem> | 189 | </literallayout></para></listitem> |
| @@ -201,8 +205,7 @@ | |||
| 201 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_ESSENTIAL; | 205 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_ESSENTIAL; |
| 202 | </literallayout></para></listitem> | 206 | </literallayout></para></listitem> |
| 203 | <listitem><para><emphasis>Graphical Extras:</emphasis> | 207 | <listitem><para><emphasis>Graphical Extras:</emphasis> |
| 204 | Packages needed if you are going to have graphics | 208 | Packages recommended if the host system has graphics support: |
| 205 | support when you run the image: | ||
| 206 | <literallayout class='monospaced'> | 209 | <literallayout class='monospaced'> |
| 207 | $ sudo zypper install libSDL-devel xterm | 210 | $ sudo zypper install libSDL-devel xterm |
| 208 | </literallayout></para></listitem> | 211 | </literallayout></para></listitem> |
| @@ -214,7 +217,10 @@ | |||
| 214 | </literallayout></para></listitem> | 217 | </literallayout></para></listitem> |
| 215 | <listitem><para><emphasis>Application Development Extras:</emphasis> | 218 | <listitem><para><emphasis>Application Development Extras:</emphasis> |
| 216 | Packages needed if you are going to be developing | 219 | Packages needed if you are going to be developing |
| 217 | user-space applications: | 220 | user-space applications. |
| 221 | In particular, you are using the | ||
| 222 | <ulink url='&YOCTO_DOCS_ADT_URL;#adt-intro-section'>Application Development Toolkit (ADT)</ulink> | ||
| 223 | or the <ulink url='&YOCTO_DOCS_ADT_URL;#using-the-adt-installer'>ADT Installer</ulink>: | ||
| 218 | <literallayout class='monospaced'> | 224 | <literallayout class='monospaced'> |
| 219 | $ sudo zypper install autoconf automake libtool glib2-devel | 225 | $ sudo zypper install autoconf automake libtool glib2-devel |
| 220 | </literallayout></para></listitem> | 226 | </literallayout></para></listitem> |
| @@ -236,8 +242,7 @@ | |||
| 236 | $ sudo yum -y install &CENTOS_HOST_PACKAGES_ESSENTIAL; | 242 | $ sudo yum -y install &CENTOS_HOST_PACKAGES_ESSENTIAL; |
| 237 | </literallayout></para></listitem> | 243 | </literallayout></para></listitem> |
| 238 | <listitem><para><emphasis>Graphical Extras:</emphasis> | 244 | <listitem><para><emphasis>Graphical Extras:</emphasis> |
| 239 | Packages needed if you are going to have graphics | 245 | Packages recommended if the host system has graphics support: |
| 240 | support when you run the image: | ||
| 241 | <literallayout class='monospaced'> | 246 | <literallayout class='monospaced'> |
| 242 | $ sudo yum -y install SDL-devel xterm | 247 | $ sudo yum -y install SDL-devel xterm |
| 243 | </literallayout></para></listitem> | 248 | </literallayout></para></listitem> |
| @@ -250,11 +255,19 @@ | |||
| 250 | </literallayout></para></listitem> | 255 | </literallayout></para></listitem> |
| 251 | <listitem><para><emphasis>Application Development Extras:</emphasis> | 256 | <listitem><para><emphasis>Application Development Extras:</emphasis> |
| 252 | Packages needed if you are going to be developing | 257 | Packages needed if you are going to be developing |
| 253 | user-space applications: | 258 | user-space applications. |
| 259 | In particular, you are using the | ||
| 260 | <ulink url='&YOCTO_DOCS_ADT_URL;#adt-intro-section'>Application Development Toolkit (ADT)</ulink> | ||
| 261 | or the <ulink url='&YOCTO_DOCS_ADT_URL;#using-the-adt-installer'>ADT Installer</ulink>: | ||
| 254 | <literallayout class='monospaced'> | 262 | <literallayout class='monospaced'> |
| 255 | $ sudo yum -y install autoconf automake libtool glib2-devel | 263 | $ sudo yum -y install autoconf automake libtool glib2-devel |
| 256 | </literallayout></para></listitem> | 264 | </literallayout></para></listitem> |
| 257 | </itemizedlist> | 265 | </itemizedlist> |
| 266 | <note>Depending on the CentOS version you are using, other requirements | ||
| 267 | and dependencies might exist. | ||
| 268 | For details, you should look at the CentOS sections on the | ||
| 269 | <ulink url='https://wiki.yoctoproject.org/wiki/Poky/GettingStarted/Dependencies'>Poky/GettingStarted/Dependencies</ulink> | ||
| 270 | wiki page.</note> | ||
| 258 | </para> | 271 | </para> |
| 259 | </section> | 272 | </section> |
| 260 | </section> | 273 | </section> |
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index a025895843..ca6f65bf00 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml | |||
| @@ -216,12 +216,15 @@ | |||
| 216 | For example, if you want to build an image that can run | 216 | For example, if you want to build an image that can run |
| 217 | on QEMU in graphical mode (a minimal, basic build | 217 | on QEMU in graphical mode (a minimal, basic build |
| 218 | requirement), then the number of packages is different than if you want to | 218 | requirement), then the number of packages is different than if you want to |
| 219 | build an image for a headless system or build out the Yocto Project | 219 | build an image on a headless system or build out the Yocto Project |
| 220 | documentation set. | 220 | documentation set. |
| 221 | Collectively, the number of required packages is large | 221 | Collectively, the number of required packages is large |
| 222 | if you want to be able to cover all cases. | 222 | if you want to be able to cover all cases. |
| 223 | <note>In general, you need to have root access and then install the | 223 | <note>In general, you need to have root access and then install the |
| 224 | required packages.</note> | 224 | required packages. |
| 225 | Thus, the commands in the following section may or may not work | ||
| 226 | depending on whether or not your Linux distribution has | ||
| 227 | <filename>sudo</filename> installed.</note> | ||
| 225 | </para> | 228 | </para> |
| 226 | 229 | ||
| 227 | <para> | 230 | <para> |
| @@ -281,6 +284,11 @@ | |||
| 281 | <literallayout class='monospaced'> | 284 | <literallayout class='monospaced'> |
| 282 | $ sudo yum -y install &CENTOS_HOST_PACKAGES_ESSENTIAL; SDL-devel xterm | 285 | $ sudo yum -y install &CENTOS_HOST_PACKAGES_ESSENTIAL; SDL-devel xterm |
| 283 | </literallayout> | 286 | </literallayout> |
| 287 | <note>Depending on the CentOS version you are using, other requirements | ||
| 288 | and dependencies might exist. | ||
| 289 | For details, you should look at the CentOS sections on the | ||
| 290 | <ulink url='https://wiki.yoctoproject.org/wiki/Poky/GettingStarted/Dependencies'>Poky/GettingStarted/Dependencies</ulink> | ||
| 291 | wiki page.</note> | ||
| 284 | </para> | 292 | </para> |
| 285 | </section> | 293 | </section> |
| 286 | </section> | 294 | </section> |
