mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2026-01-09 00:31:47 +00:00
Install a new FIT image (for developers).
This commit is contained in:
13
packages/base/all/vendor-config-onl/src/bin/onlfit
Executable file
13
packages/base/all/vendor-config-onl/src/bin/onlfit
Executable 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
|
||||
Reference in New Issue
Block a user