Developing lightweight computation at the DSG edge

Commit 6f8b8d02 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Add working refresh option to make qMp release function


Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent 05429a5c
......@@ -459,8 +459,15 @@ make_qmp_release() {
# Update feeds if refresh_release is on
[ -n "$refresh_release" ] && update_feeds
# Remove downloaded IB and SDK files, if using trunk
[ -n "$refresh_release" ] && [ "$version" == "trunk" ] && rm -rf tmp/openwrt-imagebuilder-*.tar.xz openwrt-sdk-*.tar.xz
# Remove decompressed IB and SDK directories, if using trunk
[ -n "$refresh_release" ] && [ "$version" == "trunk" ] && rm -rf $release/*/sdk $release/*/ib
# Run snippets
./snippets/regdbus.sh
./snippets/mikrotik-ath10k-ct.sh
# Build the SDK and the packages locally for each architecture
force_local=1
......@@ -537,7 +544,7 @@ make_qmp_release() {
[ -z "$1" ] && usage
OPTS=$(getopt -o hd:fb:c:d:i:j:rb: -l targets,build-all,download-all,profiles:,flavors,profile:,flavor:,\
update-feeds,no-update,no-link-ib,only-sdk,only-ib,remote,ib,sdk,sdk-file:,ib-file:,help,force,clean,\
communities,update-communities,community:,cook-all,package:,extra-pkg:,force-local -n $0 -- "$@")
communities,update-communities,community:,cook-all,package:,extra-pkg:,refresh,force-local -n $0 -- "$@")
eval set -- "$OPTS"
while true; do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment