[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1019/8267] dev-manual: Updated the method to set SimpleHTTPServer for testing
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 1019/8267] dev-manual: Updated the method to set SimpleHTTPServer for testing
- Date: Sat, 16 Dec 2017 21:14:27 +0000 (UTC)
commit 26d2f28286fb43d4412e5bb4a92be17166bf11e4
Author: Scott Rifenbark <srifenbark gmail com>
Date: Tue Jun 14 10:30:38 2016 -0700
dev-manual: Updated the method to set SimpleHTTPServer for testing
Fixes [YOCTO #1882]
Re-did the steps to set this server up.
(From yocto-docs rev: 45e073a60ef7b1d540439b621266a9019a3d2947)
Signed-off-by: Scott Rifenbark <srifenbark gmail com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
.../dev-manual/dev-manual-common-tasks.xml | 39 ++++++--------------
1 files changed, 12 insertions(+), 27 deletions(-)
---
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml
b/documentation/dev-manual/dev-manual-common-tasks.xml
index b7b623a..c67468f 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -7655,33 +7655,18 @@
</para>
<para>
- Use the following steps to set up the SimpleHTTPServer
- machine.
- These steps assume the build machine and the server are
- same machine:
- <orderedlist>
- <listitem><para><emphasis>Create a Directory that
- Contains the Packages to Host:</emphasis>
- Be sure you have root privileges and place the
- directory inside <filename>var/www/</filename>
- (e.g. <filename>/var/www/my_repo/</filename>).
- To ensure the directory contains the packages you
- want to serve, you need to create a symlink from
- the package feed area to the directory that hosts
- the packages you want to provide:
- <literallayout class='monospaced'>
- my_repo # ln -s ~{TMPDIR}/deploy/<replaceable>packageformat</replaceable> ./
- </literallayout>
- </para></listitem>
- <listitem><para><emphasis>Start the Server:</emphasis>
- You can start the server by running the following
- commands from the recently created directory:
- <literallayout class='monospaced'>
- $ cd /var/www/my_repo
- $ python –m SimpleHTTPServer
- </literallayout>
- </para></listitem>
- </orderedlist>
+ From within the build directory where you have built an
+ image based on your packaging choice (i.e. the
+ <ulink
url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_CLASSES'><filename>PACKAGE_CLASSES</filename></ulink>
+ setting), simply start the server.
+ The following example assumes a build directory of
+ <filename>~/poky/build/tmp/deploy/rpm</filename> and a
+ <filename>PACKAGE_CLASSES</filename> setting of
+ "package_rpm":
+ <literallayout class='monospaced'>
+ $ cd ~/poky/build/tmp/deploy/rpm
+ $ python -m SimpleHTTPServer
+ </literallayout>
</para>
</section>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]