1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 12:49:46 +00:00

ref-manual, dev-manual: Review comments applied to package repository

Changes are the review comments from Paul Eggleton regarding
setting up the optional package repository on the host that
can be used by Smart.  These changes reflect the fact that
the task is not package-type dependent or host web server
dependent.

(From yocto-docs rev: 779989878bcc9501ddc4570519d93325442a8493)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2013-04-03 08:04:31 -07:00
committed by Richard Purdie
parent c683dfb38f
commit 9a98f403bd
2 changed files with 100 additions and 108 deletions
@@ -3126,7 +3126,8 @@
<title>Setting Up Runtime Package Management</title> <title>Setting Up Runtime Package Management</title>
<para> <para>
It is possible to set up a repository that is a host-based For RPM, IPK, and DEB package formats, it is possible to set
up a repository that is a host-based
package feed from which you can install packages on the package feed from which you can install packages on the
target system during runtime. target system during runtime.
Doing so is optional and depends on the following: Doing so is optional and depends on the following:
@@ -3136,13 +3137,13 @@
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
When you build your image, you select to use the When you build your image, you select to use the
RPM package manager by setting the appropriate package manager by setting the
<ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_CLASSES'><filename>PACKAGE_CLASSES</filename></ulink> <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_CLASSES'><filename>PACKAGE_CLASSES</filename></ulink>
variable. variable.
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
You have Apache 2 installed and configured on the You have a supported web server, such as Apache 2,
development host. installed and configured on the development host.
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
You have <filename>createrepo</filename> installed on You have <filename>createrepo</filename> installed on
@@ -3152,7 +3153,9 @@
</para> </para>
<para> <para>
Here are the steps to set up this optional package feed: Following are the steps to set up the optional repository.
This examples assumes you are using RPM and the Apache 2
server:
<orderedlist> <orderedlist>
<listitem><para> <listitem><para>
Add the directory to your Apache configuration, which Add the directory to your Apache configuration, which
@@ -3179,29 +3182,17 @@
<para> <para>
If your development system is using Fedora or If your development system is using Fedora or
CentOS, use the following: CentOS, use the following:
</para> <literallayout class='monospaced'>
<note>
<emphasis>Note to Self:</emphasis> Paul says that
some of the distros (Fedora and CentOS in
particular) might have different commands based
on the distro version.
We need links for the reader to follow for the
specifics.
We don't want to have to document all this
distro-specific stuff.
</note>
<para>
<literallayout class='monospaced'>
service httpd reload service httpd reload
</literallayout> </literallayout>
For Ubuntu, use the following: For Ubuntu, use the following:
<literallayout class='monospaced'> <literallayout class='monospaced'>
/etc/init.d/apache2 reload /etc/init.d/apache2 reload
</literallayout> </literallayout>
For OpenSUSE, use the following: For OpenSUSE, use the following:
<literallayout class='monospaced'> <literallayout class='monospaced'>
/etc/init.d/apache2 reload /etc/init.d/apache2 reload
</literallayout> </literallayout>
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
Change your working directory to Change your working directory to
+10 -9
View File
@@ -327,6 +327,16 @@
The first class listed in this variable is used for image generation. The first class listed in this variable is used for image generation.
</para> </para>
<para>
If you take the optional step to set up a repository (package feed)
on the development host that can be used by Smart, you can
install packages from the feed while you are running the image
on the target (i.e. runtime installation of packages).
For information on how to set up this repository, see the
"<ulink url='&YOCTO_DOCS_DEV_URL;#setting-up-runtime-package-management'>Setting Up Runtime Package Management</ulink>"
in the Yocto Project Development Manual.
</para>
<para> <para>
The package class you choose can affect build-time performance and has space The package class you choose can affect build-time performance and has space
ramifications. ramifications.
@@ -359,15 +369,6 @@
Database and the amount of metadata when using RPM can affect Database and the amount of metadata when using RPM can affect
your ability to perform on-device upgrades. your ability to perform on-device upgrades.
</para></listitem> </para></listitem>
<listitem><para>
If you take the steps to set up a repository (package feed)
on the development host that can be used by Smart, you can
install packages from the feed while you are running the image
on the target (i.e. runtime installation of packages).
For information on how to set up this repository, see the
"<ulink url='&YOCTO_DOCS_DEV_URL;#setting-up-runtime-package-management'>Setting Up Runtime Package Management</ulink>"
in the Yocto Project Development Manual.
</para></listitem>
</itemizedlist> </itemizedlist>
</para> </para>