Developing lightweight computation at the DSG edge

Commit cdcb6429 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Slightly improve the qMp release function


Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent f09a20cf
......@@ -63,7 +63,8 @@ usage() {
echo " --remote : instead of building local SDK packages. Use only remote repositories for cooking"
echo " --community=<name/prof> : specify which network community and profile device to use (if any)"
echo " --no-update : do not update package list when cooking (requires patch_ib_no_update.sh snippet)"
echo " -r : make a qMp release"
echo " -r : make a full qMp release"
echo " --refresh : refresh a qMp release in this directory"
echo ""
}
......@@ -451,6 +452,20 @@ join_packages() {
}
make_qmp_release() {
# Download the feeds (./cooker -f)
download_feeds
# Update feeds if refresh_release is on
[ -n "$refresh_release" ] && update_feeds
# Run snippets
./snippets/regdbus.sh
# Build the SDK and the packages locally for each architecture
force_local=1
build_all_sdk
DISTCL="openwrt"
DISTLEGACY="openwrt"
COMBINEDEXT4IMG="combined-ext4.img.gz"
......@@ -466,8 +481,6 @@ make_qmp_release() {
SQUASHSYSUPGRADE="squashfs-sysupgrade.bin"
SQUASHFSSDCARD="squashfs-sdcard.img.gz"
#build_all_sdk
[ -f qmp.profiles.conf ] && . qmp.profiles.conf
mkdir -p $bin_output
......@@ -665,6 +678,10 @@ while true; do
qmp_release=1
shift
;;
--refresh)
refresh_release=1
shift
;;
-h)
usage
break
......
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