diff options
author | James Tunnicliffe <james.tunnicliffe@linaro.org> | 2012-07-23 16:28:30 +0100 |
---|---|---|
committer | James Tunnicliffe <james.tunnicliffe@linaro.org> | 2012-07-23 16:28:30 +0100 |
commit | 2945867f8de7bf35aab632b1dd82e8851a54a7a3 (patch) | |
tree | c4a5c5ed3fb552cc4f2f3f403c103f6fe823268d /linaro-hwpack-install | |
parent | 1693cc57d8f182e952b5c00a41446c53764c5e14 (diff) |
Updated media create tests to cope with changes from last checkin.
Diffstat (limited to 'linaro-hwpack-install')
-rwxr-xr-x | linaro-hwpack-install | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/linaro-hwpack-install b/linaro-hwpack-install index 494c130..6e885dc 100755 --- a/linaro-hwpack-install +++ b/linaro-hwpack-install @@ -53,12 +53,15 @@ die() { exit 1 } -usage_msg="Usage: $(basename $0) [--install-latest] [--force-yes] HWPACK_TARBALL" +usage_msg="Usage: $(basename $0) [--install-latest] [--force-yes] --hwpack-version <version> --hwpack-arch <architecture> --hwpack-name <name> HWPACK_TARBALL" if [ $# -eq 0 ]; then die $usage_msg fi HWPACK_TARBALL_FOUND="no" +HWPACK_VERSION="" +HWPACK_ARCH="" +HWPACK_NAME="" while [ $# -gt 0 ]; do case "$1" in @@ -91,6 +94,9 @@ while [ $# -gt 0 ]; do done [ "$HWPACK_TARBALL_FOUND" = "no" ] && die $usage_msg +[ "$HWPACK_VERSION" = "" ] && die $usage_msg +[ "$HWPACK_ARCH" = "" ] && die $usage_msg +[ "$HWPACK_NAME" = "" ] && die $usage_msg # Try to acquire fd #9 (i.e. /var/lock/hwpack) for 2 seconds. # Using 9 as the file descriptor because of https://launchpad.net/bugs/249620 |