Install a new FIT image (for developers).

This commit is contained in:
Jeffrey Townsend
2017-02-21 18:42:28 +00:00
parent eb0d476125
commit 133a2cc9b6

View File

@@ -0,0 +1,13 @@
#!/bin/sh
############################################################
if [ -z "$1" ]; then
echo "usage: $0 <itb url>"
exit 1
fi
PLATFORM=$(cat /etc/onl/platform)
dir=`mktemp -d`
(cd $dir && wget $1)
onlfs rw boot mv $dir/* /mnt/onl/boot/${PLATFORM}.itb
rmdir $dir