Return-Path: X-Original-To: apmail-aurora-commits-archive@minotaur.apache.org Delivered-To: apmail-aurora-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC89018A76 for ; Fri, 18 Dec 2015 16:52:40 +0000 (UTC) Received: (qmail 6755 invoked by uid 500); 18 Dec 2015 16:52:40 -0000 Delivered-To: apmail-aurora-commits-archive@aurora.apache.org Received: (qmail 6717 invoked by uid 500); 18 Dec 2015 16:52:40 -0000 Mailing-List: contact commits-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list commits@aurora.apache.org Received: (qmail 6708 invoked by uid 99); 18 Dec 2015 16:52:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2015 16:52:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5624DE0061; Fri, 18 Dec 2015 16:52:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: wfarner@apache.org To: commits@aurora.apache.org Message-Id: <2e1aad8683d643efaeadb9dfcf1f1edd@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: aurora-packaging git commit: Show how to build from source in README.md Date: Fri, 18 Dec 2015 16:52:40 +0000 (UTC) Repository: aurora-packaging Updated Branches: refs/heads/0.10.x 19992f280 -> cf6dac762 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/cf6dac76 Tree: http://git-wip-us.apache.org/repos/asf/aurora-packaging/tree/cf6dac76 Diff: http://git-wip-us.apache.org/repos/asf/aurora-packaging/diff/cf6dac76 Branch: refs/heads/0.10.x Commit: cf6dac762220e373399e9aa9306f8949739ec41f Parents: 19992f2 Author: Bill Farner Authored: Fri Dec 18 08:52:36 2015 -0800 Committer: Bill Farner Committed: Fri Dec 18 08:52:36 2015 -0800 ---------------------------------------------------------------------- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aurora-packaging/blob/cf6dac76/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.