Skip to content

Commit

Permalink
packaging/tinyos-tools-stable: build against tinyos-release
Browse files Browse the repository at this point in the history
pull the release tar ball from tinyos-release rather than tinyos-main.
It's the release repository.  Yes the SHAs are the same.

Update documentation to better document where the release tarball comes
from and how the parts are named.
  • Loading branch information
cire831 committed Jul 28, 2014
1 parent 29997c2 commit 56ca853
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions packaging/tinyos-tools-stable/build.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
#!/bin/bash
#
# This version of tinyos-tools builds a package against the 2.1.2
# release tree.
# release tree. This is gh:tinyos/tinyos-release. As of 12/2/2012,
# the 2.1.2/2.1.2.0 release has the SHA a2d4e21. The tarball can
# be found at
#
# The tinyos-tools package will pick up various tool scripts and binaries
# https://github.com/tinyos/tinyos-release/archive/release_tinyos_2_1_2.tar.gz
#
# and files within this tarball are relative to the following path:
#
# tinyos-release-release_tinyos_2_1_2
#
# which is constructed from <repository-name>-<release-tag>.
#
# The tinyos-tools package normally picks up various tool scripts and binaries
# built from the tinyos source tree. This makes the tinyos-tools package
# dependent on the current state of the tree.
#
# We build against the released version of the tinyos tree to force the build
# to reflect the tools package at the time of the release.
#
# BUILD_ROOT is assumed to be the same directory as the build.sh file.
#
# set TOSROOT to the head of the tinyos source tree root.
Expand Down Expand Up @@ -34,8 +47,8 @@ BUILD_ROOT=$(pwd)
CODENAME=wheezy
TINYOSVERSION=2_1_2
SOURCEFILENAME=release_tinyos_${TINYOSVERSION}.tar.gz
TARBALLDIR=tinyos-main-release_tinyos_${TINYOSVERSION}
SOURCEURL=https://github.com/tinyos/tinyos-main/archive/${SOURCEFILENAME}
TARBALLDIR=tinyos-release-release_tinyos_${TINYOSVERSION}
SOURCEURL=https://github.com/tinyos/tinyos-release/archive/${SOURCEFILENAME}

SOURCENAME=tinyos-tools
SOURCEVERSION=1.4.2
Expand Down

0 comments on commit 56ca853

Please sign in to comment.