Developing lightweight computation at the DSG edge

Commit 090ed946 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Copy supported devices images to output dir and generate IMAGES device

parent e60f3ce7
38c78f61d17d1a72772327e5211ccf7e Alfa-Network_N5
60e451f13cc6525beb9e74cb20fe1a9b Comfast_CF-WR800N
ad03deb0b12ca233350e0686c531735a D-Link_DIR-810L
e54c82f7da6563637611b0a71c249305 Microduino_MicroWRT
14ceaea73ef6bda4e9598787528dd285 Nexx_WT1520-4M
ba9067da71a545413e7c8a5cbbd0a82d Nexx_WT3020-4M
d11c4c408a408f6a14c80b92d24af992 PC-Engines_Alix
40ab996cfac0fcaa4d9b36a7bdfe3312 TP-Link_TL-WA7510N
ffca315e803385c839a7988d6e97c237 TP-Link_TL-WDR3500-v1
66f93ecc3ea7089caa4bbb210156c6e5 TP-Link_TL-WDR4300-v1
ad0152884b1dfa8e2511387907c86f95 TP-Link_TL-WDR4900-v1
5c220ec807601507cf28c785d944dcd2 TP-Link_TL-WR2543ND-v1
9931ea576c02045a0c37f484f59bee3b TP-Link_TL-WR2543ND-v1
7883c9a51af411871603318f94cb45ee TP-Link_TL-WR703N-v1
ac5271ca9716cb330307a72abd650d26 TP-Link_TL-WR841-v8
db64554ac7d1adfc7c97b6daa5fdb455 TP-Link_TL-WR841-v8
69bbb19ef211fa225e63fecb728719b9 TP-Link_TL-WR841-v9
8025dda5d0fbb59ee9b6798c55f6a195 TP-Link_TL-WR841-v10
a8462f8c6ed2a48489c252057ef68ff2 TP-Link_TL-WR842N-v1
816fa2a5b36689e2eb0af6e26463d2d5 Ubiquiti_Bullet-M
e6c7ac446d03ba245cf53e54c6e8acd5 Ubiquiti_NanoStation-Loco-M5-XW
667bd4813f9863134885e2f37230481d Ubiquiti_NanoStation-M5
9675810283297fde5094ddcb3e3d4d8d Ubiquiti_NanoStation-M5
445ede5b01c50156dfced1b2331e309b Ubiquiti_NanoStation-M5-XW
7b1bc615d61f2290cb87a6912e8c5a1c Ubiquiti_NanoStation-M5-XW
3a4f6d591ad548d05af6dc6568d3f57b Ubiquiti_Rocket-M
b3be538d3e4835806d9c9666bfb546ff Ubiquiti_Rocket-M
25ae071a1c2a212a28210c5dd247e27e Ubiquiti_Rocket-M5-XW
13192c12425e885285849624d1496f6c Ubiquiti_RouterStation
02f054340bd0eb44c7a9c5a2bbdb49f3 Ubiquiti_RouterStation-Pro
f0a52b70a93e3da7a9647cdff07f4324 Ubiquiti_RouterStation-Pro
5d012d7187886ace1af08e013f26f0a9 Ubiquiti_UniFi-AP
2e4e2aa1c1a05783e6ac51c9aa85e04a Ubiquiti_UniFi-AP-PRO
be6abc0d21b89242227fc8a51bd8ea7f Vonger_VoCore
47a05ab1222f714c08e5f08ed30ae554 Wavlink_WL-WN575A3
79fc01805a2fd264573152b654675ce4 WRTnode_WRTnode
393058c61658f839a8c53a05a6ff35e0 Xiaomi_MiWiFi-Mini
8980468f4379c67a9b1ef9a86b263ea5 ZBT_APE522II
......@@ -470,6 +470,9 @@ make_qmp_release() {
[ -f qmp.profiles.conf ] && . qmp.profiles.conf
mkdir -p $bin_output
cp DEVICES $bin_output/
for i in $SUPPORTED_PROFILES; do
TPROFILE="$i" && . qmp.profiles.conf
......@@ -481,23 +484,39 @@ make_qmp_release() {
[ "$FACTORY" ] && {
echo "$NAME - FACTORY"
ls "$output_dir/$(echo $FACTORY | sed 's/_/-/g')"
fw_file="$output_dir/$(echo $FACTORY | sed 's/_/-/g')"
output_file=$bin_output"/qMp_"$VERSION_NUMBER"-"$VERSION_NICK"_"$NAME"_"$(date +%Y%m%d-%H%M)"_factory.bin"
echo cp "$fw_file" "$output_file"
cp "$fw_file" "$output_file"
}
[ "$SYSUPGRADE" ] && {
echo "$NAME - SYSUPGRADE"
ls "$output_dir/$(echo $SYSUPGRADE | sed 's/_/-/g')"
fw_file="$output_dir/$(echo $SYSUPGRADE | sed 's/_/-/g')"
output_file=$bin_output"/qMp_"$VERSION_NUMBER"-"$VERSION_NICK"_"$NAME"_"$(date +%Y%m%d-%H%M)"_sysupgrade.bin"
echo cp "$fw_file" "$output_file"
cp "$fw_file" "$output_file"
}
[ "$SQUASHIMAGE" ] && {
echo "$NAME - SQUASHIMAGE"
ls "$output_dir/$(echo $SQUASHIMAGE | sed 's/_/-/g')"
fw_file="$output_dir/$(echo $SQUASHIMAGE | sed 's/_/-/g')"
output_file=$bin_output"/qMp_"$VERSION_NUMBER"-"$VERSION_NICK"_"$NAME"_"$(date +%Y%m%d-%H%M)"_combined-squashfs."$BINEXT
echo cp "$fw_file" "$output_file"
cp "$fw_file" "$output_file"
}
[ "$EXT4IMAGE" ] && {
echo "$NAME - EXT4IMAGE"
ls "$output_dir/$(echo $EXT4IMAGE | sed 's/_/-/g')"
fw_file="$output_dir/$(echo $EXT4IMAGE | sed 's/_/-/g')"
output_file=$bin_output"/qMp_"$VERSION_NUMBER"-"$VERSION_NICK"_"$NAME"_"$(date +%Y%m%d-%H%M)"_combined-ext4."$BINEXT
echo cp "$fw_file" "$output_file"
cp "$fw_file" "$output_file"
}
done
cd "$output_dir"
md5sum *.* >> IMAGES
cd ..
}
[ -z "$1" ] && usage
......
......@@ -46,6 +46,7 @@ EXT4IMAGE=""
PROFILE=Generic
SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
BINEXT=img
}
[ "$TPROFILE" == soekris45xx ] && {
......
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