Repository: aurora-packaging
Updated Branches:
  refs/heads/master 19992f280 -> 33afacbf7


Show how to build from source in README.md


Project: http://git-wip-us.apache.org/repos/asf/aurora-packaging/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora-packaging/commit/33afacbf
Tree: http://git-wip-us.apache.org/repos/asf/aurora-packaging/tree/33afacbf
Diff: http://git-wip-us.apache.org/repos/asf/aurora-packaging/diff/33afacbf

Branch: refs/heads/master
Commit: 33afacbf75b7e1dbe950c8e8f10e33f7694f0ba9
Parents: 19992f2
Author: Bill Farner <[email protected]>
Authored: Fri Dec 18 08:52:36 2015 -0800
Committer: Bill Farner <[email protected]>
Committed: Fri Dec 18 08:53:00 2015 -0800

----------------------------------------------------------------------
 README.md | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora-packaging/blob/33afacbf/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 0dfb884..a31f66c 100644
--- a/README.md
+++ b/README.md
@@ -9,18 +9,19 @@ Binaries are built within Docker containers that provide the 
appropriate build
 environment for the target platform.  You will need to have a working Docker
 installation before proceeding.
 
-1. Fetch a source distribution, such as an
-   [official one](https://aurora.apache.org/downloads/).
+1. Fetch a source distribution, such as an [official 
one](https://aurora.apache.org/downloads/).
+   Alternatively, you can also build from an arbitrary git commit by instead 
preparing sources
+from the Aurora source repository:
+
+        git archive --prefix=apache-aurora-$(cat .auroraversion)/ -o 
snapshot.tar.gz HEAD
 
 2. Run the builder script, providing the distribution platform and the source
    distribution archive you downloaded in (1).  The example below will build
    Aurora 0.9.0 debs for Ubuntu Trusty.
 
-    ```
-    ./build-artifact.sh builder/deb/ubuntu-trusty \
-      ~/Downloads/apache-aurora-0.9.0.tar.gz \
-      0.9.0
-    ```
+        ./build-artifact.sh builder/deb/ubuntu-trusty \
+          ../apache-aurora-0.9.0.tar.gz \
+          0.9.0
 
 When this completes, debs will be placed in `dist/builder/deb/ubuntu-trusty/`.
 
@@ -31,4 +32,4 @@ There are only two requirements for a 'builder' to satisfy:
 - a `Dockerfile` to provide the repeatable build environment
 - a `build.sh` script that creates artifacts
 
-Please see the makeup of other builders for examples.
\ No newline at end of file
+Please see the makeup of other builders for examples.

Reply via email to