blob: b96aff0df56d93c2b6c76bb3524450b3083a945f [file] [log] [blame]
#!/usr/bin/env bash
# Copyright 2018 The Fuchsia Authors
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT
BUILD_DIR="$1"
shift
if [ ! -d "${BUILD_DIR}" ]; then
echo Build directory ${BUILD_DIR} not found
echo "Usage: netboot-zircon <path to build directory>"
exit -1
fi
${BUILD_DIR}/tools/bootserver ${BUILD_DIR}/arm64.zbi "$@"