blob: 02764382d5eea4bbd8bd9197d245111a6f7529e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
set -e
set -x
VERSION=$1
if [ -z ${VERSION} ]; then
echo "Usage: $0 <debian-installer staging build number>"
echo "See http://builds.96boards.org/snapshots/reference-platform/components/debian-installer-staging/"
exit 1
fi
DOWNLOAD_PATH=$HOME/debian-staging/${VERSION}
mkdir -p ${DOWNLOAD_PATH}
if [ ! -f ${DOWNLOAD_PATH}/initrd.gz ]; then
curl -f -L -o ${DOWNLOAD_PATH}/initrd.gz http://builds.96boards.org/snapshots/reference-platform/components/debian-installer-staging/${VERSION}/debian-installer/arm64/initrd.gz
fi
if [ ! -f ${DOWNLOAD_PATH}/linux ]; then
curl -f -L -o ${DOWNLOAD_PATH}/linux http://builds.96boards.org/snapshots/reference-platform/components/debian-installer-staging/${VERSION}/debian-installer/arm64/linux
fi
|